Papers › Randomness In Neural Network Training: Characterizing The Impact of Tooling

Randomness In Neural Network Training: Characterizing The Impact of Tooling

22 Jun 2021arXiv:2106.11872archive 2025-07-28

Donglin Zhuang, Xingyao Zhang, Shuaiwen Leon Song, Sara Hooker

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2106.11872")

Code

Syntology Ran 0 of 14 code samples harvested from 1 repository linked to this paper; 14 have no recorded run.

By repository: official repository: 14 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

usyd-fsalab/NeuralNetworkRandomness officialmentioned in papermentioned on GitHubtfMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 0 ran; 0 honoured the contract we drafted; 14 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

14unverified

Licence: 0 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from usyd-fsalab/NeuralNetworkRandomness. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

MediumCNN usyd-fsalab/NeuralNetworkRandomness/src/common/cnns.py official repository unverified MIT (permissive) · b587e238a34a5ea6 · report
ResidualBlock usyd-fsalab/NeuralNetworkRandomness/src/common/resnet.py official repository unverified MIT (permissive) · 11da740fe6395a4a · report
celebA_transform usyd-fsalab/NeuralNetworkRandomness/src/training_script/resnet_celeba.py official repository unverified MIT (permissive) · 7ceef7834e740164 · report
cifar_data_preprocessing usyd-fsalab/NeuralNetworkRandomness/src/common/input_pipeline.py official repository unverified MIT (permissive) · 52b7a2ba9ec2f57c · report
cifar_random_crop_and_flip usyd-fsalab/NeuralNetworkRandomness/src/common/input_pipeline.py official repository unverified MIT (permissive) · 6ec7fa06967e3f07 · report
conv2d_bn usyd-fsalab/NeuralNetworkRandomness/src/common/resnet.py official repository unverified MIT (permissive) · 98b375ca4e1053fc · report
conv2d_bn_relu usyd-fsalab/NeuralNetworkRandomness/src/common/resnet.py official repository unverified MIT (permissive) · be3aecbe3c13892c · report
get_standard_deviation_of_accuracy usyd-fsalab/NeuralNetworkRandomness/run_ae.py official repository unverified MIT (permissive) · e120ab8759b2766a · report
get_standard_deviation_of_fnr usyd-fsalab/NeuralNetworkRandomness/run_ae.py official repository unverified MIT (permissive) · 7e9d8b95a3c7afeb · report
get_standard_deviation_of_fpr usyd-fsalab/NeuralNetworkRandomness/run_ae.py official repository unverified MIT (permissive) · b990fe5855fdceff · report
horizontal_flip usyd-fsalab/NeuralNetworkRandomness/src/common/input_pipeline.py official repository unverified MIT (permissive) · eafcda6bb13a0e7c · report
lr_schedule usyd-fsalab/NeuralNetworkRandomness/src/training_script/smallcnn.py official repository unverified MIT (permissive) · 9f3fb2653030c316 · report
lr_scheduler usyd-fsalab/NeuralNetworkRandomness/src/training_script/resnet_celeba.py official repository unverified MIT (permissive) · 384218efc7e9fdd8 · report
preprocess_image usyd-fsalab/NeuralNetworkRandomness/src/training_script/smallcnn.py official repository unverified MIT (permissive) · 0c8bdadaba87adfd · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections