A Theoretical Analysis of Backdoor Learning as Simplicity-Biased Optimization Dynamics

Hong Cheng, Qiang Zhou, Sinno Jialin PanNeurIPS 2026

TL;DR

Why does a neural network eagerly memorize a tiny, malicious "backdoor" trigger hidden in just 1% of its training data while taking ages to learn actual semantic features? This paper proves mathematically that stochastic gradient descent (SGD) isn’t broken—it’s just taking the path of least resistance. Because backdoor triggers provide a hyper-consistent, dynamically "simpler" shortcut than messy real-world concepts, early-stage optimization amplifies them first, carving out dedicated pathways in the network that standard fine-tuning struggles to erase.

What Problem Does This Paper Address?

In a backdoor attack, an adversary poisons a small fraction of training data—say, slapping a tiny pixel pattern onto images and mislabeling them—so the trained model behaves normally on clean data, but misfires on command when shown the trigger.

Over the years, researchers noticed three weird, seemingly separate quirks about backdoored models:

  1. Poisoned samples plummet in training loss much faster than clean samples early on.
  2. A tiny clique of neurons becomes hyper-fixated on the trigger while ignoring clean inputs.
  3. Fine-tuning the model on clean data later appears to fix the issue on the surface, yet the backdoor lingers underneath.
Figure 1: Motivating empirical observations on CIFAR-10 under BadNets [5] with a poisoning ratio of α = 5%. (a) We compare class-wise clean training-loss trajectories with the poisoned-group trajectory targeting label 0. The rapid loss decrease of the poisoned group is not simply explained by clean samples from the target class. (b) The neuron-wise trigger-activated change (TAC) profile from [33] shows that the backdoored model contains a small subset of neurons with much larger TAC values than the clean model. (c) After clean fine-tuning, Top-1 attack success rate (ASR) is substantially reduced, but Top-K ASR remains high for larger K, indicating that the target label still receives a high rank under triggered inputs.

Until now, these were treated as separate empirical curiosities. The authors ask a fundamental question: Can we unite all three phenomena under a single mathematical theory of how neural networks learn?

Methods

