Why Backdooring Neural Networks is so Easy?
Organizations: Université Paris-Saclay, CEA LIST Palaiseau, France · AI Research Center, Technology Innovation Institute (TII) Abu Dhabi, UAE
Abstract
Securing modern AI systems against backdoor attacks remains an open challenge and requires fundamentally principled estimates of the adversary's budget -- the poison fraction and trigger strength needed to construct successful yet stealthy attacks. Motivated by recent empirical evidence that poisoning large language models can require a nearly constant number of malicious samples even as clean datasets grow, we derive an exact closed-form analysis of a quadratic neuron trained on a poisoned Gaussian mixture. We show, perhaps counterintuitively, that the same feature-learning dynamics that make neural networks powerful can also make them more vulnerable to backdoors. Specifically, with clean accuracy preserved to first order, , we demonstrate that lazy learning imposes the inverse-square-root scaling for a successful attack, while feature learning induces a quadratic detector whose loss margin scales as , improving the attack budget to . Consequently, nonlinear feature learning substantially reduces the trigger strength required at small poison fractions, thereby in a sense making feature learners more backdoor vulnerable. These results provide a theoretical mechanism consistent with large-scale empirical observations and demonstrate that security audits based on linear heuristics can systematically underestimate backdoor vulnerability in the widely adopted feature-learning regimes.
Figures & tables
| Linear regime (Thm. 2 ) | Feature learning (Thm. 3 ) | |
|---|---|---|
| Trained curvature | ||
| Trigger term in the margin | ||
| Conserved invariant | ||
| Stealth-limit ASR | ||
| Ceiling ( ) | ||
| Budget curve |
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
| Rich Regime | Lazy Regime | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Dataset | ||||||||||||||
| CACC | ASR | CACC | ASR | CACC | ASR | CACC | ASR | CACC | ASR | CACC | ASR | |||
| 0.01 | 0.93 | 0.08 | 0.93 | 0.30 | 0.93 | 0.70 | 0.93 | 0.08 | 0.93 | 0.14 | 0.93 | 0.33 | ||
| Synthetic | 0.02 | 0.93 | 0.08 | 0.93 | 0.47 | 0.93 | 0.84 | 0.93 | 0.09 | 0.93 | 0.21 | 0.93 | 0.52 | |
| 0.05 | 0.93 | 0.10 | 0.93 | 0.67 | 0.93 | 0.92 | 0.93 | 0.12 | 0.92 | 0.43 | 0.93 | 0.74 | ||
| 0.01 | 0.97 | 0.97 | 0.97 | 0.99 | 0.97 | 1.00 | 0.85 | 0.15 | 0.85 | 0.28 | 0.85 | 0.59 | ||
Backdoor Attacks
Backdoor attacks implant hidden, trigger-dependent behaviors in models while aiming to preserve normal performance.
See all 135 papers