Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

IEEE Transactions on Information Forensics and Security

Deep Learning-Based Security Analysis of Quantum Random Numbers Generated by Imperfect Devices

Jian Cao, Minghui Zhang, Weiqi Liu, Lin Wang, Jinye Peng

Published Jan 1, 2024• 6 citations
Publisher

Abstract

The quantum random number generator (QRNG) is theoretically capable of generating unpredictable random numbers based on the inherent uncertainty of quantum mechanics, which is of paramount importance for information security. However, the security of practical QRNG is susceptible to the influence of unknown classical noise introduced by imperfect measurement devices, leading to potential security threats. In this paper, we propose a deep learning-based prediction model for analyzing the bidirectional security of QRNG where the quantum source is contaminated by classical noise. Firstly, we train a deep learning model capable of evaluating the randomness of mixed entropy source composed of quantum source and classical source, which exhibits excellent performance and effectively avoids the limitations of Statistical tests in evaluating the randomness of the mixture of quantum and classical source results. Secondly, systematically analyzes the impact of non-ideal measurement devices on the practical security of the continuous variable QRNG, which provides an explicit basis for compensating the discrepancy between theory and experiment. Finally, we perform correlation detection on QRNG output sequences with a deep learning model and focus on both the forward and backward security of random numbers. Through bidirectional security detection, random number sequences that may be biased or manipulated can be more accurately and comprehensively evaluated, further preventing potential correlations from opening security holes for eavesdroppers.

DOI
10.1109/tifs.2024.3445169

Related papers

Machine Learning Cryptanalysis of a Quantum Random Number Generator

Nhan Duy Truong, Jing Yan Haw, Syed M. Assad +2 more

Random number generators (RNGs) that are crucial for cryptographic applications have been the subject of adversarial attacks. These attacks exploit environmental information to predict generated random numbers that are supposed to be truly random and unpredictable. Though quantum random number generators (QRNGs) are based on the intrinsic indeterministic nature of quantum properties, the presence of classical noise in the measurement process compromises the integrity of a QRNG. In this paper, we develop a predictive machine learning (ML) analysis to investigate the impact of deterministic classical noise in different stages of an optical continuous variable QRNG. Our ML model successfully detects inherent correlations when the deterministic noise sources are prominent. After appropriate filtering and randomness extraction processes are introduced, our QRNG system, in turn, demonstrates its robustness against ML. We further demonstrate the robustness of our ML approach by applying it to uniformly distributed random numbers from the QRNG and a congruential RNG. Hence, our result shows that ML has potentials in benchmarking the quality of RNG devices.

arXiv:1905.02342•IEEE Transactions on Information Forensics and Security•Jun 26, 2018•78 citations

Practical security analysis of a continuous-variable quantum random-number generator with a noisy local oscillator

Weinan Huang, Yichen Zhang, Ziyong Zheng +3 more

A quantum random-number generator (QRNG) can theoretically generate unpredictable random numbers with perfect devices and is an ideal and secure source of random numbers for cryptography. However, the practical implementations always contain imperfections, which will greatly influence the randomness of the final output and even open loopholes to eavesdroppers. Recently, Thewes et al. experimentally demonstrated a continuous-variable eavesdropping attack, based on heterodyne detection, on a trusted continuous-variable QRNG in Phys. Rev. A 100, 052318 (2019), yet like in many other practical continuous-variable QRNG studies, they always supposed the local oscillator was stable and ignored its fluctuation, which might lead to security threats such as wavelength attack. In this work, based on the theory of the conditional min-entropy, imperfections of the practical security of continuous-variable QRNGs are systematically analyzed, especially the local oscillator fluctuation under imbalanced homodyne detection. Experiments of a practical QRNG based on vacuum fluctuation are demonstrated to show the influence of local oscillator fluctuation on the total measurement noise variances and the practical conditional min-entropy with beam splitters of different transmittances. Moreover, a local oscillator monitoring method is proposed for the practical continuous-variable QRNG, which can be used to calibrate the practical conditional min-entropy.

arXiv:2007.02769•Physical Review A•Jul 21, 2020•24 citations

Machine Learning-Based Randomness Analysis For a Auantum Random Number Generator

