Ascertain correctness of PRNG implementations across machine learning frameworks
Ascertain whether the pseudorandom number generator implementations used in Python, NumPy (Generator with MT, Philox, and PCG), TensorFlow (Philox-based Generator), and PyTorch correctly implement their claimed algorithms by developing a reliable verification procedure that remains valid even when identical seeds do not yield identical sequences across technologies due to differing seed-to-state initialization functions.
References
From what has been discovered comes more questions: if the loss of reproducibility does not come from the seeding functions, this leads us to a critical inquiry: how can we ascertain that the algorithm in use is a correct implementation of the generator? For us, this is an open question.
— Reproducibility, energy efficiency and performance of pseudorandom number generators in machine learning: a comparative study of python, numpy, tensorflow, and pytorch implementations
(2401.17345 - Antunes et al., 2024) in Section 5 DISCUSSIONS