NeurIPS 2026

Backdoor Attacks Rerouted: Batch Normalization as a Sink for Adversarial Signals

Md Abdul Kadir1,2  ·  Tuan Tran1  ·  Daniel Sonntag1,2
1German Research Center for Artificial Intelligence (DFKI), Saarbrücken   2University of Oldenburg
A dog image under five settings (clean, Trigger Attack, Simple Fooling, Red Herring, Full Disguise). The attacked model changes the explanation, the prediction, or both; with our defense the prediction is dog and the explanation matches the clean one.
Explanation-aware backdoor attacks (Trigger Attack, Simple Fooling, Red Herring, Full Disguise) alter the explanation, the prediction, or both (middle row). Our defense restores both (bottom row).

Abstract

Deep neural networks, particularly CNN-based models, remain vulnerable to backdoor attacks, where imperceptible triggers induce targeted misclassification while preserving high accuracy on clean inputs. These triggers may also distort model explanations. This raises serious concerns for deployed systems and calls for a deeper understanding of the attacks and for training-free defenses.

We study the attack mechanism in models with Batch Normalization (BN). We show theoretically that, under the conditions we state, adversarial gradient updates concentrate on BN layers during training, while updates to the core weights are comparatively attenuated. BN’s affine parameters and running statistics jointly influence both predictions and explanations, which gives a unified account of backdoor behavior.

Building on this, we introduce FlashBN, a training-free defense that recomputes normalization statistics at inference time, and ReBN, a few-shot variant that fine-tunes only BN on a small clean set. Against eight black-box and three explanation-aware attacks, and compared with nine baseline defenses, our methods reduce the average attack success rate from 91.0% to 2.3% (ReBN) and 9.7% (FlashBN), correctly classify 89.8% and 86.5% of triggered samples (23.1 and 19.8 points above the best prior defense), and reduce explanation MSE by 76% on average relative to the state of the art.

91.0% → 2.3%average attack success with ReBN
9.7%attack success with FlashBN, no training
89.8%triggered samples classified correctly (ReBN)
−76%explanation MSE vs. state of the art

BN absorbs the trigger

Training on a mix of clean and triggered samples pulls BN’s running statistics toward the adversarial mixture, and the trigger-induced gradient lands on BN’s affine parameters (γ, β). The BN backward pass removes exactly that component from the signal passed to the convolution weights, so the per-step core-weight update stays small. BN becomes a parameter subspace where the trigger is expressed without disturbing the gradients that preserve clean accuracy.

Clean data

Gradient-to-weight ratio on clean data: convolution and BN parameters have similar small magnitudes.

Trigger, BN-free model

Gradient-to-weight ratio in a model without BN under a trigger: convolution weights receive large gradients.

Trigger, BN model

Gradient-to-weight ratio in a BN model under a trigger: BN beta and gamma spike while convolution weights stay near zero.
Per-parameter gradient-to-weight ratio |∇θ|/|θ| for the last convolution and BN layers of ResNet-20 in the first epoch of backdoor training. With BN present, the trigger’s gradient goes to γBN and βBN; removing BN sends it back into the convolution weights.

Method

Since the corrupted state lives in BN, we can repair the model by replacing BN alone. Neither defense changes the core weights.

Pipeline: a triggered input passes through a backdoored model with corrupted BN and yields an attacked prediction and explanation; BN is reset to gamma 1, beta 0 and its statistics are re-estimated online, giving the defended prediction and explanation.
FlashBN. Corrupted BN statistics are discarded and re-estimated from the inference batch, and the corrupted affine parameters are reset to (γ, β) = (1, 0).
  1. 1FlashBN (training-free)

    At inference, each BN layer normalizes with the statistics of the current batch and uses γ = 1, β = 0. The operator no longer depends on the stored, possibly poisoned, statistics or affine parameters. It works with batches as small as 5 samples.

  2. 2ReBN (few-shot)

    Reset all BN affines to (1, 0), score them by Fisher information to find the ones most sensitive to the backdoor, replace the top-K with small Gaussian noise, and fine-tune BN only, with masked gradients, on a small clean set.

Backdoored activations

Activations of the last BN layer of ResNet-20 on triggered inputs, showing backdoor-induced artifacts.

After BN re-estimation

The same activations after affine reset and BN re-estimation with a batch of 4; the artifacts are suppressed.
Last-BN activations of ResNet-20. Re-estimating BN with a batch of only m = 4 samples suppresses the backdoor-induced artifacts.

Results

Black-box backdoor attacks

PreAct ResNet-18 on CIFAR-10, averaged over eight attacks (ReAttack, CTRL, FTrojan, BPP, Poison Ink, Diffusion, Adaptive Blend, COMBAT), 10% poison ratio.

DefenseClean acc. ↑ASR ↓Triggered acc. ↑Time (s) ↓
No defense90.3290.99––
NPD87.0647.8034.86654.1
RNP73.9847.3634.56378.0
NAB90.052.3852.49607.2
UNIT88.428.0657.78290.9
FT-SAM88.432.5566.71993.9
BNP87.0669.1738.48138.1
ReBN (ours)91.202.2689.79526.4
FlashBN (ours)89.199.7286.5422.5

Triggered accuracy is the share of triggered inputs assigned their true class. Per-attack results, NAD, EP, SAU, Tiny ImageNet and other architectures are in the paper.

Explanation-aware backdoor attacks

Explanation MSE against the clean explanation for a backdoored ResNet-20 on CIFAR-10.

AttackExplainerOursSoftplusAgg.SmoothGrad
Simple FoolingGradient0.030.250.230.09
Grad-CAM0.050.310.290.12
Relevance-CAM0.020.280.280.17
Red HerringGradient0.020.180.170.08
Grad-CAM0.030.290.260.18
Relevance-CAM0.020.140.140.16

Full Disguise keeps the explanation and changes only the prediction, so it is evaluated by triggered accuracy and ASR in the paper.

What the attacks do

Limitations

The analysis applies to BN-based CNNs. Models without BN and ViT-B/16 are failure cases. An attacker who freezes BN during poisoning must write the trigger into the core weights; there, BN correction lowers clean accuracy instead of removing the backdoor.

BibTeX

@inproceedings{kadir2026backdoor,
  title     = {Backdoor Attacks Rerouted: Batch Normalization as a
               Sink for Adversarial Signals},
  author    = {Kadir, Md Abdul and Tran, Tuan and Sonntag, Daniel},
  booktitle = {Advances in Neural Information Processing Systems (NeurIPS)},
  year      = {2026}
}