Wanlin Du, Ling Wang, Yuanzhe Zhu +1 more

Random numbers are critical to information security. Quantum random numbers are theoretically truly random and unpredictable. However, the measurement process of a quantum random number generator (QRNG) can be affected by environmental disturbances that compromise the integrity of the generated random numbers. A machine learning model is proposed to assess the stochasticity of the continuous variable QRNG under the influence of vacuum noise. The model is designed to detect the correlation between the randomness of the QRNG being corrupted under the influence of classical noise (electrical noise). In addition, our model detects a decrease in the randomness of the QRNG random numbers when the electrical noise intensity increases to a certain correlation. The results show that machine learning (ML) can be used as a measure of the quality of QRNG.

Journal of Physics Conference Series•Sep 1, 2024•0 citations

High speed continuous variable source-independent quantum random number generation

Bingjie Xu, Ziyang Chen, Zhengyu Li +5 more

As a fundamental phenomenon in nature, randomness has a wide range of applications in the fields of science and engineering. Among different types of random number generators (RNG), quantum random number generator (QRNG) is a kind of promising RNG as it can provide provable true random numbers based on the inherent randomness of fundamental quantum processes. Nevertheless, the randomness from a QRNG can be diminished (or even destroyed) if the devices (especially the entropy source devices) are not perfect or ill-characterized. To eliminate the practical security loopholes from the source, source-independent QRNGs, which allow the source to have arbitrary and unknown dimensions, have been introduced and become one of the most important semi-device-independent (DI) QRNGs. Herein a method that enables ultra-fast unpredictable quantum random number generation from quadrature fluctuations of quantum optical field without any assumptions on the input states is proposed. Particularly, to estimate a lower bound on the extractable randomness that is independent from side information held by an eavesdropper, a new security analysis framework is established based on the extremality of Gaussian states, which can be easily extended to design and analyze new semi-DI continuous variable QRNG protocols. Moreover, the practical imperfections of the QRNG including the effects of excess noise, finite sampling range, finite resolution and asymmetric conjugate quadratures are taken into account and quantitatively analyzed. Finally, the proposed method is experimentally demonstrated to obtain high secure random number generation rates of 15.07 Gbits s −1 in off-line configuration and can potentially achieve 6 Gbits s −1 by real-time post-processing.

arXiv:1709.00685•Quantum Science and Technology•Apr 1, 2019•77 citations

Practical attack on a quantum random-number generator via injection of source-signal fluctuations

Beibei Zhang, Lang Li, Yuehan Xu +5 more

Quantum random-number generators (QRNGs), which exploit quantum mechanical effects to produce truly random numbers, are extensively used in information security and cryptography. Despite their inherent randomness, practical implementations of QRNGs, particularly those based on CMOS sensors, face security challenges due to device imperfections and external interference. This paper investigates the security vulnerabilities of QRNG systems against source-signal-injection attacks, specifically focusing on electrical signal fluctuations that modulate the intensity of the light source. This modulation induces subtle classical fluctuations in the photon-detection process, which are misinterpreted by legitimate users as quantum noise. This leads to an overestimation of secure entropy, compromising the security of the system. We demonstrate the effectiveness of the attack through experimental design and implementation, simulating practical-attack scenarios and assessing the impact on the entropy of generated random numbers. Our experiments reveal that while the altered random numbers can still pass National Institute of Standards and Technology (NIST) tests, the attacker can extract additional entropy without significantly affecting the statistical properties of the random numbers. To mitigate these risks, we introduce a defense mechanism that sets an entropy-threshold range and continuously monitors entropy variations, effectively preventing classical fluctuations from being misinterpreted as secure entropy. These findings hopefully provide critical insights for enhancing the reliability and security of QRNG systems in future large-scale quantum security applications.

Physical Review Applied•Jul 2, 2025•14 citations

Practical security analysis of a continuous-variable source-independent quantum random number generator based on heterodyne detection

Yuanhao Li, Yangyang Fei, Weilong Wang +5 more

