Pith. sign in

REVIEW 3 cited by

Reproducibility, energy efficiency and performance of pseudorandom number generators in machine learning: a comparative study of python, numpy, tensorflow, and pytorch implementations

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2401.17345 v2 pith:27VRVUAD submitted 2024-01-30 cs.MS cs.LG

classification cs.MScs.LG
keywords energylearningmachinereproducibilityalgorithmsefficiencygeneratorsimplementations
verification ladder T0 review T1 audit T2 compute T3 formal

Signed reviews

No signed human review yet.

0 comments
read the original abstract

Pseudo-Random Number Generators (PRNGs) have become ubiquitous in machine learning technologies because they are interesting for numerous methods. The field of machine learning holds the potential for substantial advancements across various domains, as exemplified by recent breakthroughs in Large Language Models (LLMs). However, despite the growing interest, persistent concerns include issues related to reproducibility and energy consumption. Reproducibility is crucial for robust scientific inquiry and explainability, while energy efficiency underscores the imperative to conserve finite global resources. This study delves into the investigation of whether the leading Pseudo-Random Number Generators (PRNGs) employed in machine learning languages, libraries, and frameworks uphold statistical quality and numerical reproducibility when compared to the original C implementation of the respective PRNG algorithms. Additionally, we aim to evaluate the time efficiency and energy consumption of various implementations. Our experiments encompass Python, NumPy, TensorFlow, and PyTorch, utilizing the Mersenne Twister, PCG, and Philox algorithms. Remarkably, we verified that the temporal performance of machine learning technologies closely aligns with that of C-based implementations, with instances of achieving even superior performances. On the other hand, it is noteworthy that ML technologies consumed only 10% more energy than their C-implementation counterparts. However, while statistical quality was found to be comparable, achieving numerical reproducibility across different platforms for identical seeds and algorithms was not achieved.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 3 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Energy-Efficient Sampling Using Stochastic Magnetic Tunnel Junctions

    physics.comp-ph 2024-12 conditional novelty 6.0 of 10

    A bit-by-bit configuration of stochastic magnetic tunnel junctions produces uniform Float16 samples and enables low-energy sampling from arbitrary 1D distributions.

  2. Generating Energy-Efficient Code via Large-Language Models -- Where are we now?

    cs.SE 2025-09 conditional novelty 5.0 of 10

    Across 363 solutions on three hardware platforms, no LLM consistently matched a green software expert's energy efficiency, though some LLM-prompt combinations beat ordinary human code.

  3. Improving the Reproducibility of Deep Learning Software: An Initial Investigation through a Case Study Analysis

    cs.LG 2025-05 conditional novelty 5.0 of 10

    The authors reproduce the TRUNK neural network across three datasets, find that missing training details cause large accuracy gaps, and extend existing reproducibility guidelines with sensitivity analysis and minimal ...

Pith tools