To isolate the tug-of-war between real concepts and malicious triggers without getting bogged down in pixel-level noise, the authors build a clean, stylized mathematical sandbox:

  • Directional Backdoor Model (Novel Formulation): They abstract data into two orthogonal (independent) directions in representation space: a semantic direction (correlating with true labels) and a trigger direction (correlating with the attacker's target label on poisoned samples), plus Gaussian noise.
  • Standard Theoretical Learner: They analyze a classic one-hidden-layer ReLU network trained via SGD on hinge loss—a standard setup for studying how neural networks favor simple functions ("simplicity bias").
  • Frozen-Gate Signal Analysis (Novel Technique): In a ReLU network, neurons act like gates—open if input is positive, closed otherwise. Instead of assuming the network is infinitely wide with static gates, the authors track a finite-width network during early training. They define a frozen-gate signal, which measures how strongly features align and co-activate the same initial ReLU gates, while mathematically bounding the error caused by gates drifting or flipping open/shut during early SGD steps.

To bridge theory and reality, they also introduce two neuron-level diagnostic metrics—Trigger Dominance Score (TDS) and Thresholded Selective Activation Gap (TSAG)—to test their mathematical predictions on standard deep ResNet-18 models under BadNets and TrojanNN attacks.

Datasets

The authors validate their theoretical predictions on two standard image classification benchmarks: CIFAR-10 and CIFAR-100 (poisoned at ratios ranging from 1% to 10%). No new datasets are introduced.

Key Insights and Ideas

  • Triggers are "dynamically simpler" than reality: Real-world classes (like "dog") vary wildly across images. A backdoor trigger is cross-sample consistent and points directly at one target label. Under SGD, this coherence causes poisoned gradients to align neatly and keep the same ReLU gates open together, creating a massive early-stage amplification snowball—even when poisoned data is rare.
  • Dedicated "trigger neurons" are born early: Because of this early amplification bias, a specific subset of hidden neurons gets systematically reinforced along the trigger direction. They become hair-trigger specialists, firing reliably when poisoned inputs cross their activation threshold while staying quiet on clean data.
  • Why clean fine-tuning is an illusion of safety: When you fine-tune a backdoored model on clean data, there are no triggers present to actively penalize those specialist neurons. Parameter updates weaken the backdoor enough to drop Top-1 attack success, giving defenders a false sense of security—while the target label remains queued up in second or third place!

Key Results

  • Early-Stage Loss & Signal Scaling: Across CIFAR-10 and CIFAR-100 under both BadNets and TrojanNN, poisoned groups consistently show a positive frozen-gate signal gap over clean data, translating directly into faster early-stage loss drops. Increasing the poisoning ratio from 1% to 10% strengthens this signal gap linearly, matching theoretical corollaries.
As the poisoning ratio increases from 1% to 10%, the frozen-gate signal gap widens and poisoned samples fit faster than clean ones.
  • The Fine-Tuning Mirage: On CIFAR-10 (with 5% BadNets poisoning), the backdoored ResNet-18 hits 85.14% clean accuracy and a 100.00% Top-1 Attack Success Rate (ASR). After vanilla clean fine-tuning, Top-1 ASR drops dramatically to 18.52% (with 79.00% clean accuracy). Case closed? Not quite: the Top-2 ASR is still 76.29%, and Top-3 ASR hits 92.53%.
  • Lingering Representations: Neuron-level diagnostics (TDS and TSAG) confirm that backdoor training creates a heavy right tail of trigger-dominant neurons (specifically concentrated in the top 1% to 5% of neurons). Clean fine-tuning compresses this tail, but fails to collapse it back to the clean baseline.

Limitations and Future Work

The authors are admirably transparent about the boundaries of their math:

  • Early-stage horizon only: Their proofs rigorously govern the initial phase of training (while hinge loss gradients remain active and gate drift is small). They do not mathematically prove convergence at the end of training or formally model the trajectory of clean fine-tuning—the post-training insights are validated empirically.
  • Binary theory vs. Multi-class reality: The theoretical model assumes binary classification with orthogonal features, whereas real-world attacks happen in coupled, multi-class networks.

Future work points toward extending this simplicity-bias theory to genuine multi-class dynamics, analyzing longer training horizons, and designing post-training defenses that explicitly hunt down and erase residual trigger representations rather than justcelebrating a low Top-1 attack rate.

Summary updated

Abstract

Backdoor attacks implant a trigger-target association into a model, causing malicious behavior at test time while largely preserving clean performance. Despite extensive empirical study, a unified explanation for why standard training dynamics learn backdoors so effectively remains largely missing. We argue that backdoor learning can be understood as a consequence of simplicity-biased optimization dynamics: trigger features are dynamically simpler than semantic features under stochastic gradient descent (SGD) because they induce more coherent gradient alignment, more stable gating behavior, and stronger early-stage amplification. To formalize this perspective, we introduce a directional data model that separates semantic and trigger features and study a one-hidden-layer ReLU network trained by SGD. Our analysis identifies a frozen-gate signal that governs group-wise early-stage loss decrease up to controlled gate-drift and gate-flip errors, yielding a quantitative explanation for faster poisoned-sample fitting and its dependence on the poisoning ratio. Beyond optimization dynamics, we show that this early-stage bias can induce trigger-dominant neurons with selective activation on poisoned inputs, explaining why vanilla clean fine-tuning can attenuate backdoor behavior without necessarily erasing the underlying trigger-related representation. Empirically, we validate the predicted signatures of early-stage optimization bias, representation-level trigger dominance, and post-training residual behavior using ResNet-18 on standard image classification benchmarks.
BibTeX
@inproceedings{cheng2026theoretical,
  author = {Hong Cheng and Qiang Zhou and Sinno Jialin Pan},
  title = {{A Theoretical Analysis of Backdoor Learning as Simplicity-Biased Optimization Dynamics}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=cK7pT6o85e},
}

Loading related content...

Figure