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

Auteurs : Pranav Dahiya, Ilia Shumailov, Ross Anderson

Soumis à arXiv le 24 Jui. 2023
Licence : CC BY 4.0
Résumé scientifique

Randomness supports many critical functions in the field of machine learning (ML) including optimisation, data selection, privacy, and security. ML systems outsource the task of generating or harvesting randomness to the compiler, the cloud service provider or elsewhere in the toolchain. Yet there is a long history of attackers exploiting poor randomness, or even creating it -- as when the NSA put backdoors in random number generators to break cryptography. In this paper we consider whether attackers can compromise an ML system using only the randomness on which they commonly rely. We focus our effort on Randomised Smoothing, a popular approach to train certifiably robust models, and to certify specific input datapoints of an arbitrary model. We choose Randomised Smoothing since it is used for both security and safety -- to counteract adversarial examples and quantify uncertainty respectively. Under the hood, it relies on sampling Gaussian noise to explore the volume around a data point to certify that a model is not vulnerable to adversarial examples. We demonstrate an entirely novel attack against it, where an attacker backdoors the supplied randomness to falsely certify either an overestimate or an underestimate of robustness. We demonstrate that such attacks are possible, that they require very small changes to randomness to succeed, and that they can be hard to detect. As an example, we hide an attack in the random number generator and show that the randomness tests suggested by NIST fail to detect it. We advocate updating the NIST guidelines on random number testing to make them more appropriate for safety-critical and security-critical machine-learning applications.

Les articles autour de lui, par date et par proximité

Plus haut, c’est plus proche de cet article ; à gauche, c’est plus ancien. Les traits relient les articles proches entre eux : les groupes de traits sont des sous-thèmes. Sélectionnez un point pour voir pourquoi il est là. Retour au résumé de cet article

Comment lire cette carte ? Guide illustré

Les articles les plus proches Les travaux antérieurs sur lesquels il s’appuie Les articles qui le citent

Les articles autour de celui-ci

Classés selon la proximité de leur titre et de leur résumé avec ceux de cet article. Sélectionnez-en pour les lire ensemble.

Les articles les plus proches

  1. Très proche Cite cet article Utilise cet article en profondeur
    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) · Pas encore résumé
    Résumé scientifique

    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. Très proche
    Rethinking Randomized Smoothing from the Perspective of Scalability
    Anupriya Kumari, Devansh Bhardwaj, Sukrit Jindal · 2023 · cité 3 fois · Pas encore résumé
    Résumé scientifique

    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. Très proche
    Analyzing Accuracy Loss in Randomized Smoothing Defenses
    Yue Gao, Harrison Rosenberg, K. Fawaz et al. · 2020 · arXiv.org · preprint, non relu par les pairs · cité 6 fois · Pas encore résumé
    Résumé scientifique

    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. Très proche
    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 · cité 15 fois · Pas encore résumé
    Résumé scientifique

    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. Proche
    Dynamic Backdoor Attacks Against Machine Learning Models
    Ahmed Salem, Rui Wen, Michael Backes et al. · 2020 · Cryptography and Security · cité 354 fois · Résumé IA disponible
    Résumé scientifique

    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. Proche
    The Role of Randomization in Trustworthy Machine Learning
    Nicolas Papernot · 2022 · MTD@CCS · cité 1 fois · Pas encore résumé
    Résumé scientifique

    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. Proche
    Towards Evading the Limits of Randomized Smoothing: A Theoretical Analysis
    Raphael Ettedgui, Alexandre Araujo, Rafael Pinot et al. · 2022 · arXiv.org · preprint, non relu par les pairs · cité 3 fois · Pas encore résumé
    Résumé scientifique

    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. Proche Cite cet article
    Statistical Quality and Reproducibility of Pseudorandom Number Generators in Machine Learning technologies
    Benjamin A. Antunes · 2025 · International Journal of Data Informatics and Intelligent Computing · cité 6 fois · Pas encore résumé
    Résumé scientifique

    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…

Les travaux antérieurs sur lesquels il s’appuie

  1. Proche Utilisé en profondeur par cet article Une méthode qu’il utilise
    Certified Adversarial Robustness via Randomized Smoothing
    Jeremy M. Cohen, Elan Rosenfeld, J. Kolter · 2019 · International Conference on Machine Learning · cité 2 738 fois · Pas encore résumé
    Résumé scientifique

    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. Proche
    Manipulating SGD with Data Ordering Attacks
    Ilia Shumailov, Zakhar Shumaylov, Dmitry Kazhdan et al. · 2021 · Neural Information Processing Systems · cité 127 fois · Pas encore résumé
    Résumé scientifique

    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. Proche
    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 · cité 114 fois · Pas encore résumé
    Résumé scientifique

    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. Apparenté Une méthode qu’il utilise
    Certified Robustness to Adversarial Examples with Differential Privacy
    Mathias Lécuyer, Vaggelis Atlidakis, Roxana Geambasu et al. · 2018 · IEEE Symposium on Security and Privacy · cité 1 089 fois · Pas encore résumé
    Résumé scientifique

    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. Apparenté
    Proof-of-Learning: Definitions and Practice
    Hengrui Jia, Mohammad Yaghini, Christopher A. Choquette-Choo et al. · 2021 · Machine Learning · cité 154 fois · Résumé IA disponible
    Résumé scientifique

    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…

Les articles qui le citent

  1. Proche
    Securing Generative Artificial Intelligence with Parallel Magnetic Tunnel Junction True Randomness
    You-Wei Bao, Shu-Han Yang, Hyunsoo Yang · 2025 · Advanced Intelligent Systems · cité 3 fois · Pas encore résumé
    Résumé scientifique

    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. Apparenté
    Verifiable Dropout: Turning Randomness into a Verifiable Claim
    Kichang Lee, Sung-Min Lee, Jaeho Jin et al. · 2025 · The Web Conference · cité 1 fois · Pas encore résumé
    Résumé scientifique

    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. Apparenté
    Architectural Neural Backdoors from First Principles
    Harry Langford, Ilia Shumailov, Yi-Ren Zhao et al. · 2024 · IEEE Symposium on Security and Privacy · cité 19 fois · Pas encore résumé
    Résumé scientifique

    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. Apparenté*
    New Statistically Secure Pseudorandom Sequence Generation Methods
    M. Arkhipov, A. Tchernykh, Mikhail G. Babenko et al. · 2025 · Programming and computer software · Pas encore résumé
  5. Apparenté
    Auditing Structured Randomness for Quantum Error Correction under a Bounded Cloud Fault Model
    Zi-Qing Guo, Anthony Lawrence, Ren Wang et al. · 2026 · Pas encore résumé
    Résumé scientifique

    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…

Comment ces articles sont-ils trouvés ?

Nous comparons le titre et le résumé de cet article avec ceux de tous les articles résumés sur ce site, et avec les articles que Semantic Scholar recommande, ceux qu’il cite et ceux qui le citent (pour un article très cité, ses citations les plus récentes et, depuis OpenAlex, les plus citées). Parmi les travaux antérieurs et les suites, les articles qui s’utilisent en profondeur, une méthode qu’il utilise et les suites très citées remontent un peu. Les niveaux (très proche, proche, apparenté) viennent de la similarité des textes, pas d’un jugement de qualité ; * signale un article sans résumé, comparé par son titre. La phrase sous un article est écrite par une IA à partir des deux résumés : vérifiez-la dans les articles. Un article jugé hors sujet par trois lecteurs quitte la liste.

Mis à jour le 5 novembre 2026.

Le guide illustré des articles autour d’un article