Heterodyne-based continuous-variable source-independent quantum random number generator (CV-SI-QRNG) can produce true random numbers without any assumptions on source. However, practical implementations always contain imperfections, which will greatly influence the extractable randomness and even open loopholes for eavesdroppers to steal information about the final output. In this work, based on the theoretical model, we systematically analyzed the effects of imperfect implementations on the practical security of heterodyne-based CV-SI-QRNG. The influences of local oscillator (LO) fluctuation under imbalanced heterodyne detection are first analyzed. The simulation results show that the lower bound of extractable randomness will be overestimated without considering the influence of LO fluctuation, which will threaten the practical security of CV-SI-QRNG system. Moreover, we analyze the effects of the degree of imbalance and the magnitude of LO fluctuation on evaluating the extractable randomness. Finally, we investigate the impact of an imperfect phase modulator on the practical security of CV-SI-QRNG and find it will reduce the extractable randomness. Our analysis reveals that one should carefully consider the imperfections in the actual implementations of CV-SI-QRNGs.

Optics Express•Jul 3, 2023•15 citations
The quantum random number generator (QRNG) is theoretically capable of generating unpredictable random numbers based on the inherent uncertainty of quantum mechanics, which is of paramount importance for information security. However, the security of practical QRNG is susceptible to the influence of unknown classical noise introduced by imperfect measurement devices, leading to potential security threats. In this paper, we propose a deep learning-based prediction model for analyzing the bidirectional security of QRNG where the quantum source is contaminated by classical noise. Firstly, we train a deep learning model capable of evaluating the randomness of mixed entropy source composed of quantum source and classical source, which exhibits excellent performance and effectively avoids the limitations of Statistical tests in evaluating the randomness of the mixture of quantum and classical source results. Secondly, systematically analyzes the impact of non-ideal measurement devices on the practical security of the continuous variable QRNG, which provides an explicit basis for compensating the discrepancy between theory and experiment. Finally, we perform correlation detection on QRNG output sequences with a deep learning model and focus on both the forward and backward security of random numbers. Through bidirectional security detection, random number sequences that may be biased or manipulated can be more accurately and comprehensively evaluated, further preventing potential correlations from opening security holes for eavesdroppers.
Random number generators (RNGs) that are crucial for cryptographic applications have been the subject of adversarial attacks. These attacks exploit environmental information to predict generated random numbers that are supposed to be truly random and unpredictable. Though quantum random number generators (QRNGs) are based on the intrinsic indeterministic nature of quantum properties, the presence of classical noise in the measurement process compromises the integrity of a QRNG. In this paper, we develop a predictive machine learning (ML) analysis to investigate the impact of deterministic classical noise in different stages of an optical continuous variable QRNG. Our ML model successfully detects inherent correlations when the deterministic noise sources are prominent. After appropriate filtering and randomness extraction processes are introduced, our QRNG system, in turn, demonstrates its robustness against ML. We further demonstrate the robustness of our ML approach by applying it to uniformly distributed random numbers from the QRNG and a congruential RNG. Hence, our result shows that ML has potentials in benchmarking the quality of RNG devices.
A quantum random-number generator (QRNG) can theoretically generate unpredictable random numbers with perfect devices and is an ideal and secure source of random numbers for cryptography. However, the practical implementations always contain imperfections, which will greatly influence the randomness of the final output and even open loopholes to eavesdroppers. Recently, Thewes et al. experimentally demonstrated a continuous-variable eavesdropping attack, based on heterodyne detection, on a trusted continuous-variable QRNG in Phys. Rev. A 100, 052318 (2019), yet like in many other practical continuous-variable QRNG studies, they always supposed the local oscillator was stable and ignored its fluctuation, which might lead to security threats such as wavelength attack. In this work, based on the theory of the conditional min-entropy, imperfections of the practical security of continuous-variable QRNGs are systematically analyzed, especially the local oscillator fluctuation under imbalanced homodyne detection. Experiments of a practical QRNG based on vacuum fluctuation are demonstrated to show the influence of local oscillator fluctuation on the total measurement noise variances and the practical conditional min-entropy with beam splitters of different transmittances. Moreover, a local oscillator monitoring method is proposed for the practical continuous-variable QRNG, which can be used to calibrate the practical conditional min-entropy.
Random numbers are critical to information security. Quantum random numbers are theoretically truly random and unpredictable. However, the measurement process of a quantum random number generator (QRNG) can be affected by environmental disturbances that compromise the integrity of the generated random numbers. A machine learning model is proposed to assess the stochasticity of the continuous variable QRNG under the influence of vacuum noise. The model is designed to detect the correlation between the randomness of the QRNG being corrupted under the influence of classical noise (electrical noise). In addition, our model detects a decrease in the randomness of the QRNG random numbers when the electrical noise intensity increases to a certain correlation. The results show that machine learning (ML) can be used as a measure of the quality of QRNG.
As a fundamental phenomenon in nature, randomness has a wide range of applications in the fields of science and engineering. Among different types of random number generators (RNG), quantum random number generator (QRNG) is a kind of promising RNG as it can provide provable true random numbers based on the inherent randomness of fundamental quantum processes. Nevertheless, the randomness from a QRNG can be diminished (or even destroyed) if the devices (especially the entropy source devices) are not perfect or ill-characterized. To eliminate the practical security loopholes from the source, source-independent QRNGs, which allow the source to have arbitrary and unknown dimensions, have been introduced and become one of the most important semi-device-independent (DI) QRNGs. Herein a method that enables ultra-fast unpredictable quantum random number generation from quadrature fluctuations of quantum optical field without any assumptions on the input states is proposed. Particularly, to estimate a lower bound on the extractable randomness that is independent from side information held by an eavesdropper, a new security analysis framework is established based on the extremality of Gaussian states, which can be easily extended to design and analyze new semi-DI continuous variable QRNG protocols. Moreover, the practical imperfections of the QRNG including the effects of excess noise, finite sampling range, finite resolution and asymmetric conjugate quadratures are taken into account and quantitatively analyzed. Finally, the proposed method is experimentally demonstrated to obtain high secure random number generation rates of 15.07 Gbits s −1 in off-line configuration and can potentially achieve 6 Gbits s −1 by real-time post-processing.
Quantum random-number generators (QRNGs), which exploit quantum mechanical effects to produce truly random numbers, are extensively used in information security and cryptography. Despite their inherent randomness, practical implementations of QRNGs, particularly those based on CMOS sensors, face security challenges due to device imperfections and external interference. This paper investigates the security vulnerabilities of QRNG systems against source-signal-injection attacks, specifically focusing on electrical signal fluctuations that modulate the intensity of the light source. This modulation induces subtle classical fluctuations in the photon-detection process, which are misinterpreted by legitimate users as quantum noise. This leads to an overestimation of secure entropy, compromising the security of the system. We demonstrate the effectiveness of the attack through experimental design and implementation, simulating practical-attack scenarios and assessing the impact on the entropy of generated random numbers. Our experiments reveal that while the altered random numbers can still pass National Institute of Standards and Technology (NIST) tests, the attacker can extract additional entropy without significantly affecting the statistical properties of the random numbers. To mitigate these risks, we introduce a defense mechanism that sets an entropy-threshold range and continuously monitors entropy variations, effectively preventing classical fluctuations from being misinterpreted as secure entropy. These findings hopefully provide critical insights for enhancing the reliability and security of QRNG systems in future large-scale quantum security applications.
Heterodyne-based continuous-variable source-independent quantum random number generator (CV-SI-QRNG) can produce true random numbers without any assumptions on source. However, practical implementations always contain imperfections, which will greatly influence the extractable randomness and even open loopholes for eavesdroppers to steal information about the final output. In this work, based on the theoretical model, we systematically analyzed the effects of imperfect implementations on the practical security of heterodyne-based CV-SI-QRNG. The influences of local oscillator (LO) fluctuation under imbalanced heterodyne detection are first analyzed. The simulation results show that the lower bound of extractable randomness will be overestimated without considering the influence of LO fluctuation, which will threaten the practical security of CV-SI-QRNG system. Moreover, we analyze the effects of the degree of imbalance and the magnitude of LO fluctuation on evaluating the extractable randomness. Finally, we investigate the impact of an imperfect phase modulator on the practical security of CV-SI-QRNG and find it will reduce the extractable randomness. Our analysis reveals that one should carefully consider the imperfections in the actual implementations of CV-SI-QRNGs.