AI summary · arXiv: 2306.14043v1 · cs.LG

Machine Learning needs its own Randomness Standard: Randomised Smoothing and PRNG-based attacks

Pranav Dahiya, Ilia Shumailov, Ross Anderson
Original paper Submitted to arXiv on 24 Jun. 2023 License: CC BY 4.0

How to read this summary? Illustrated guide

The essentials

  • Randomness plays a crucial role in machine learning (ML) in various aspects
  • Poor randomness can be exploited by attackers to compromise ML systems
  • Randomised Smoothing is a popular approach for training robust models and certifying input datapoints
  • The paper introduces a novel attack against Randomised Smoothing by manipulating supplied randomness
  • Attacks can falsely certify an overestimate or underestimate of robustness with minimal changes to randomness
  • The attack can be hidden in the random number generator and is difficult to detect using NIST tests
  • NIST guidelines on random number testing need updating for safety-critical and security-critical ML applications
  • Importance of considering vulnerabilities associated with randomness in ML systems
  • Need for improving random number generation techniques for better security in ML applications.

Key points written by AI: they may contain errors, check them against the paper.

AI-generated keywords: Randomness Machine Learning Randomised Smoothing NIST Attack

Read further

  • Comprehensive Summary
  • Layman's Summary
  • Blog article
  • Original abstract
Randomness plays a crucial role in various aspects of machine learning (ML), including optimization, data selection, privacy, and security. However, attackers have a history of exploiting poor randomness or even creating it to compromise ML systems. This paper focuses on Randomised Smoothing, a popular approach used to train robust models and certify specific input datapoints. Randomised Smoothing relies on sampling Gaussian noise to explore the volume around a data point and certify that a model is not vulnerable to adversarial examples. The authors propose an entirely novel attack against Randomised Smoothing where an attacker manipulates the supplied randomness to falsely certify either an overestimate or an underestimate of robustness. They demonstrate that such attacks are possible with minimal changes to randomness and can be challenging to detect. As an example, they hide the attack in the random number generator and show that the randomness tests suggested by NIST fail to detect it. The paper highlights the need for updating the NIST guidelines on random number testing to make them more suitable for safety-critical and security-critical machine learning applications. It emphasizes the importance of considering the potential vulnerabilities associated with randomness in ML systems and suggests improving random number generation techniques for better security. In conclusion, this research sheds light on the risks posed by compromised randomness in ML systems and presents a new attack method against Randomised Smoothing. It calls for stronger measures in assessing and ensuring the integrity of random number generators used in machine learning applications.

Was this synthesis useful?

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Figures and plots

Ask about a figure by number or use its question button to request visual analysis. Up to two figures and four image panels per question. Values read from plots are approximate; check the original data.

AI assistant instructions?

Tools for this paper

Explain it differently 1 free rewrite left today
Save to a collection Group papers in collections to compare them, chat with them and export them. Continue with Google Create a free account Log in

Advanced tools Premium

For researchers who follow a field closely: citation alerts, journal-club slides, version comparison and Zotero export. Discover Premium

Zotero Zotero guide
Citation alerts 11 papers already cite it: be emailed each new one. Citation alerts guide
Who works on it?

Among the 30 papers around this one, the name that comes back most: Ilia Shumailov (5 papers)

4 more people sign several of them. The full map adds their institutions and approaches, from the papers of the last years.

Continue with Google Create a free account: your first map is free
Weekly letter The latest letter of its field, "Artificial intelligence this week" of 23 November 2026: Artificial intelligence this week: The difference between looking right and getting it right · Receive one by email for free

Papers around this one

See them on a map

Ranked by how close their title and abstract are to this paper’s. Select some to read them together.

