mlsanityData to 7 Oct 2026

Machine Learning needs Better Randomness Standards: Randomised Smoothing and PRNG-based attacks

arXiv 2306.14043 ↗First posted 24 Jun 2023cs.LG cs.AI cs.CRcited by 6

On the map: LLM safety and security → Backdoor and data poisoning attacks

Abstract (arXiv)

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, where an attacker backdoors the supplied randomness to falsely certify either an overestimate or an underestimate of robustness for up to 81 times. We demonstrate that such attacks are possible, that they require very small changes to randomness to succeed, and that they are 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.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Placed in Backdoor and data poisoning attacks, one of 12 directions in LLM safety and security. Builds on 21 of its 62 references that are in the map. First posted on arXiv 24 Jun 2023.

Builds on

21 of 62 references.

Closest ancestors · 1

Same direction, newest first

  1. 2021Manipulating SGD with Data Ordering Attacks19 Apr

Other references · 20

  1. 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,416
  2. 2019A Survey on Bias and Fairness in Machine Learningcited by 1,911
  3. 2016Federated Learning: Strategies for Improving Communication Efficiencycited by 1,461
  4. 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,442
  5. 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,324
  6. 2017Evasion Attacks against Machine Learning at Test Timecited by 686
  7. 2017Adversarial Examples Are Not Easily Detected: Bypassing Ten Detection Methodscited by 542
  8. 2018Certified Robustness to Adversarial Examples with Differential Privacycited by 462
  9. 2019BatchBALD: Efficient and Diverse Batch Acquisition for Deep Bayesian Active Learningcited by 428
  10. 2018Privacy Amplification by Subsampling: Tight Analyses via Couplings and Divergencescited by 237
  11. 2019Bit-Flip Attack: Crushing Neural Network with Progressive Bit Searchcited by 106
  12. 2021Proof-of-Learning: Definitions and Practicecited by 81
8 more
  1. 2020On the Benefits of Invariance in Neural Networkscited by 78
  2. 2023Harnessing large-language models to generate private synthetic textcited by 65
  3. 2021Randomness In Neural Network Training: Characterizing The Impact of Toolingcited by 57
  4. 2022Architectural Backdoors in Neural Networkscited by 24
  5. 2022On the Limitations of Stochastic Pre-processing Defensescited by 21
  6. 2021Are We There Yet? Timing and Floating-Point Attacks on Differential Privacy Systemscited by 8
  7. 2022ImpNet: Imperceptible and blackbox-undetectable backdoors in compiled neural networkscited by 8
  8. 2020Neighbors From Hell: Voltage Attacks Against Deep Learning Accelerators on Multi-Tenant FPGAscited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 3; 2026: 2.

6 papers.