Planting Undetectable Backdoors in Machine Learning Models : [Extended Abstract]
Shafi Goldwasser, Michael P. Kim, Vinod Vaikuntanathan, Or Zamir
Abstract
Given the computational cost and technical expertise required to train machine learning models, users may delegate the task of learning to a service provider. Delegation of learning has clear benefits, and at the same time raises serious concerns of trust. This work studies possible abuses of power by untrusted learners.We show how a malicious learner can plant an undetectable backdoor into a classifier. On the surface, such a backdoored classifier behaves normally, but in reality, the learner maintains a mechanism for changing the classification of any input, with only a slight perturbation. Importantly, without the appropriate “backdoor key,” the mechanism is hidden and cannot be detected by any computationally-bounded observer. We demonstrate two frameworks for planting undetectable backdoors, with incomparable guarantees.•First, we show how to plant a backdoor in any model, using digital signature schemes. The construction guarantees that given query access to the original model and the backdoored version, it is computationally infeasible to find even a single input where they differ. This property implies that the backdoored model has generalization error comparable with the original model. Moreover, even if the distinguisher can request backdoored inputs of its choice, they cannot backdoor a new input—a property we call non-replicability.•Second, we demonstrate how to insert undetectable backdoors in models trained using the Random Fourier Features (RFF) learning paradigm (Rahimi, Recht; NeurIPS 2007). In this construction, undetectability holds against powerful white-box distinguishers: given a complete description of the network and the training data, no efficient distinguisher can guess whether the model is “clean” or contains a backdoor. The backdooring algorithm executes the RFF algorithm faithfully on the given training data, tampering only with its random coins. We prove this strong guarantee under the hardness of the Continuous Learning With Errors problem (Bruna, Regev, Song, Tang; STOC 2021). We show a similar white-box undetectable backdoor for random ReLU networks based on the hardness of Sparse PCA (Berthet, Rigollet; COLT 2013).Our construction of undetectable backdoors also sheds light on the related issue of robustness to adversarial examples. In particular, by constructing undetectable backdoor for an “adversarially-robust” learning algorithm, we can produce a classifier that is indistinguishable from a robust classifier, but where every input has an adversarial example! In this way, the existence of undetectable backdoors represent a significant theoretical roadblock to certifying adversarial robustness.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
6 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Oblivious Defense in ML Models: Backdoor Removal without Detection cites Handcrafted Backdoors in Deep Neural Networks
- Oblivious Defense in ML Models: Backdoor Removal without Detection cites Turning Your Weakness Into a Strength: Watermarking Deep Neural Networks by Backdooring
- GPM: The Gaussian Pancake Mechanism for Planting Undetectable Backdoors in Differential Privacy cites Continuous LWE is as Hard as LWE & Applications to Learning Gaussian Mixtures
- Handcrafted Backdoors in Deep Neural Networks cites Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural Networks
- Statistically Undetectable Backdoors in Deep Neural Networks cites Indistinguishability obfuscation from well-founded assumptions
- Statistically Undetectable Backdoors in Deep Neural Networks cites Symmetric Perceptrons, Number Partitioning and Lattices
- Symmetric Perceptrons, Number Partitioning and Lattices cites Continuous LWE is as Hard as LWE & Applications to Learning Gaussian Mixtures
Cited by top-tier papers6
- Continuous LWE is as Hard as LWE & Applications to Learning Gaussian MixturesAparna Gupte, Neekon Vafa, Vinod VaikuntanathanFOCS 2022 · 15 citations
- Oblivious Defense in ML Models: Backdoor Removal without DetectionShafi Goldwasser, Jonathan Shafer, Neekon Vafa, Vinod VaikuntanathanSTOC 2025 · 4 citations
- Symmetric Perceptrons, Number Partitioning and LatticesNeekon Vafa, Vinod VaikuntanathanSTOC 2025 · 1 citation
- GPM: The Gaussian Pancake Mechanism for Planting Undetectable Backdoors in Differential PrivacyHaochen Sun, Xi HeSIGMOD 2026
- Statistically Undetectable Backdoors in Deep Neural NetworksAndrej Bogdanov, Alon Rosen, Neekon VafaICML 2026
Builds on9
- Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural NetworksBolun Wang, Yuanshun Yao, Shawn Shan, Huiying Li et al.S&P 2019 · 1,801 citations
- Turning Your Weakness Into a Strength: Watermarking Deep Neural Networks by BackdooringYossi Adi, Carsten Baum, Moustapha Cissé, Benny Pinkas et al.USENIX Security 2018 · 832 citations
- Indistinguishability obfuscation from well-founded assumptionsAayush Jain, Huijia Lin, Amit SahaiSTOC 2021 · 223 citations
- Handcrafted Backdoors in Deep Neural NetworksSanghyun Hong, Nicholas Carlini, Alexey KurakinNeurIPS 2022 · 105 citations
- Beyond Perturbations: Learning Guarantees with Arbitrary Adversarial Test ExamplesShafi Goldwasser, Adam Tauman Kalai, Yael Kalai, Omar MontasserNeurIPS 2020 · 57 citations
Related papers
- Rethinking the Stealthiness of Cryptographically Undetectable Backdoors in Practical RFF LearningTianshuo Cong, Pei Li, Haojie Wu, Jinyuan Liu et al.KDD 2026
- Attack of the Tails: Yes, You Really Can Backdoor Federated LearningHongyi Wang, Kartik Sreenivasan, Shashank Rajput, Harit Vishwakarma et al.NeurIPS 2020 · 862 citations
- Injecting Undetectable Backdoors in Obfuscated Neural Networks and Language ModelsAlkis Kalavasis, Amin Karbasi, Argyris Oikonomou, Katerina Sotiraki et al.NeurIPS 2024 · 5 citations
- Rethinking Backdoor AttacksAlaa Khaddaj, Guillaume Leclerc, Aleksandar Makelov, Kristian Georgiev et al.ICML 2023 · 42 citations
- Machine Learning needs Better Randomness Standards: Randomised Smoothing and PRNG-based attacksPranav Dahiya, Ilia Shumailov, Ross AndersonUSENIX Security 2024 · 11 citations
