Randomness In Neural Network Training: Characterizing The Impact of Tooling
Not on the map. Why?
Abstract (arXiv)
The quest for determinism in machine learning has disproportionately focused on characterizing the impact of noise introduced by algorithmic design choices. In this work, we address a less well understood and studied question: how does our choice of tooling introduce randomness to deep neural network training. We conduct large scale experiments across different types of hardware, accelerators, state of art networks, and open-source datasets, to characterize how tooling choices contribute to the level of non-determinism in a system, the impact of said non-determinism, and the cost of eliminating different sources of noise. Our findings are surprising, and suggest that the impact of non-determinism in nuanced. While top-line metrics such as top-1 accuracy are not noticeably impacted, model performance on certain parts of the data distribution is far more sensitive to the introduction of randomness. Our results suggest that deterministic tooling is critical for AI safety. However, we also find that the cost of ensuring determinism varies dramatically between neural network architectures and hardware types, e.g., with overhead up to 746%, 241%, and 196% on a spectrum of widely used GPU accelerator architectures, relative to non-deterministic training. The source code used in this paper is available at https://github.com/usyd-fsalab/NeuralNetworkRandomness.
Key facts. Cited by 59 papers in the map (data through 14 Oct 2026). Builds on 48 of its 92 references that are in the map. First posted on arXiv 22 Jun 2021.
Builds on
48 of 92 references.
References · 48
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
- 2016Densely Connected Convolutional Networkscited by 6,720
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,442
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,475
- 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,845
- 2014Deep Learning Face Attributes in the Wildcited by 3,693
- 2017Random Erasing Data Augmentationcited by 1,239
- 2017Deep Reinforcement Learning that Matterscited by 754
36 more
- 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 618
- 2020Underspecification Presents Challenges for Credibility in Modern Machine Learningcited by 496
- 2020What is being transferred in transfer learning?cited by 368
- 2017Don't Decay the Learning Rate, Increase the Batch Sizecited by 320
- 2017Are GANs Created Equal? A Large-Scale Studycited by 267
- 2014cuDNN: Efficient Primitives for Deep Learningcited by 245
- 2019Hidden Stratification Causes Clinically Meaningful Failures in Machine Learning for Medical Imagingcited by 216
- 2017Cut, Paste and Learn: Surprisingly Easy Synthesis for Instance Detectioncited by 209
- 2017Regularizing and Optimizing LSTM Language Modelscited by 205
- 2021Accounting for Variance in Machine Learning Benchmarkscited by 201
- 2018Measuring the Effects of Data Parallelism on Neural Network Trainingcited by 193
- 2019What Do Compressed Deep Neural Networks Forget?cited by 171
- 2018Mesh-TensorFlow: Deep Learning for Supercomputerscited by 169
- 2020Characterising Bias in Compressed Modelscited by 167
- 2021MLPerf Tiny Benchmarkcited by 124
- 2019MLPerf Training Benchmarkcited by 115
- 2017On the State of the Art of Evaluation in Neural Language Modelscited by 104
- 2019Are All Layers Created Equal?cited by 94
- 2017Regularization for Deep Learning: A Taxonomycited by 91
- 2019A Step Toward Quantifying Independently Reproducible Machine Learning Researchcited by 77
- 2021Manipulating SGD with Data Ordering Attackscited by 74
- 2020We Need to Talk About Random Splitscited by 71
- 2018Deep Learning Predicts Hip Fracture using Confounding Patient and Healthcare Variablescited by 50
- 2021Nondeterminism and Instability in Neural Network Optimizationcited by 48
- 2017Knowledge Base Completion: Baselines Strike Backcited by 39
- 2019On Model Stability as a Function of Random Seedcited by 31
- 2019Reproducibility in Machine Learning for Healthcited by 25
- 2020Distributed Training of Deep Learning Models: A Taxonomic Perspectivecited by 25
- 2021Keep the Gradients Flowing: Using Gradient Flow to Study Sparse Network Optimizationcited by 22
- 2019Further advantages of data augmentation on convolutional neural networkscited by 19
- 2020Smooth activations and reproducibility in deep networkscited by 16
- 2020Anti-Distillation: Improving reproducibility of deep networkscited by 13
- 2018Terminologies for Reproducible Researchcited by 11
- 2021Synthesizing Irreproducibility in Deep Networkscited by 9
- 2017DLPaper2Code: Auto-generation of Code from Deep Learning Research Paperscited by 8
- 2020Beyond Point Estimate: Inferring Ensemble Prediction Variation from Neuron Activation Strength in Recommender Systemscited by 8
Built on by
Citing papers per year: 2021: 1; 2022: 12; 2023: 13; 2024: 8; 2025: 12; 2026: 13.
59 papers.
Sort:
By area:
- 2021Deep Reinforcement Learning at the Edge of the Statistical Precipicecited by 807
- 2024JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Modelscited by 536
- 2022Data Banzhaf: A Robust Data Valuation Framework for Machine Learningcited by 132
- 2023Evaluating the Social Impact of Generative AI Systems in Systems and Societycited by 92
- 2023Elo Uncovered: Robustness and Best Practices in Language Model Evaluationcited by 61
- 2025Understanding and Mitigating Numerical Sources of Nondeterminism in LLM Inferencecited by 53
- 2024How Does Quantization Affect Multilingual LLMs?cited by 43
- 2022Quantifying Social Biases Using Templates is Unreliablecited by 39
- 2022On the Factory Floor: ML Engineering for Industrial-Scale Ads Recommendation Modelscited by 34
- 2022Sources of Irreproducibility in Machine Learning: A Reviewcited by 32
- 2023On the Variance of Neural Network Training with respect to Test Sets and Distributionscited by 22
- 2025MAGIC: Near-Optimal Data Attribution for Deep Learningcited by 22
38 more
- 2022Reproducibility in Optimization: Theoretical Framework and Limitscited by 21
- 2023The Co-12 Recipe for Evaluating Interpretable Part-Prototype Image Classifierscited by 15
- 2023A Survey on Stability of Learning with Limited Labelled Data and its Sensitivity to the Effects of Randomnesscited by 14
- 2022Proof-of-Learning is Currently More Broken Than You Thinkcited by 12
- 2025Neural Network Verification is a Programming Language Challengecited by 12
- 2023FAIR-Ensemble: When Fairness Naturally Emerges From Deep Ensemblingcited by 11
- 2024What Do Machine Learning Researchers Mean by "Reproducible"?cited by 9
- 2022A Siren Song of Open Source Reproducibilitycited by 8
- 2023Reproducibility of Machine Learning: Terminology, Recommendations and Open Issuescited by 8
- 2024Optimistic Verifiable Training by Controlling Hardware Nondeterminismcited by 7
- 2022On the Prediction Instability of Graph Neural Networkscited by 6
- 2023Machine Learning needs Better Randomness Standards: Randomised Smoothing and PRNG-based attackscited by 6
- 2022Power of Explanations: Towards automatic debiasing in hate speech detectioncited by 5
- 2023Towards Inferential Reproducibility of Machine Learning Researchcited by 4
- 2025Leveraging Per-Instance Privacy for Machine Unlearningcited by 4
- 2022Instability in clinical risk stratification models using deep learningcited by 3
- 2025Mixtera: A Data Plane for Foundation Model Trainingcited by 3
- 2025Model Parallelism With Subnetwork Data Parallelismcited by 3
- 2022Real World Large Scale Recommendation Systems Reproducibility and Smooth Activationscited by 2
- 2023On The Fairness Impacts of Hardware Selection in Machine Learningcited by 2
- 2024Rolling the dice for better deep learning performance: A study of randomness techniques in deep neural networkscited by 2
- 2024Investigating the Impact of Randomness on Reproducibility in Computer Vision: A Study on Applications in Civil Engineering and Medicinecited by 2
- 2025Deep Learning-Based Identification of Inconsistent Method Names: How Far Are We?cited by 2
- 2025RepDL: Bit-level Reproducible Deep Learning Training and Inferencecited by 2
- 2022Machine Learning State-of-the-Art with Uncertaintiescited by 1
- 2023Are You Worthy of My Trust?: A Socioethical Perspective on the Impacts of Trustworthy AI Systems on the Environment and Human Societycited by 1
- 2025Backdoor Detection through Replicated Execution of Outsourced Trainingcited by 1
- 2025RePaCA: Leveraging Reasoning Large Language Models for Static Automated Patch Correctness Assessmentcited by 1
- 2025Bit-Accurate Modeling of GPU Matrix Multiply-Accumulate Units: Demystifying Numerical Discrepancy and Accuracycited by 1
- 2026Measuring Neural Network Complexity via Effective Degrees of Freedomcited by 1
- 2026Quantifying the Impact of Lossy Compression on Neural Generative Surrogate Modelingcited by 1
- 2023SysNoise: Exploring and Benchmarking Training-Deployment System Inconsistencycited by 0
- 2023Distilling Influences to Mitigate Prediction Churn in Graph Neural Networkscited by 0
- 2024Generalizability of experimental studiescited by 0
- 2024The Impact of Environment Configurations on the Stability of AI-Enabled Systemscited by 0
- 2025Fractal basin geometry and the limits to predictability and reproducibility in deep learningcited by 0
- 2026Bit-Identical Medical Deep Learning via Structured Orthogonal Initializationcited by 0
- 2026Numerical Instability and Chaos: Quantifying the Unpredictability of Large Language Modelscited by 0
50 most cited of 59 All 59 (JSON)
- 2026Kernel-based External Validity of Experimental Studies9 Oct 2026
- 2026Zephon: Elastic Determinism for Online, Stateful Foundation Model Data Loading Pipelines2 Oct 2026
- 2026Same Probe, Different Numbers: Are Activation Probes Robust to Inference-Time Numerical Non-Determinism?25 Sep 2026
- 2026RECLAIM: Can Agents Reproduce the Claims of Machine Learning Papers?23 Sep 2026
- 2026Greedy Decoding Is Not Precision-Invariant: Cross-Precision Output Divergence in LLM Inference22 Sep 2026
- 2026Silent Failures Beyond the 32-Bit Index Range: A Differential Characterization of Large-Tensor Matrix Multiplication in PyTorch's MPS Backend19 Sep 2026
- 2026Efficient Heteroscedastic Bayesian Optimization for Risk-Aware AutoRL29 Jul 2026
- 2026A Physics-Regulated Neural Framework for Learning 3D Grain Growth Dynamics6 Jul 2026
- 2026OVIG: Optimistic Verification of AI Training Integrity via Gradient Signals19 Jun 2026
- 2026Quantifying the Impact of Lossy Compression on Neural Generative Surrogate Modeling14 Jun 2026
- 2026Numerical Instability and Chaos: Quantifying the Unpredictability of Large Language Models14 Apr 2026
- 2026Bit-Identical Medical Deep Learning via Structured Orthogonal Initialization30 Mar 2026
38 more
- 2026Measuring Neural Network Complexity via Effective Degrees of Freedom13 Feb 2026
- 2025Bit-Accurate Modeling of GPU Matrix Multiply-Accumulate Units: Demystifying Numerical Discrepancy and Accuracy14 Nov 2025
- 2025RepDL: Bit-level Reproducible Deep Learning Training and Inference10 Oct 2025
- 2025Fractal basin geometry and the limits to predictability and reproducibility in deep learning7 Oct 2025
- 2025RePaCA: Leveraging Reasoning Large Language Models for Static Automated Patch Correctness Assessment30 Jul 2025
- 2025Model Parallelism With Subnetwork Data Parallelism11 Jul 2025
- 2025Understanding and Mitigating Numerical Sources of Nondeterminism in LLM Inference11 Jun 2025
- 2025Leveraging Per-Instance Privacy for Machine Unlearning24 May 2025
- 2025MAGIC: Near-Optimal Data Attribution for Deep Learning23 Apr 2025
- 2025Backdoor Detection through Replicated Execution of Outsourced Training31 Mar 2025
- 2025Mixtera: A Data Plane for Foundation Model Training27 Feb 2025
- 2025Deep Learning-Based Identification of Inconsistent Method Names: How Far Are We?22 Jan 2025
- 2025Neural Network Verification is a Programming Language Challenge10 Jan 2025
- 2024What Do Machine Learning Researchers Mean by "Reproducible"?5 Dec 2024
- 2024Investigating the Impact of Randomness on Reproducibility in Computer Vision: A Study on Applications in Civil Engineering and Medicine19 Sep 2024
- 2024The Impact of Environment Configurations on the Stability of AI-Enabled Systems5 Aug 2024
- 2024How Does Quantization Affect Multilingual LLMs?3 Jul 2024
- 2024Generalizability of experimental studies25 Jun 2024
- 2024Rolling the dice for better deep learning performance: A study of randomness techniques in deep neural networks5 Apr 2024
- 2024JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Models28 Mar 2024
- 2024Optimistic Verifiable Training by Controlling Hardware Nondeterminism14 Mar 2024
- 2023On The Fairness Impacts of Hardware Selection in Machine Learning6 Dec 2023
- 2023A Survey on Stability of Learning with Limited Labelled Data and its Sensitivity to the Effects of Randomness2 Dec 2023
- 2023Elo Uncovered: Robustness and Best Practices in Language Model Evaluation29 Nov 2023
- 2023Distilling Influences to Mitigate Prediction Churn in Graph Neural Networks2 Oct 2023
- 2023Are You Worthy of My Trust?: A Socioethical Perspective on the Impacts of Trustworthy AI Systems on the Environment and Human Society18 Sep 2023
- 2023The Co-12 Recipe for Evaluating Interpretable Part-Prototype Image Classifiers26 Jul 2023
- 2023SysNoise: Exploring and Benchmarking Training-Deployment System Inconsistency1 Jul 2023
- 2023Machine Learning needs Better Randomness Standards: Randomised Smoothing and PRNG-based attacks24 Jun 2023
- 2023Evaluating the Social Impact of Generative AI Systems in Systems and Society9 Jun 2023
- 2023On the Variance of Neural Network Training with respect to Test Sets and Distributions4 Apr 2023
- 2023FAIR-Ensemble: When Fairness Naturally Emerges From Deep Ensembling1 Mar 2023
- 2023Reproducibility of Machine Learning: Terminology, Recommendations and Open Issues24 Feb 2023
- 2023Towards Inferential Reproducibility of Machine Learning Research8 Feb 2023
- 2022Instability in clinical risk stratification models using deep learning20 Nov 2022
- 2022Quantifying Social Biases Using Templates is Unreliable9 Oct 2022
- 2022On the Factory Floor: ML Engineering for Industrial-Scale Ads Recommendation Models12 Sep 2022
- 2022Power of Explanations: Towards automatic debiasing in hate speech detection7 Sep 2022
50 newest of 59 All 59 (JSON)
- 2024JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Modelscited by 536
- 2024Optimistic Verifiable Training by Controlling Hardware Nondeterminismcited by 7
- 2023Machine Learning needs Better Randomness Standards: Randomised Smoothing and PRNG-based attackscited by 6
- 2025Leveraging Per-Instance Privacy for Machine Unlearningcited by 4
- 2025Leveraging Per-Instance Privacy for Machine Unlearning24 May 2025
- 2024JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Models28 Mar 2024
- 2024Optimistic Verifiable Training by Controlling Hardware Nondeterminism14 Mar 2024
- 2023Machine Learning needs Better Randomness Standards: Randomised Smoothing and PRNG-based attacks24 Jun 2023
- 2021Deep Reinforcement Learning at the Edge of the Statistical Precipicecited by 807
- 2022Data Banzhaf: A Robust Data Valuation Framework for Machine Learningcited by 132
- 2023Evaluating the Social Impact of Generative AI Systems in Systems and Societycited by 92
- 2023Elo Uncovered: Robustness and Best Practices in Language Model Evaluationcited by 61
- 2025Understanding and Mitigating Numerical Sources of Nondeterminism in LLM Inferencecited by 53
- 2024How Does Quantization Affect Multilingual LLMs?cited by 43
- 2022Quantifying Social Biases Using Templates is Unreliablecited by 39
- 2022On the Factory Floor: ML Engineering for Industrial-Scale Ads Recommendation Modelscited by 34
- 2022Sources of Irreproducibility in Machine Learning: A Reviewcited by 32
- 2023On the Variance of Neural Network Training with respect to Test Sets and Distributionscited by 22
- 2025MAGIC: Near-Optimal Data Attribution for Deep Learningcited by 22
- 2022Reproducibility in Optimization: Theoretical Framework and Limitscited by 21
12 most cited of 50 All 50 (JSON)
- 2026Kernel-based External Validity of Experimental Studies9 Oct 2026
- 2026Zephon: Elastic Determinism for Online, Stateful Foundation Model Data Loading Pipelines2 Oct 2026
- 2026Same Probe, Different Numbers: Are Activation Probes Robust to Inference-Time Numerical Non-Determinism?25 Sep 2026
- 2026Greedy Decoding Is Not Precision-Invariant: Cross-Precision Output Divergence in LLM Inference22 Sep 2026
- 2026Silent Failures Beyond the 32-Bit Index Range: A Differential Characterization of Large-Tensor Matrix Multiplication in PyTorch's MPS Backend19 Sep 2026
- 2026A Physics-Regulated Neural Framework for Learning 3D Grain Growth Dynamics6 Jul 2026
- 2026OVIG: Optimistic Verification of AI Training Integrity via Gradient Signals19 Jun 2026
- 2026Quantifying the Impact of Lossy Compression on Neural Generative Surrogate Modeling14 Jun 2026
- 2026Bit-Identical Medical Deep Learning via Structured Orthogonal Initialization30 Mar 2026
- 2026Measuring Neural Network Complexity via Effective Degrees of Freedom13 Feb 2026
- 2025Bit-Accurate Modeling of GPU Matrix Multiply-Accumulate Units: Demystifying Numerical Discrepancy and Accuracy14 Nov 2025
- 2025RepDL: Bit-level Reproducible Deep Learning Training and Inference10 Oct 2025
12 newest of 50 All 50 (JSON)