Parallel random numbers: as easy as 1, 2, 3
The DOI matches its Crossref record; 45 of the 46 references it cites were found in a registry or an index.
Abstract
Most pseudorandom number generators (PRNGs) scale poorly to massively parallel high-performance computation because they are designed as sequentially dependent state transformations. We demonstrate that independent, keyed transformations of counters produce a large alternative class of PRNGs with excellent statistical properties (long period, no discernable structure or correlation). These counter-based PRNGs are ideally suited to modern multi-core CPUs, GPUs, clusters, and special-purpose hardware because they vectorize and parallelize well, and require little or no memory for state. We introduce several counter-based PRNGs: some based on cryptographic standards (AES, Threefish) and some completely new (Philox). All our PRNGs pass rigorous statistical tests (including TestU01's BigCrush) and produce at least 264 unique parallel streams of random numbers, each with period 2128 or more. In addition to essentially unlimited parallel scalability, our PRNGs offer excellent single-chip performance: Philox is faster than the CURAND library on a single NVIDIA GPU.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“This is somewhat surprising given that only 10 rounds are recommended for the original Philox cipher in the PRNG setting [56].”
From Bandwidth-Optimal Random Shuffling for GPUs (2022) · cites this paper as [56]
In the citing paper
“The Philox and Threefry generators are shown to produce at least 2 64 independent streams of random numbers, with a period of 2 128 or more, and pass BigCrush [36] statistical tests.”
From Bandwidth-Optimal Random Shuffling for GPUs (2022) · cites this paper as [56]
Citations
Cites
The Art of Computer Programming
Knuth, D. E. (1968) · Cited by 16,320
Press, W. H., Teukolsky, S. A., Vetterling, W. T., & Flannery, B. P. (1994) · Cited by 15,411
Communication Theory of Secrecy Systems
Shannon, C. E. (1949) · Bell System Technical Journal · doi:10.1002/j.1538-7305.1949.tb00928.x · Cited by 9,440 · cited 1×
“The property of producing highly random output from highly regular input is known as “diffusion” in the cryptographic literature, and is considered an essential property of any cryptographic cipher [39].”
The Art of Computer Programming
Whitesides, G. E. (1970) · Nuclear Science and Engineering · doi:10.13182/nse70-a19705 · Cited by 6,008
Mersenne twister: a 623-dimensionally equidistributed uniform pseudo-random number generator
Matsumoto, M., & Nishimura, T. (1998) · ACM Transactions on Modeling and Computer Simulation · doi:10.1145/272991.272995 · Cited by 5,780
The Art of Computer Programming. Volume 2: Seminumerical Algorithms.
Taussky, O., & Knuth, D. E. (1970) · The American Mathematical Monthly · doi:10.2307/2317055 · Cited by 3,822
Bassham, L. E., Rukhin, A. L., Soto, J., Nechvatal, J. R., Smid, M. E., Barker, E. B., Leigh, S. D., Levenson, M., Vangel, M., Banks, D. L., et al. (2010) · NIST Special Publication 800-22 Revision 1a · doi:10.6028/nist.sp.800-22r1a · Cited by 3,617 · cited 1×
“[4, 20, 26, 38], but the most comprehensive is TestU01 [24], which provides a consistent framework as well as batteries”
Atomic-level characterization of the structural dynamics of proteins
Shaw, D. E., Maragakis, P., Lindorff-Larsen, K., Piana, S., Dror, R. O., Eastwood, M. P., Bank, J. A., Jumper, J. M., Salmon, J. K., Shan, Y., et al. (2010) · Science · doi:10.1126/science.1187409 · Cited by 1,923
Self-citationRukhin, A., Sota, J., Nechvatal, J., Smid, M., Barker, E., Leigh, S., Levenson, M., Vangel, M., Banks, D., Heckert, A., et al. (2000) · doi:10.6028/nist.sp.800-22 · Cited by 1,867
Kalos, M. H., & Whitlock, P. A. (1986) · Wiley eBooks · doi:10.1002/9783527617395 · Cited by 1,546
Research works printed but not linked: 3
- S. Gueron . Intel Advanced Encryption Standard (AES) instructions set. Technical report , Intel , 2010 . S. Gueron. Intel Advanced Encryption Standard (AES) instructions set. Technical report, Intel, 2010.
- National Bureau of Standards. Data Encryption Standard. FIPS PUB 46--3 , 1977 . National Bureau of Standards. Data Encryption Standard. FIPS PUB 46--3, 1977.
- J. von Neuman . Various techniques used in connection with random digits. In A. Householder, G. Forsythe, and H. Germond, editors, Monte Carlo Method , Applied Math Series , Volume 11 , pages 36 -- 38 . National Bureau of Standards , 1951 . J. von Neuman. Various techniques used in connection with random digits. In A. Householder, G. Forsythe, and H. Germond, editors, Monte Carlo Method, Applied Math Series, Volume 11, pages 36--38. National Bureau of Standards, 1951.
Cited by
Harris, C., Millman, K., van der Walt, S., Gommers, R., Virtanen, P., Cournapeau, D., Wieser, E., Taylor, J., Berg, S., Smith, N., et al. (2020) · RePEc: Research Papers in Economics · Cited by 17,844
Advances and Open Problems in Federated Learning
Kairouz, P., McMahan, H. B., Avent, B., Bellet, A., Bennis, M., Bhagoji, A. N., Bonawitz, K., Charles, Z., Cormode, G., Cummings, R., et al. (2019) · arXiv · doi:10.48550/arxiv.1912.04977 · Cited by 7,857
Advances and Open Problems in Federated Learning
Kairouz, P., & McMahan, H. B. (2021) · Foundations and Trends in Machine Learning · doi:10.1561/2200000083 · Cited by 7,772
“Robust and efficient PRNGs based on standard cryptographic primitives exist that have output rate of gigabytes per second on modern CPUs and require a seed as short as 128 bits [343].”
BackgroundBackground Subtraction with DirichletProcess Mixture Models
Haines, T. S. F., & Xiang, T. (2014) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2013.239 · Cited by 211
“Update the model using Gibbs sampling—random number generation is handled via the Philox algorithm [39].”
MethodMedical imaging deep learning with differential privacy
Ziller, A., Usynin, D., Braren, R., Makowski, M., Rueckert, D., & Kaissis, G. (2021) · Scientific Reports · doi:10.1038/s41598-021-93030-0 · Cited by 172
“The system is supplemented by a cryptographically secure random number generator 35 suitable for use on the graphics processing unit and capable of parallelising the random noise generation step of the DP-SGD algorithm.”
Method
Metadata
- Authors
- Salmon, J. K., Moraes, M. A., Dror, R. O., & Shaw, D. E.
- Affiliations
- D. E. Shaw Research (US)
- Venue
- Proceedings of 2011 International Conference for High Performance Computing, Networking, Storage and Analysis
- Publisher
- ACM
- Published
- 2011-11-12
- Pages
- 1-12
- ISSN
- 2167-4337 (ISSN-L)
- OpenAlex
- W2075075402
- Semantic Scholar
- 7a1bc9d13c484610133ee50ac3126f5adc5b29b9
- Cited by
- 227
- References
- 46
- Citations by year
- 2026: 13 · 2025: 11 · 2024: 15 · 2023: 11 · 2022: 17 · 2021: 25 · 2020: 19 · 2019: 10 · 2018: 13 · 2017: 16 · 2016: 11 · 2015: 22 · 2014: 26 · 2013: 9 · 2012: 9
- FWCI
- 37.93
- Type
- conference paper
- Language
- en
- Open access
- closed
- Locations
- International Conference for High Performance Computing, Networking, Storage and Analysis (SC) (publishedVersion)
- Topics
- Physical Sciences › Mathematics › Numerical Analysis › Mathematical Approximation and Integration
- Physical Sciences › Computer Science › Hardware and Architecture › Parallel Computing and Optimization Techniques
- Physical Sciences › Computer Science › Artificial Intelligence › Cryptographic Implementations and Security
- Keywords
- pseudorandom number generators, parallel random number generation, vectorization, multi-core processors, parallel streams, randomness testing
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.