mlsanityData to 14 Oct 2026

Statistical Quality and Reproducibility of Pseudorandom Number Generators in Machine Learning technologies

arXiv 2507.03007 ↗First posted 2 Jul 2025cs.OH cs.CR cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Machine learning (ML) frameworks rely heavily on pseudorandom number generators (PRNGs) for tasks such as data shuffling, weight initialization, dropout, and optimization. Yet, the statistical quality and reproducibility of these generators-particularly when integrated into frameworks like PyTorch, TensorFlow, and NumPy-are underexplored. In this paper, we compare the statistical quality of PRNGs used in ML frameworks (Mersenne Twister, PCG, and Philox) against their original C implementations. Using the rigorous TestU01 BigCrush test suite, we evaluate 896 independent random streams for each generator. Our findings challenge claims of statistical robustness, revealing that even generators labeled ''crush-resistant'' (e.g., PCG, Philox) may fail certain statistical tests. Surprisingly, we can observe some differences in failure profiles between the native and framework-integrated versions of the same algorithm, highlighting some implementation differences that may exist.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 14 of its 31 references that are in the map. First posted on arXiv 2 Jul 2025.

Builds on

14 of 31 references.

References · 14

  1. 2022Exploration in Deep Reinforcement Learning: A Surveycited by 166
  2. 2020Depth Uncertainty in Neural Networkscited by 57
  3. 2022Sources of Irreproducibility in Machine Learning: A Reviewcited by 32
  4. 2021From Local Pseudorandom Generators to Hardness of Learningcited by 24
  5. 2022Bayesian Learning for Neural Networks: an algorithmic surveycited by 23
  6. 2017Bootstrapping the Out-of-sample Predictions for Efficient and Accurate Cross-Validationcited by 12
  7. 2018Scrambled Linear Pseudorandom Number Generatorscited by 12
  8. 2022Generalizability of Machine Learning Models: Quantitative Evaluation of Three Methodological Pitfallscited by 12
  9. 2023Transformer-based Generative Adversarial Networks in Computer Vision: A Comprehensive Surveycited by 10
  10. 2024Reproducibility, Replicability, and Repeatability: A survey of reproducible research with a focus on high performance computingcited by 8
  11. 2021Noise Optimization for Artificial Neural Networkscited by 7
  12. 2023Machine Learning needs Better Randomness Standards: Randomised Smoothing and PRNG-based attackscited by 6
2 more
  1. 2023Analyzing drop coalescence in microfluidic device with a deep learning generative modelcited by 2
  2. 2024Identifying Quality Mersenne Twister Streams For Parallel Stochastic Simulationscited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.