Transformer models classify random numbers
<|reference_start|>Transformer models classify random numbers: Random numbers are incredibly important in a variety of fields, and the need for their validation remains important. A Quantum Random Number Generator (QRNG) can theoretically generate truly random numbers however this does not remove the need to thoroughly test their randomness. Generally, the task of validating random numbers has been delegated to different statistical tests such as the tests from the NIST Statistical Test Suite (STS) which are often slow and only perform one task at a time. Our work presents a deep learning model that utilizes the transformer architecture to encode some of the tests from the NIST STS in a single model that also runs much faster. This model performs multi-label classification on these tests and outputs the probability of passing each statistical test that it encodes. We perform a thorough hyper-parameter optimization to converge on the best possible model and as a result, achieve a high degree of accuracy with a sample f1 score of above 0.9.<|reference_end|>
@article{goel2024transformer,
    title={Transformer models as an efficient replacement for statistical test
  suites to evaluate the quality of random numbers},
    author={Rishabh Goel, YiZi Xiao, Ramin Ramezani},
    journal={arXiv preprint arXiv:2405.03904},
    year={2024},
    archivePrefix={arXiv},
    eprint={2405.03904},
    primaryClass={cs.LG}
}