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

Linshan Hou, Ruili Feng, Zhongyun Hua, Wei Luo, Leo Yu Zhang +1 more
5/16/2024
cs.LGcs.CR

Official code: THUYimingLi/BackdoorBox (679 stars, GPL-2.0, last commit 2025-09-27). 1 more implementation below.

Abstract

Deep neural networks (DNNs) are vulnerable to backdoor attacks, where adversaries can maliciously trigger model misclassifications by implanting a hidden backdoor during model training. This paper proposes a simple yet effective input-level backdoor detection (dubbed IBD-PSC) as a `firewall' to filter out malicious testing images. Our method is motivated by an intriguing phenomenon, i.e., parameter-oriented scaling consistency (PSC), where the prediction confidences of poisoned samples are significantly more consistent than those of benign ones when amplifying model parameters. In particular, we provide theoretical analysis to safeguard the foundations of the PSC phenomenon. We also design an adaptive method to select BN layers to scale up for effective detection. Extensive experiments are conducted on benchmark datasets, verifying the effectiveness and efficiency of our IBD-PSC method and its resistance to adaptive attacks. Codes are available at \href{https://github.com/THUYimingLi/BackdoorBox}{BackdoorBox}.

View on arXivView PDF

Code Implementations(2)

GPL-2.0

The open-sourced Python toolbox for backdoor attacks and defenses.

67997Python, Jupyter NotebookOct 26, 20211 years agoGPL-2.0
backdoor-attacksbackdoor-defensesbackdoor-learningtrustworthy-aitrustworthy-machine-learning

A compact toolbox for backdoor attacks and defenses.

19323Julia, ShellJun 10, 20222 years ago

Similar Papers

Cite this paper

@article{hou2024ibdpsc,
  title  = {IBD-PSC: Input-level Backdoor Detection via Parameter-oriented Scaling Consistency},
  author = {Linshan Hou and Ruili Feng and Zhongyun Hua and Wei Luo and Leo Yu Zhang and Yiming Li},
  year   = {2024},
  eprint = {2405.09786},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.09786v3},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.09786.svg)](https://codeofpaper.com/paper/2405.09786)

Discussion