IBD-PSC: Input-level Backdoor Detection via Parameter-oriented Scaling Consistency

Linshan Hou, Ruili Feng, Zhongyun Hua, Wei Luo, Leo Yu Zhang, Yiming Li

Abstract

IBD-PSC is an inference-time backdoor detection framework that identifies malicious inputs by scaling internal model parameters rather than input pixels. By exploiting the Parameter-oriented Scaling Consistency (PSC) phenomenon—where poisoned samples maintain high confidence under parameter amplification while benign samples do not—IBD-PSC achieves near-perfect detection accuracy across diverse attack scenarios with negligible overhead.

Introduction

Deep Neural Networks (DNNs) are susceptible to backdoor attacks, where an adversary embeds a "trigger" in training data to cause misclassification during inference. Input-level Backdoor Detection (IBD) aims to filter these malicious inputs in real-time. Previous state-of-the-art methods, such as SCALE-UP, rely on scaling input pixel values. However, pixel scaling is fundamentally limited because pixel values are bounded (typically [0, 255]). As shown in Figure 1, excessive scaling can "wash out" triggers or saturate benign features, leading to detection failures.

Limitations of pixel scaling (SCALE-UP) vs. the potential of parameter scaling.

The PSC Phenomenon

The core contribution of this work is the discovery of Parameter-oriented Scaling Consistency (PSC). When the learnable parameters ($\gamma$ and $\beta$) of a model's Batch Normalization (BN) layers are amplified, poisoned samples consistently maintain high prediction confidence (near 1.0). In contrast, the confidence of benign samples drops sharply as more layers are amplified. This phenomenon suggests that backdoor features are more robustly represented in the feature space than benign features.

The PSC phenomenon: Average confidence of benign vs. poisoned samples across various models.

Methodology: IBD-PSC

The IBD-PSC pipeline consists of two stages:

  1. Model Amplification: The defender generates a series of amplified models by multiplying BN parameters in later layers by a scaling factor $\omega$. To ensure stability, an Adaptive Layer Selection algorithm uses a small set of local benign samples (25–100) to find the optimal layers for amplification.
  2. Input Detection: For each incoming image, the system calculates its PSC value—the average confidence across the amplified models. If the confidence remains above a threshold $T$, the image is flagged as poisoned.

Unlike pixel scaling, parameter scaling is unbounded, allowing the defense to push the model further to expose hidden backdoors without the saturation issues seen in prior methods.

Evaluation and Results

IBD-PSC was evaluated against 13 representative backdoor attacks (e.g., BadNets, WaNet, physical attacks) on CIFAR-10, GTSRB, and SubImageNet-200. The method consistently achieved AUROC and F1 scores near 1.0. Notably, in scenarios where SCALE-UP failed (AUROC < 0.7), IBD-PSC maintained near-perfect performance. The system is highly efficient, as amplified models can be executed in parallel, and remains robust against adaptive attacks.

Conclusion

IBD-PSC offers a robust and efficient "firewall" for DNN inference. By shifting the focus from input-level manipulation to internal parameter scaling, it overcomes the inherent limitations of pixel-based defenses. Future work will explore extending this approach to other modalities such as text and audio.

Summary updated

BibTeX
@inproceedings{hou2024ibd,
  author = {Linshan Hou and Ruili Feng and Zhongyun Hua and Wei Luo and Leo Yu Zhang and Yiming Li},
  title = {{IBD-PSC: Input-level Backdoor Detection via Parameter-oriented Scaling Consistency}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=YCzbfs2few},
}
Figure