Skip to main content
QUICK REVIEW

[Paper Review] Reliable Initialization of GPU-enabled Parallel Stochastic Simulations Using Mersenne Twister for Graphics Processors

Jonathan Passerat‐Palmbach, Claude Mazel|arXiv (Cornell University)|Jan 30, 2015
Chaos-based Image/Signal EncryptionComputer Science4 references13 citations
TL;DR

This paper proposes reliable initialization parameters for the Mersenne Twister for Graphics Processors (MTGP), a PRNG optimized for GPU-based parallel stochastic simulations. By rigorously testing MTGP configurations using the BigCrush battery from TestU01, the authors identify parameter sets that ensure high-quality random number sequences across multiple GPU threads, minimizing bias in high-performance computing applications.

ABSTRACT

Parallel stochastic simulations tend to exploit more and more computing power and they are now also developed for General Purpose Graphics Process Units (GP-GPUs). Conse-quently, they need reliable random sources to feed their applications. We propose a survey of the current Pseudo Random Numbers Generators (PRNG) available on GPU. We give a particular focus to the recent Mersenne Twister for Graphics Processors (MTGP) that has just been released. Our work provides empirically checked statuses designed to initialize a particular configuration of this generator, in order to prevent any potential bias introduced by the parallelization of the PRNG.

Motivation & Objective

  • To address the challenge of biased random number generation in parallel stochastic simulations running on GPU architectures.
  • To evaluate the quality of the Mersenne Twister for Graphics Processors (MTGP) as a PRNG for high-performance GPU computing.
  • To identify and provide empirically validated parameter sets for MTGP that ensure statistical robustness across multiple parallel streams.
  • To reduce memory overhead in hybrid simulations by selecting minimal-period MTGP configurations that still pass stringent statistical tests.
  • To enable researchers to safely initialize MTGP without introducing algorithmic bias in GPU-accelerated simulations.

Proposed method

  • Surveyed existing PRNG implementations for GPU, focusing on parameterized generators like MTGP.
  • Evaluated MTGP using the BigCrush test suite from TestU01, the most rigorous statistical test battery available.
  • Systematically varied key parameters including period length, tempering matrix, and internal state configuration.
  • Compared MTGP performance against the original Mersenne Twister (MT) to isolate algorithm-specific weaknesses.
  • Identified and retained only MTGP parameter configurations that passed all BigCrush tests, ensuring statistical reliability.
  • Proposed a generic object model for representing PRNGs with distinct seeds and parameters, enabling reproducible initialization.

Experimental results

Research questions

  • RQ1Which MTGP parameter configurations produce statistically robust random number sequences suitable for GPU-based parallel stochastic simulations?
  • RQ2How does the period length of MTGP affect its statistical quality under rigorous testing?
  • RQ3To what extent do algorithmic differences between MTGP and the original Mersenne Twister impact PRNG reliability in parallel execution?
  • RQ4Can minimal-period MTGP configurations be safely used in GPU simulations without introducing statistical bias?
  • RQ5How do different initialization strategies affect the quality of random streams in a multi-block GPU thread environment?

Key findings

  • 99.5% of MTGP configurations with a period of 2^23209 passed both BigCrush tests 35 (sknuth_gap) and 100 without failure.
  • Only 0.05% of MTGP statuses showed suspect p-values in the BigCrush test suite, indicating high reliability for long-period configurations.
  • When compared to the original Mersenne Twister, 99.9% of MT configurations passed the same tests, while only 64% of MTGP configurations with a shorter period (2^3217) passed.
  • The study confirmed that longer periods significantly improve sequence distribution quality and reduce the risk of statistical bias in MTGP.
  • MTGP exhibits algorithmic weaknesses when configured with shorter periods, despite being designed for GPU parallelism.
  • The authors identified and released a set of validated, minimal-period MTGP parameter configurations that pass BigCrush, enabling memory-efficient GPU simulations without sacrificing randomness quality.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.