Improving randomness characterization through Bayesian model selection

Abstract Random number generation plays an essential role in technology with important applications in areas ranging from cryptography to Monte Carlo methods, and other probabilistic algorithms. All such applications require high-quality sources of random numbers, yet effective methods for assessing...

Full description

Saved in:
Bibliographic Details
Main Authors: Rafael Díaz Hernández Rojas, Aldo Solís, Alí M. Angulo Martínez, Alfred B. U’Ren, Jorge G. Hirsch, Matteo Marsili, Isaac Pérez Castillo
Format: article
Language:EN
Published: Nature Portfolio 2017
Subjects:
R
Q
Online Access:https://doaj.org/article/db59a8118f7d43a0a4495ce43f1ca6af
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:Abstract Random number generation plays an essential role in technology with important applications in areas ranging from cryptography to Monte Carlo methods, and other probabilistic algorithms. All such applications require high-quality sources of random numbers, yet effective methods for assessing whether a source produce truly random sequences are still missing. Current methods either do not rely on a formal description of randomness (NIST test suite) on the one hand, or are inapplicable in principle (the characterization derived from the Algorithmic Theory of Information), on the other, for they require testing all the possible computer programs that could produce the sequence to be analysed. Here we present a rigorous method that overcomes these problems based on Bayesian model selection. We derive analytic expressions for a model’s likelihood which is then used to compute its posterior distribution. Our method proves to be more rigorous than NIST’s suite and Borel-Normality criterion and its implementation is straightforward. We applied our method to an experimental device based on the process of spontaneous parametric downconversion to confirm it behaves as a genuine quantum random number generator. As our approach relies on Bayesian inference our scheme transcends individual sequence analysis, leading to a characterization of the source itself.