Closest papers

  1. Very close Same question Cites this paper Uses this paper in depth
    One RNG to Rule Them All: How Randomness Becomes an Attack Vector in Machine Learning
    K. Prabhu, Andrew Gan, Zahra Ghodsi · 2026 · 2026 IEEE Conference on Secure and Trustworthy Machine Learning (SaTML) · Not summarized yet

    One RNG to Rule Them All examines how weaknesses in machine-learning randomness sources create covert attack vectors, as this paper does for randomized smoothing.

    Abstract

    Machine learning relies on randomness as a fundamental component in various steps such as data sampling, data augmentation, weight initialization, and optimization. Most machine learning frameworks use pseudorandom number generators as the source of randomness. However, variations in design choices and implementations across different frameworks, software dependencies, and hardware backends along with the lack of statistical validation can lead to previously unexplored attack vectors on machine learning systems. Such attacks on randomness sources can be extremely covert, and have a history of exploitation in real-world systems. In this work, we examine the role of randomness in the machine l…

  2. Very close Review
    Rethinking Randomized Smoothing from the Perspective of Scalability
    Anupriya Kumari, Devansh Bhardwaj, Sukrit Jindal · 2023 · cited 3 times · Not summarized yet

    Rethinking Randomized Smoothing reviews randomized smoothing’s theory and empirical effectiveness, focusing on scalability rather than attacks on its randomness.

    Abstract

    Machine learning models have demonstrated remarkable success across diverse domains but remain vulnerable to adversarial attacks. Empirical defense mechanisms often fail, as new attacks constantly emerge, rendering existing defenses obsolete, shifting the focus to certification-based defenses. Randomized smoothing has emerged as a promising technique among notable advancements. This study reviews the theoretical foundations and empirical effectiveness of randomized smoothing and its derivatives in verifying machine learning classifiers from a perspective of scalability. We provide an in-depth exploration of the fundamental concepts underlying randomized smoothing, highlighting its theoretica…

  3. Very close Same question
    Analyzing Accuracy Loss in Randomized Smoothing Defenses
    Yue Gao, Harrison Rosenberg, K. Fawaz et al. · 2020 · arXiv.org · preprint, not peer reviewed · cited 6 times · Not summarized yet

    Analyzing Accuracy Loss studies accuracy losses in randomized-smoothing defenses, while this paper investigates false robustness certifications caused by compromised randomness.

    Abstract

    Recent advances in machine learning (ML) algorithms, especially deep neural networks (DNNs), have demonstrated remarkable success (sometimes exceeding human-level performance) on several tasks, including face and speech recognition. However, ML algorithms are vulnerable to \emph{adversarial attacks}, such test-time, training-time, and backdoor attacks. In test-time attacks an adversary crafts adversarial examples, which are specially crafted perturbations imperceptible to humans which, when added to an input example, force a machine learning model to misclassify the given input example. Adversarial examples are a concern when deploying ML algorithms in critical contexts, such as information …

  4. Very close Same question
    Randomized Smoothing Under Attack: How Good is it in Practice?
    Thibault Maho, T. Furon, Erwan Le Merrer · 2022 · IEEE International Conference on Acoustics, Speech, and Signal Processing · cited 15 times · Not summarized yet

    Randomized Smoothing Under Attack tests the defense against black-box adversarial attacks, whereas this paper attacks its randomness to falsify certificates.

    Abstract

    Randomized smoothing is a recent and celebrated solution to certify the robustness of any classifier. While it indeed provides a theoretical robustness against adversarial attacks, the dimensionality of current classifiers necessarily imposes Monte Carlo approaches for its application in practice.This paper questions the effectiveness of randomized smoothing as a defense, against state of the art black-box attacks. This is a novel perspective, as previous research works considered the certification as an unquestionable guarantee. We first formally highlight the mismatch between a theoretical certification and the practice of attacks on classifiers. We then perform attacks on randomized smoot…

  5. Close Broader context
    Dynamic Backdoor Attacks Against Machine Learning Models
    Ahmed Salem, Rui Wen, Michael Backes et al. · 2020 · Cryptography and Security · cited 354 times · AI summary available

    Dynamic Backdoor Attacks introduces input-triggered backdoors in machine-learning models, while this paper backdoors the randomness used for robustness certification.

    Abstract

    Machine learning (ML) has made tremendous progress during the past decade and is being adopted in various critical real-world applications. However, recent research has shown that ML models are vulnerable to multiple security and privacy attacks. In particular, backdoor attacks against ML models have recently raised a lot of awareness. A successful backdoor attack can cause severe consequences, such as allowing an adversary to bypass critical authentication systems. Current backdooring techniques rely on adding static triggers (with fixed patterns and locations) on ML model inputs which are prone to detection by the current backdoor detection mechanisms. In this paper, we propose the first c…

  6. Close Broader context
    The Role of Randomization in Trustworthy Machine Learning
    Nicolas Papernot · 2022 · MTD@CCS · cited 1 time · Not summarized yet

    The Role of Randomization discusses randomness in trustworthy machine learning, a broader concern that this paper narrows to attacks on randomized smoothing.

    Abstract

    Machine learning has been perhaps this decade's most significant technological development, with the prospect of becoming a general-purpose technology. Applications range from autonomous driving to assisting with court decisions. In many of these settings, the worst-case performance of machine learning is critical. Yet, the predictions of machine learning often appear fragile, with no hint as to the reasoning behind them-and may be dangerously wrong. This situation is in large part due to the absence of security considerations in the design of machine learning algorithms. This is unacceptable: society must be able to trust and hold machine learning accountable. One direction that has been pr…

  7. Close Same question
    Towards Evading the Limits of Randomized Smoothing: A Theoretical Analysis
    Raphael Ettedgui, Alexandre Araujo, Rafael Pinot et al. · 2022 · arXiv.org · preprint, not peer reviewed · cited 3 times · Not summarized yet

    Towards Evading the Limits analyzes weaknesses in randomized-smoothing certificates, while this paper shows that manipulated noise can make those certificates falsely estimate robustness.

    Abstract

    Randomized smoothing is the dominant standard for provable defenses against adversarial examples. Nevertheless, this method has recently been proven to suffer from important information theoretic limitations. In this paper, we argue that these limitations are not intrinsic, but merely a byproduct of current certification methods. We first show that these certificates use too little information about the classifier, and are in particular blind to the local curvature of the decision boundary. This leads to severely sub-optimal robustness guarantees as the dimension of the problem increases. We then show that it is theoretically possible to bypass this issue by collecting more information about…

  8. Close Shared data, tool or method Cites this paper
    Statistical Quality and Reproducibility of Pseudorandom Number Generators in Machine Learning technologies
    Benjamin A. Antunes · 2025 · International Journal of Data Informatics and Intelligent Computing · cited 6 times · Not summarized yet

    Statistical Quality and Reproducibility evaluates PRNGs used in machine-learning frameworks with TestU01, addressing the randomness quality relevant to this paper’s attacks.

    Abstract

    Machine learning (ML) frameworks rely heavily on pseudorandom number generators (PRNGs) for tasks such as data shuffling, weight initialization, dropout, and optimization. Yet, the statistical quality and reproducibility of these generators—particularly when integrated into frameworks like PyTorch, TensorFlow, and NumPy—are underexplored. In this paper, we compare the statistical quality of PRNGs used in ML frameworks (Mersenne Twister, PCG, and Philox) against their original C implementations. Using the rigorous TestU01 BigCrush test suite, we evaluate 896 independent random streams for each generator. Our results challenge claims of statistical robustness, revealing that even generators la…

