Measuring Deep Learning Performance - An Empirical Study of Performance Distributions Across Architectures and Tasks
Organizations: Department of Computer Science, Norwegian University of Science and Technology, Trondheim, Norway. · San Diego Supercomputer Center, University of California San Diego, La Jolla, CA, USA.
Abstract
Context: Non-determinism in deep learning algorithm design and implementation leads to performance variation, meaning model performance is not a single value, but rather a distribution. These model performance distributions are underexplored despite their impact on robustness. Objective: We investigate the robustness of deep learning performance to sources of non-determinism, specifically focusing on how performance distributions differ across various architectures and tasks. Method: We conducted 186 experiments on image classification and time series forecasting architectures. Each experiment was run 100 times with different random seeds to generate performance distributions, resulting in 18,600 runs. Robustness was quantified using metrics for spread, symmetry, and tail risk. Results: Performance distributions are frequently non-Gaussian, particularly in time series forecasting. Model size does not systematically affect robustness -- larger image classification models show fewer outliers but not lower spread, while smaller time series models show lower spread but more extreme underperformers. Training duration does not scale linearly; early stopping effectively balances performance and robustness. Mean performance does not predict robustness - time series forecasting shows moderate correlation while image classification shows none. Time series models produce nearly three times more underperforming outliers than image classification models, indicating substantially higher tail risk. Conclusions: Tail risk poses serious concerns for Trustworthy AI in high-stakes applications. Models performing well on average may exhibit long tails and extreme outliers revealed only through distributional analysis. Mean performance alone should not guide model selection; assessment of spread, symmetry, and tail risk is essential for reliable model assessment where consistent performance is critical.
Figures & tables
| Robustness | # of Models More Robust | Equally | # of | p-value | ||
| Measure | Larger Models | Smaller Models | Robust | Trials | Larger Models | Smaller Models |
| Intra-architecture Binomial Comparison | ||||||
| Range | 12 | 14 | 0 | 26 | 0.7214 | 0.4225 |
| Standard Deviation | 9 | 17 | 0 | 26 | 0.9622 | 0.0843 |
| Skewness | 14 | 12 | 0 | 26 | 0.4225 | 0.7214 |
| Lower Fence Outliers | 12 | 10 | 4 | 22 | 0.4159 | 0.7383 |
| Robustness | # of Models More Robust | Equally | # of | p-value | ||
| Measure | Larger Models | Smaller Models | Robust | Trials | Larger Models | Smaller Models |
| Cross-architecture Binomial Comparison | ||||||
| Range | 27 | 111 | 0 | 138 | 1.0 | |
| Standard Deviation | 27 | 111 | 0 | 138 | 1.0 | |
| Skewness | 83 | 55 | 0 | 138 | 0.0106 | 0.9934 |
| Upper Fence Outliers | 78 | 47 | 13 | 125 | 0.0035 | 0.998 |
| ResNet20 | ViT-S-8 | ||||
| Epochs | Mean | Range | Epochs | Mean | Range |
| 10 | 75.94% | 11.04% | 10 | 56.23% | 3.29% |
| 20 | 83.22% | 4.81% | 20 | 65.74% | 2.26% |
| 30 | 85.90% | 3.33% | 30 | 70.64% | 1.75% |
| 40 | 87.28% | 2.75% | 40 | 73.47% | 1.83% |
| 50 | 88.20% | 2.18% | 50 | 75.32% | 1.49% |
| Autoformer | iTransformer | NLinear | TSMixer | ||||||||
| Epochs | Mean | Range | Epochs | Mean | Range | Epochs | Mean | Range | Epochs | Mean | Range |
| 1 | 0.4593 | 0.0876 | 1 | 0.4112 | 0.0054 | 1 | 0.4067 | 0.0191 | 10 | 0.4043 | 0.0083 |
| 2 | 0.4645 | 0.0999 | 2 | 0.4058 | 0.0053 | 2 | 0.4049 | 0.0349 | 20 | 0.3930 | 0.0034 |
| 3 | 0.4816 | 0.1477 | 3 | 0.4051 | 0.0051 | 3 | 0.3983 | 0.0143 | 30 | 0.3920 | 0.0036 |
| 4 | 0.4936 | 0.1787 | 4 | 0.4049 | 0.0042 | 4 | 0.3951 | 0.0095 | 40 | 0.3919 | 0.0041 |
| 5 | 0.5027 | 0.2387 | 5 | 0.4049 | 0.0047 | 5 | 0.3938 | 0.0061 | 50 | 0.3923 | 0.0046 |
| Task | Pearson | p-value | Spearman | p-value |
| r | ||||
| Image Classification | 0.2053 | 0.2946 | 0.3750 | 0.0493 |
| Time Series Forecasting | 0.4158 | 0.4211 |
| Image Classification | Time Series Forecasting | p-values | ||||||
| Outlier Type | Outliers | Dataset | Mean | Outliers | Dataset | Mean | Image | Time Series |
| Replicates | Outliers | Replicates | Outliers | Classification | Forecasting | |||
| Underperforming | 22 | 22 | 1.0 | 266 | 94 | 2.83 | 1.0 | |
| Overperforming | 19 | 22 | 0.86 | 34 | 94 | 0.36 | 0.98 | 0.02 |
| Total | 41 | 22 | 1.86 | 300 | 94 | 3.19 | 1.0 | |
| Model | L1 Reg | L2 Reg/WD | Dropout | Early Stop | Batch Norm | Data Aug | Adv Train | Label Smooth | MTL | Noise Inj |
| ResNet | - | SGD | - | - | ✓ | ✓ | - | - | - | - |
| ViT | - | SGD | ✓ | - | - | ✓ | - | - | - | - |
| AutoFormer | - | - | ✓ | ✓ | - | - | - | - | - | - |
| iTransformer | - | - | ✓ | ✓ | - | - | - | - | - | - |
| Nlinear | - | - | - | ✓ | - | - | - | - | - | - |
| TSMixer | - | - | ✓ | ✓ | ✓ | - | - | - | - | - |
Appendix figures & tables17 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | Variation | Parameters |
| ResNet | 20 | 0.27M |
| 56 | 0.85M | |
| 110 | 1.73M | |
| 18 | 11.18M | |
| 50 | 23.52M | |
| 101 | 42.52M |
| Model | Dataset | Learning Rate | Batch Size | Optimizer |
| ResNet | CIFAR-10 | 0.1 | 128 | SGD |
| CIFAR-100 | 0.1 | 128 | SGD | |
| Oxford Flowers | 0.001 | 64 | Adam | |
| UC Merced | 0.001 | 32 | Adam | |
| ViT (Random Weights) | CIFAR-10 | 0.0001 | 128 | Adam |
| CIFAR-100 | 0.0001 | 128 | Adam |
| Dataset | Horizon | Autoformer | iTransformer | NLinear | TSMixer |
| ETTh1 | 96 | 10.54M | 0.84M | 0.01M | 0.04M |
| 192 | 10.54M | 0.86M | 0.02M | 0.05M | |
| 336 | 10.54M | 0.90M | 0.03M | 0.06M | |
| 720 | 10.54M | 1.00M | 0.07M | 0.10M | |
| ETTh2 | 96 | 10.54M | 0.22M | 0.01M | 0.04M |
| 192 | 10.54M | 0.24M | 0.02M | 0.05M |
| Spread | Symmetry | Tail Risk | ||||||||
| Model | Dataset | # Para | Mean | Range | SD | Skewness | Shapiro W | Shapiro p | LFO | UFO |
| 32x32x3 Pixel Images & Random Weight Initialization | ||||||||||
| ResNet20 | CIFAR-10 | 0.27M | 91.19% | 1.18% | 0.22 | -0.4176 | 0.9802 | 0.1382 | 3 | 0 |
| ResNet56 | 0.85M | 92.05% | 3.19% | 0.61 | -0.9379 | 0.9475 | 0.0006 | 5 | 0 | |
| ResNet110 | 1.73M | 93.56% | 1.03% | 0.17 | 0.3784 | 0.9783 | 0.0981 | 0 | 2 | |
| ViT-S-8 | 21.67M | 78.16% | 1.31% | 0.27 | -0.4026 | 0.9747 | 0.0507 | 0 | 0 | |
| Robustness Measure | W | p-value | r | More Robust | Effect Size |
| Intra-architecture Wilcoxon Comparison | |||||
| Range | 155.5 | 0.6204 | 0.114 | — | Small |
| Standard Deviation | 135.0 | 0.3153 | 0.231 | — | Small |
| Skewness | 163.0 | 0.7644 | 0.071 | — | Negligible |
| Lower Fence Outliers | 107.0 | 0.5240 | 0.154 | — | Small |
| Upper Fence Outliers | 63.0 | 0.5301 | 0.177 | — | Small |
| Spread | Symmetry | Tail Risk | |||||||||
| Model | Dataset | Horizon | # Para | Mean | Range | SD | Skewness | Shapiro W | Shapiro p | LFO | UFO |
| Autoformer | ETTh1 | 96 | 10.54M | 0.4576 | 0.0644 | 0.0141 | 0.7442 | 0.9494 | 0.0008 | 0 | 5 |
| iTransformer | 0.84M | 0.4049 | 0.004 | 0.0009 | 0.2521 | 0.9768 | 0.0753 | 0 | 0 | ||
| NLinear | 0.01M | 0.3952 | 0.0269 | 0.004 | 3.447 | 0.6492 | 0 | 5 | |||
| TSMixer | 0.04M | 0.3921 | 0.0033 | 0.0008 | 0.1937 | 0.9775 | 0.085 | 0 | 0 | ||
| Autoformer | ETTh1 | 192 | 10.54M | 0.4778 | 0.058 | 0.0116 | 0.1648 | 0.9884 | 0.5362 | 1 | 0 |
| Spread | Symmetry | Tail Risk | |||||||||
| Model | Dataset | Horizon | # Para | Mean | Range | SD | Skewness | Shapiro W | Shapiro p | LFO | UFO |
| Autoformer | ETTm1 | 96 | 10.54M | 0.4669 | 0.0802 | 0.017 | 1.1613 | 0.903 | 0 | 4 | |
| iTransformer | 0.22M | 0.3766 | 0.0061 | 0.0013 | 0.0208 | 0.9888 | 0.5718 | 0 | 0 | ||
| NLinear | 0.01M | 0.3759 | 0.0038 | 0.0006 | 0.9646 | 0.8816 | 5 | 8 | |||
| TSMixer | 0.04M | 0.363 | 0.0063 | 0.0014 | 0.2746 | 0.8816 | 0.4022 | 0 | 0 | ||
| Autoformer | ETTm1 | 192 | 10.54M | 0.4933 | 0.0537 | 0.0127 | 0.3945 | 0.9585 | 0.0032 | 0 | 0 |
| Spread | Symmetry | Tail Risk | |||||||||
| Model | Dataset | Horizon | # Para | Mean | Range | SD | Skewness | Shapiro W | Shapiro p | LFO | UFO |
| Autoformer | Traffic | 96 | 14.91M | 0.393 | 0.0724 | 0.0147 | 1.2906 | 0.8991 | 0 | 6 | |
| iTransformer | 6.41M | 0.2686 | 0.0025 | 0.0005 | -0.0472 | 0.9915 | 0.7809 | 0 | 0 | ||
| NLinear | 0.01M | 0.3883 | 0.0056 | 0.001 | 0.9392 | 0.9471 | 0.0005 | 0 | 2 | ||
| TSMixer | 6.27M | 0.3135 | 0.0138 | 0.0025 | 0.8202 | 0.9601 | 0.0041 | 0 | 2 | ||
| Autoformer | Traffic | 192 | 14.91M | 0.4073 | 0.1007 | 0.0232 | 0.5618 | 0.9542 | 0.0016 | 0 | 0 |
| Robustness Measure | W | p-value | r | More Robust | Effect Size |
| Cross-architecture Wilcoxon Comparison | |||||
| Range | 1163.0 | 0.758 | Smaller | Large | |
| Standard Deviation | 934.0 | 0.805 | Smaller | Large | |
| Skewness | 3203.0 | 0.0007 | 0.332 | Larger | Medium |
| Upper Fence Outliers | 2505.5 | 0.0004 | 0.364 | Larger | Medium |
ML Reproducibility
Machine learning reproducibility studies whether model results and scientific claims can be independently checked and reliably repeated.
See all 138 papers