The influence of the random numbers quality on the results in stochastic simulations and machine learning
Benjamin A. Antunes (LIRMM | DALI)

TL;DR
This study evaluates how the statistical quality of pseudorandom number generators affects outcomes in stochastic simulations and machine learning tasks, revealing that poor-quality generators can cause significant errors, while high-quality ones generally do not.
Contribution
It provides a comprehensive empirical analysis of the impact of PRNG quality on various stochastic applications, highlighting thresholds for acceptable generator quality.
Findings
Poor-quality PRNGs significantly alter simulation results and ML performance.
Mid-quality PRNGs perform comparably to high-quality generators in most tasks.
Performance degradation in RL tasks correlates with PRNG statistical deficiencies.
Abstract
Pseudorandom number generators (PRNGs) are ubiquitous in stochastic simulations and machine learning (ML), where they drive sampling, parameter initialization, regularization, and data shuffling. While widely used, the potential impact of PRNG statistical quality on computational results remains underexplored. In this study, we investigate whether differences in PRNG quality, as measured by standard statistical test suites, can influence outcomes in representative stochastic applications. Seven PRNGs were evaluated, ranging from low-quality linear congruential generators (LCGs) with known statistical deficiencies to high-quality generators such as Mersenne Twister, PCG, and Philox. We applied these PRNGs to four distinct tasks: an epidemiological agent-based model (ABM), two independent from-scratch MNIST classification implementations (Python/NumPy and C++), and a reinforcement…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsChaos-based Image/Signal Encryption · Adversarial Robustness in Machine Learning · Error Correcting Code Techniques