Prior work it builds on

  1. Close Groundwork for this paper Used in depth by this paper A method it uses
    Certified Adversarial Robustness via Randomized Smoothing
    Jeremy M. Cohen, Elan Rosenfeld, J. Kolter · 2019 · International Conference on Machine Learning · cited 2,738 times · Not summarized yet

    Certified Adversarial Robustness via Randomized Smoothing establishes Gaussian smoothing’s certified robustness guarantees, the certification method this paper attacks.

    Abstract

    We show how to turn any classifier that classifies well under Gaussian noise into a new classifier that is certifiably robust to adversarial perturbations under the $\ell_2$ norm. This "randomized smoothing" technique has been proposed recently in the literature, but existing guarantees are loose. We prove a tight robustness guarantee in $\ell_2$ norm for smoothing with Gaussian noise. We use randomized smoothing to obtain an ImageNet classifier with e.g. a certified top-1 accuracy of 49% under adversarial perturbations with $\ell_2$ norm less than 0.5 (=127/255). No certified defense has been shown feasible on ImageNet except for smoothing. On smaller-scale datasets where competing approach…

  2. Close Broader context
    Manipulating SGD with Data Ordering Attacks
    Ilia Shumailov, Zakhar Shumaylov, Dmitry Kazhdan et al. · 2021 · Neural Information Processing Systems · cited 127 times · Not summarized yet

    Manipulating SGD with Data Ordering Attacks shows that changing training-data order can poison learning, another attack exploiting a machine-learning process rather than model inputs.

    Abstract

    Machine learning is vulnerable to a wide variety of attacks. It is now well understood that by changing the underlying data distribution, an adversary can poison the model trained with it or introduce backdoors. In this paper we present a novel class of training-time attacks that require no changes to the underlying dataset or model architecture, but instead only change the order in which data are supplied to the model. In particular, we find that the attacker can either prevent the model from learning, or poison it to learn behaviours specified by the attacker. Furthermore, we find that even a single adversarially-ordered epoch can be enough to slow down model learning, or even to reset all…

  3. Close Broader context
    Randomness In Neural Network Training: Characterizing The Impact of Tooling
    Donglin Zhuang, Xingyao Zhang, S. Song et al. · 2021 · Conference on Machine Learning and Systems · cited 114 times · Not summarized yet

    Randomness In Neural Network Training measures how hardware and software tooling affect training randomness, complementing this paper’s focus on randomness-related security.

    Abstract

    The quest for determinism in machine learning has disproportionately focused on characterizing the impact of noise introduced by algorithmic design choices. In this work, we address a less well understood and studied question: how does our choice of tooling introduce randomness to deep neural network training. We conduct large scale experiments across different types of hardware, accelerators, state of art networks, and open-source datasets, to characterize how tooling choices contribute to the level of non-determinism in a system, the impact of said non-determinism, and the cost of eliminating different sources of noise. Our findings are surprising, and suggest that the impact of non-determ…

  4. Related Broader context A method it uses
    Certified Robustness to Adversarial Examples with Differential Privacy
    Mathias Lécuyer, Vaggelis Atlidakis, Roxana Geambasu et al. · 2018 · IEEE Symposium on Security and Privacy · cited 1,089 times · Not summarized yet

    Certified Robustness to Adversarial Examples with Differential Privacy presents a different certified defense, whereas this paper targets randomized smoothing’s dependence on noise.

    Abstract

    Adversarial examples that fool machine learning models, particularly deep neural networks, have been a topic of intense research interest, with attacks and defenses being developed in a tight back-and-forth. Most past defenses are best effort and have been shown to be vulnerable to sophisticated attacks. Recently a set of certified defenses have been introduced, which provide guarantees of robustness to norm-bounded attacks. However these defenses either do not scale to large datasets or are limited in the types of models they can support. This paper presents the first certified defense that both scales to large networks and datasets (such as Google’s Inception network for ImageNet) and appl…

  5. Related Broader context
    Proof-of-Learning: Definitions and Practice
    Hengrui Jia, Mohammad Yaghini, Christopher A. Choquette-Choo et al. · 2021 · Machine Learning · cited 154 times · AI summary available

    Proof-of-Learning addresses verification of model training, a separate machine-learning integrity problem from this paper’s false robustness certifications.

    Abstract

    Training machine learning (ML) models typically involves expensive iterative optimization. Once the model's final parameters are released, there is currently no mechanism for the entity which trained the model to prove that these parameters were indeed the result of this optimization procedure. Such a mechanism would support security of ML applications in several ways. For instance, it would simplify ownership resolution when multiple parties contest ownership of a specific model. It would also facilitate the distributed training across untrusted workers where Byzantine workers might otherwise mount a denial-of-service by returning incorrect model updates. In this paper, we remediate this pr…

