arXiv:2610.38037cs.LGOct 2026

Manuscript Offprint

arXiv:2610.38037

Measuring Deep Learning Performance - An Empirical Study of Performance Distributions Across Architectures and Tasks

Kevin L Coakley, Odd Erik Gundersen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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 state-of-the-art image classification (ResNet, ViT) and time series forecasting (Autoformer, iTransformer, NLinear, TSMixer) 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.

Keywords: robustness, deep learning, performance distribution, non-determinism, reproducibility, trustworthy AI

1 Introduction

Many factors affect the performance of a deep learning model. Some are related to the way data are treated, such as how the data is divided into train, validation, and test sets [1, 2], while others are related to how the algorithm is designed, such as how hyperparameters are optimized [2–4] and weights are initialized [5, 6]. The way an algorithm is implemented can also affect the performance, including the software package used to implement the algorithm [2, 7, 8], the operating system and compiler settings used [9], and which seed is used to initialize the pseudo-random number generator [10, 11]. The computational budget used to search for the optimal hyper-parameters of a deep learning algorithm can also affect performance, since searching longer costs more but will increase the chance of finding a better set of hyperparameters [12–14]. These sources of variation in the performance cause problems for deep learning benchmarks both in regard to conducting fair comparisons and in evaluating the results [11, 15, 16].

As factors related to data and algorithm design depend on more or less active decisions, they are more easily controlled. Implementation factors, on the other hand, can be harder to control, as implementing the same algorithm using different software packages or running it on different hardware or operating systems with different compiler settings requires not only more effort, but also access to different computer systems. The exception is the initialization of the pseudo-random number generator. The initialization seed can be easily controlled and, when controlled, can enable deterministic experiments – with some exceptions. Since the performance of a deep learning algorithm depends on the sequence of random numbers sampled during training and inference, the performance is not a single fixed value, but rather a distribution [11, 17]. Despite this being a well-documented fact, model performance distributions are underexplored in the literature.

A better understanding of model performance distributions is needed. The shape of model performance distributions and how they vary across different model architectures is not well understood. Although previous work establishes that model performance distributions are not Gaussian [5, 11, 17, 18], it remains unclear whether similar deep learning architectures exhibit similar performance distributions. Are some architectures naturally more resilient to non-determinism, while others are more prone to variability? Are fat tails and skewed performance distributions issues? What about extreme outliers? Model performance distributions that are skewed, have fat tails, and extreme outliers cannot be considered robust. As robustness is a dimension of trustworthy artificial intelligence [19–22], model distributions that are skewed, have fat tails or extreme outliers might not be considered trustworthy and would pose a potential risk in high-stakes domains involving human safety or financial risk.

Deep learning has been applied across a range of domains where failures carry direct consequences for human welfare or financial stability. In medical imaging, deep learning models are used for tumor detection, disease classification, and organ segmentation from MRI, CT, and X-ray data[2, 23, 24]. In financial markets, time series forecasting models have been applied to asset price prediction and stock movement classification, including spatio-temporal graph neural network approaches for cryptocurrency and foreign exchange markets[25] and hypergraph neural network approaches that model higher-order relationships among stocks[26]. In energy markets, deep learning models are used for electricity price forecasting, power production forecasts and load prediction, tasks that directly affect grid stability and market operations[27–31]. These are all high-stakes domains where incorrect or inconsistent model predictions carry real-world consequences, making it essential to investigate not only mean performance, but the full distribution of outcomes under non-deterministic training.

Therefore, in this paper, we investigate the robustness of deep learning performance with respect to sources of non-determinism. As all sources of variability have similar effects on model diversity[32] and are non-additive [6], we limit our study to controlling the initialization seed of pseudo-random number generators. This allows us to investigate non-determinism by running the same experiment many times and only varying one of its sources. This allows us to run the same experiment 100 times while ensuring such subtle differences and therefore getting a better representation of the underlying true distribution of the model performance. As we present the results of a much larger number of experiments than other studies of variation have presented, we provide more reliable evidence. In contrast to most previous studies, we do not limit the experiments to imaging tasks but also include time series forecasting algorithms to compare results between tasks. Our main contributions are as follows:

  • We present the first study on the performance distributions of deep learning models with a focus on robustness.
  • We empirically establish that the best performing model is not necessarily the most robust one.
  • We empirically establish that deep learning time series forecasting models are less robust than deep learning image classification models.

The rest of the article is structured as follows. First, in Section 2, we present related work, and then in Section 3.1, we describe the problem we investigated in detail along with the research questions we seek to answer. We describe the experiments in Section 3.2 and provide a detailed description of how we measure the robustness of model performance distributions in Section 3.3. Then, in Section 4, the results are presented, and we discuss all of our findings in Section 5. Finally, in Section 6, we conclude.

References (57)