Problems and opportunities in training deep learning software systems: an analysis of variance
The DOI matches its Crossref record; 116 of the 116 references it cites were found in a registry or an index.
Abstract
Deep learning (DL) training algorithms utilize nondeterminism to improve models' accuracy and training efficiency. Hence, multiple identical training runs (e.g., identical training data, algorithm, and network) produce different models with different accuracies and training times. In addition to these algorithmic factors, DL libraries (e.g., TensorFlow and cuDNN) introduce additional variance (referred to as implementation-level variance) due to parallelism, optimization, and floating-point computation.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Citations
Cites
Deep Residual Learning for Image Recognition
He, K., Zhang, X., Ren, S., & Sun, J. (2016) · 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2016.90 · Cited by 235,474 · cited 4×
“For example, the time to convergence of the 16 fixed-seed identical training runs of another popular network, ResNet56 [51], ranges”
BackgroundMethodInfluentialVery Deep Convolutional Networks for Large-Scale Image Recognition
Simonyan, K., & Zisserman, A. (2014) · arXiv · doi:10.48550/arxiv.1409.1556 · Cited by 114,148 · cited 1×
“Following common practice [14, 24, 45, 51, 62, 97, 102], we use the validation set to select the best model.”
MethodImageNet classification with deep convolutional neural networks
Krizhevsky, A., Sutskever, I., & Hinton, G. E. (2017) · Communications of the ACM · doi:10.1145/3065386 · Cited by 112,155 · cited 1×
“Following common practice [14, 24, 45, 51, 62, 97, 102], we use the validation set to select the best model.”
MethodLeCun, Y., Bengio, Y., & Hinton, G. (2015) · Nature · doi:10.1038/nature14539 · Cited by 84,126
Statistical power analysis for the behavioral sciences
(1990) · Computers, Environment and Urban Systems · doi:10.1016/0198-9715(90)90050-4 · Cited by 65,269
Gradient-based learning applied to document recognition
Lecun, Y., Bottou, L., Bengio, Y., & Haffner, P. (1998) · Proceedings of the IEEE · doi:10.1109/5.726791 · Cited by 58,805 · cited 2×
“For example, our experiments show that for 16 identical training runs of a popular DL network, LeNet5 [65], the accuracy of the resulting 16 models ranges from 8.6% to 99.0% —a large accuracy difference of 90.4%.”
BackgroundMethodInfluential(2014) · Cited by 33,419
Rethinking the Inception Architecture for Computer Vision
Szegedy, C., Vanhoucke, V., Ioffe, S., Shlens, J., & Wojna, Z. (2016) · 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2016.308 · Cited by 32,138
PyTorch: An Imperative Style, High-Performance Deep Learning Library
Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., Antiga, L., et al. (2019) · arXiv · doi:10.48550/arxiv.1912.01703 · Cited by 31,473 · cited 4×
“DL implementation consists of 1 https://github.com/lin-tan/dl-variance high-level DL libraries (e.g., Keras), core DL libraries (e.g., Tensor-Flow and PyTorch), low-level computation libraries (e.g., cuDNN and CUDA), and hardware (e.g., GPU, CPU, and TPU).”
MethodInfluentialLearning Multiple Layers of Features from Tiny Images
Krizhevsky, A. (2024) · doi:10.57702/zp44cu3g · Cited by 23,395
Research works printed but not linked: 19
- 2019. ASE '19: Proceedings of the 34th ACM/IEEE International Conference on Automated Software Engineering.
- 2019. ASPLOS '19: Proceedings of the Twenty-Fourth International Conference on Architectural Support for Programming Languages and Operating Systems.
- 2019. CVPR'19: Proceedings of The IEEE Conference on Computer Vision and Pattern Recognition.
- 2019. ESEC/FSE '19: Proceedings of the 27th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering.
- 2019. ICCV'19: Proceedings of The IEEE International Conference on Computer Vision. IEEE Press.
- 2019. ICML'19: Proceedings of The International Conference on Machine Learning.
- 2019. ICSE '19: Proceedings of the 41st International Conference on Software Engineering. IEEE Press.
- 2019. MLSys'19: Proceedings of Machine Learning and Systems.
- 2019. NIPS'19: Proceedings of the 33rd Conference on Neural Information Processing Systems.
- 2019. SOSP '19: Proceedings of the 27th ACM Symposium on Operating Systems Principles.
- 2020. ICLR'20: Proceedings of The International Conference on Learning Representations.
- 2020. Reproducibility Challenge @ NeurIPS 2019. https://reproducibilitychallenge.github.io/neurips2019/
- Charu C Aggarwal. 2018. Neural networks and deep learning. In Springer.
- Cody Coleman, Deepak Narayanan, Daniel Kang, Tian Zhao, Jian Zhang, Luigi Nardi, Peter Bailis, Kunle Olukotun, Chris Ré, and Matei Zaharia. 2017. Dawnbench: An end-to-end deep learning benchmark and competition. In Training.
- Standard Performance Evaluation Corporation. 2006. SPEC CPU2006 Benchmarks. http://www.spec.org/cpu2006/.
- Heming Cui, Jiri Simsa, Yi-Hong Lin, Hao Li, Ben Blum, Xinan Xu, Junfeng Yang, Garth A. Gibson, and Randal E. Bryant. 2013. Parrot: a Practical Runtime for Deterministic, Stable, and Reliable Threads. In SOSP.
- Jeff Haochen and Suvrit Sra. 2019. Random Shuffling Beats SGD after Finite Epochs. In ICML.
- Hadi Jooybar, Wilson WL Fung, Mike O'Connor, Joseph Devietti, and Tor M Aamodt. 2013. GPUDet: a deterministic GPU architecture. In ASPLOS.
- Shlomo Sawilowsky, Jack Sawilowsky, and Robert J. Grissom. 2011. Effect Size.
Cited by
Items 101–124 of 124
Hille, T., Stubbemann, M., & Hanika, T. (2024) · Transactions on machine learning research · doi:10.48550/arxiv.2403.08438 · Cited by 2
INT8 Quantization Makes ARM Edge Inference Dispatch-InvariantPreprint
Romero, S. A. C., & Guerra, S. E. M. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2607.23227 · Cited by 1
“Pham et al. [19] measured accuracy variance from CUDA and cuDNN version changes alone on identical hardware.”
Balance Graphs: An Aid for Studying Convolutional Neural Networks
Embery, L., Ignatious, E., Azam, S., Jonkman, M., & Boer, F. D. (2022) · ACIS International Conference on Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing (SNPD) · doi:10.1109/snpd54884.2022.10051785
“5) Random Seed Random values are used extensively in developing neural networks[14].”
MethodAnalyzing Inferential Reproducibility
Riezler, S., & Hagmann, M. (2024) · Synthesis lectures on human language technologies · doi:10.1007/978-3-031-57065-0_5
Why and How We Combine Multiple Deep Learning Models With Functional Overlaps
Ma, M., Li, Y., Chen, Y., Lin, C., & Zhou, Y. (2025) · Journal of Software Evolution and Process · doi:10.1002/smr.70003 · Cited by 1
Reproducibility in Data Science and Machine Learning
Steinbach, P. (2022) · Figshare · doi:10.6084/m9.figshare.20036651
Testing of machine learning algorithms and models
Sharma, A. (2023) · Carl von Ossiezky University of Oldenburg · Cited by 1
Reliability Assessment Methods for Machine Learning-Based Systems
Morovati, M. (2024) · PolyPublie (École Polytechnique de Montréal) · Cited by 1
A Configuration-First Framework for Reproducible, Low-Code Machine Learning: a Localization Use CasePreprint
Strnad, T., Bertalanič, B., & Fortuna, C. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2510.25692
Neural-Symbolic Integration of knowledge extraction and reasoning on graph-structured data
Werner, L. S. (2024) · theses.fr (ABES) · doi:10.70675/71d28c80z0772z4822zb94ez15ad4d8024dd
de la Roy, E. D. R. (2023) · theses.fr (ABES) · doi:10.70675/cb0cfa79z9e4cz439czb5a6zd1ac2747ba36 · Cited by 2
Fİdancı, Y., & Abbak, R. A. (2026) · Acta Geodaetica et Geophysica · doi:10.1007/s40328-026-00502-8
“In order to stabilize the effect of randomness mentioned at the beginning of the section, it is necessary to repeatedly run the model accepting the parameters of “model1” and generate results (e.g. Pham et al. 2020; Somepalli et al. 2022).”
Analyzing and Comparing Machine Learning Models via Inductive Orientation
Pang-Naylor, K., Chen, E., & Montañez, G. D. (2026) · Lecture notes in computer science · doi:10.1007/978-3-032-25035-3_13
A Conceptual Framework for Computational Reproductions: Formal Definitions and Epistemic Functions
Kohrt, F., Melinščak, F., McElreath, R. L., & Schönbrodt, F. D. (2026) · Journal of Trial and Error · doi:10.36850/9ec0-4fab
The Kinematics of Cross-Lingual Transfer in Decoder Large Language Models
Alkurdi, B. (2026) · Jyväskylä University Digital Archive (University of Jyväskylä)
VLMSysTrojan: Stealthy System-Aware Backdoor Attacks Against Vision-Language Models
Cheng, Y., Li, Z., Wu, J., Zhang, Z., & Chen, S. (2026) · Lecture notes in computer science · doi:10.1007/978-3-032-37718-0_25 · Cited by 2
Raytchinov, I., Anastacio, M., Jankovič, A., Gundersen, O. E., & Hoos, H. H. (2026) · ACM Conference on Reproducibility and Replicability (ACM REP) · doi:10.1145/3820002.3828590
The AI Reproducibility Index: Ranking Venues, Countries and Institutions by Reproducibility
Coakley, K. L., Snelleman, T., Hoos, H., & Gundersen, O. E. (2026) · Proceedings of the 4th ACM Conference on Reproducibility and Replicability · doi:10.1145/3820002.3828592
YOLO-SPN: Small Target Detection in Optical Remote Sensing Images Based on Improved YOLO11
Xiao, B., & Yan, J. (2026) · Applied Sciences · doi:10.3390/app16199624
Khatri, A. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2609.31796
“Atil et al. (2024) and Song et al. (2024) document run-to-run variation in nominally deterministic LLM evaluation, and in training, implementation-level non-determinism alone produces variance comparable to changing the random seed (Pham et al., 2020; Zhuang et al., 2022; Summers & Dinneen, 2021).”
Localizing Data Annotation Faults in Semantic Segmentation Systems
Yang, P., Long, T., Xu, Z., & Jing, L. (2026) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3832783.3837428
PRAISE: A Reproducible Workflow for Non-Programmer Scientists to Implement Published AI ModelsPreprint
Achterweust, M., Nibbelink, S. G., de Beer, V. J., Schipper, S., Yüksektepe, Z., da Silva, P. A., Peppelaar, A., van der Willigen, M. J., Minkenberg, C. B., & van der Willigen, R. F. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2610.16980
“The lower MCC after iteration 4 was suspected to be a result of data leakage, but was eventually deemed consistent with the smaller training set of the restructured pipeline and falls within the run-to-run variation reported for deep learning pipelines (Pham et al., 2021).”
InfluentialKNN Implementation Details Can Dramatically Change Performance: An Example from Cover TreesPreprint
Khanna, A., & Raff, E. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2610.16940
Wibisono, N., Faisal, M., Nugroho, F., Arif, Y. M., Ashar, I., Wiyanto, S., & Hastuti, N. D. (2026) · JURNAL TEKNIK ELEKTRO · doi:10.26740/jte.v15n3.p313-327
Metadata
- Authors
- Pham, H. V., Qian, S., Wang, J., Lutellier, T., Rosenthal, J., Tan, L., Yu, Y., & Nagappan, N.
- Affiliations
- University of Waterloo (CA)
- Purdue University West Lafayette (US)
- Microsoft (United States) (US)
- Venue
- Proceedings of the 35th IEEE/ACM International Conference on Automated Software Engineering
- Publisher
- ACM
- Published
- 2020-12-21
- Pages
- 771-783
- OpenAlex
- W3122184684
- Cited by
- 100
- References
- 114
- Citations by year
- 2026: 13 · 2025: 11 · 2024: 16 · 2023: 29 · 2022: 19 · 2021: 11
- FWCI
- 9.79
- Type
- conference paper
- Language
- en
- Open access
- closed
- Locations
- IEEE/ACM International Conference on Automated Software Engineering (ASE) (publishedVersion)
- Funders
- National science foundation
- Facebook Research Award
- Topics
- Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
- Physical Sciences › Computer Science › Hardware and Architecture › Parallel Computing and Optimization Techniques
- Physical Sciences › Computer Science › Artificial Intelligence › Machine Learning and Data Classification
- Keywords
- deep learning training, non-determinism, model reproducibility, parallelism, floating-point arithmetic, training efficiency, TensorFlow, cuDNN
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.