Papers that cite it

  1. Close Same question
    Securing Generative Artificial Intelligence with Parallel Magnetic Tunnel Junction True Randomness
    You-Wei Bao, Shu-Han Yang, Hyunsoo Yang · 2025 · Advanced Intelligent Systems · cited 3 times · Not summarized yet

    Securing Generative Artificial Intelligence with Parallel Magnetic Tunnel Junction True Randomness addresses attacks exploiting predictable ML randomness, proposing hardware-generated random bits instead.

    Abstract

    Deterministic pseudorandom number generators used in generative artificial intelligence (GAI) models produce predictable patterns vulnerable to exploitation by attackers. Conventional defenses against the vulnerabilities often come with significant energy and latency overhead. Herein, hardware‐generated true random bits from spin‐transfer torque magnetic tunnel junctions (STT‐MTJs) are embedded to address the challenges. A highly parallel, field‐programmable gate array‐assisted prototype computing system delivers megabit‐per‐second true random numbers, passing NIST randomness tests after in situ operations with minimal overhead. Integrating the hardware random bits into a generative adversar…

  2. Related Broader context
    Verifiable Dropout: Turning Randomness into a Verifiable Claim
    Kichang Lee, Sung-Min Lee, Jaeho Jin et al. · 2025 · The Web Conference · cited 1 time · Not summarized yet

    Verifiable Dropout uses zero-knowledge proofs to verify stochastic values in training, addressing randomness integrity in a different machine-learning operation.

    Abstract

    Modern cloud-based AI training relies on extensive telemetry and logs to ensure accountability. While these audit trails enable retrospective inspection, they struggle to address the inherent non-determinism of deep learning. Stochastic operations, such as dropout, create an ambiguity surface where attackers can mask malicious manipulations as natural random variance, granting them plausible deniability. Consequently, existing logging mechanisms cannot verify whether stochastic values were generated and applied honestly without exposing sensitive training data. To close this integrity gap, we introduce Verifiable Dropout, a privacy-preserving mechanism based on zero-knowledge proofs. We trea…

  3. Related Broader context
    Architectural Neural Backdoors from First Principles
    Harry Langford, Ilia Shumailov, Yi-Ren Zhao et al. · 2024 · IEEE Symposium on Security and Privacy · cited 19 times · Not summarized yet

    Architectural Neural Backdoors embeds backdoors in network architecture, unlike this paper’s attacks that manipulate randomness used in robustness certification.

    Abstract

    While previous research backdoored neural networks by changing their parameters, recent work uncovered a more insidious threat: backdoors embedded within the definition of the network's architecture. This involves injecting common architectural components, such as activation functions and pooling layers, to subtly introduce a model backdoor that persists even after (full re-)training, an impossible task for other backdoor types. Bober-Irlzar etal. [2023] introduced the first architectural backdoor design, specifically showing how to create a backdoor for a checkerboard pattern. Yet, the full scope and implications of architectural backdoors have remained largely unexplored, in part because o…

  4. Related* Broader context
    New Statistically Secure Pseudorandom Sequence Generation Methods
    M. Arkhipov, A. Tchernykh, Mikhail G. Babenko et al. · 2025 · Programming and computer software · Not summarized yet

    New Statistically Secure Pseudorandom Sequence Generation Methods concerns pseudorandom sequence generation, a broader topic underlying this paper’s concern with ML randomness.

  5. Related Broader context
    Auditing Structured Randomness for Quantum Error Correction under a Bounded Cloud Fault Model
    Zi-Qing Guo, Anthony Lawrence, Ren Wang et al. · 2026 · Not summarized yet

    Auditing Structured Randomness studies harmful manipulation of randomness in cloud quantum error correction, a related security concern outside machine learning.

    Abstract

    Cloud quantum processors compile submitted quantum error correction circuits and may colocate them with untrusted workloads. A fixed public encoder gives a fault-injection adversary a reusable target. Per-run reseeding changes the physical-to-logical fault map. Exact Haar-random encoders have exponential circuit cost. Efficient random ensembles provide average-moment guarantees and leave worst-case accepted corruption uncharacterized. We define accepted logical disturbance, an acceptance-weighted measure of harmful logical action in accepted results, and derive its exact Haar expectation. We evaluate a polynomial-cost seeded Clifford encoder family using dense linear algebra and gate-level s…

How are these papers found?

We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.

Updated on 5 November 2026.

The illustrated guide to the papers around a paper

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.