Lune

S&P2024Top-tier venue

MM-BD: Post-Training Detection of Backdoor Attacks with Arbitrary Backdoor Pattern Types Using a Maximum Margin Statistic

Hang Wang, Zhen Xiang, David J. Miller, George Kesidis

Abstract

Backdoor attacks are an important type of adversarial threat against deep neural network classifiers, wherein test samples from one or more source classes will be (mis)classified to the attacker’s target class when a backdoor pattern is embedded. In this paper, we focus on the post-training backdoor defense scenario commonly considered in the literature, where the defender aims to detect whether a trained classifier was backdoor-attacked without any access to the training set. Many post-training detectors are designed to detect attacks that use either one or a few specific backdoor embedding functions (e.g., patch-replacement or additive attacks). These detectors may fail when the backdoor embedding function used by the attacker (unknown to the defender) is different from the backdoor embedding function assumed by the defender. In contrast, we propose a post-training defense that detects backdoor attacks with arbitrary types of backdoor embeddings, without making any assumptions about the backdoor embedding type. Our detector leverages the influence of the backdoor attack, independent of the backdoor embedding mechanism, on the landscape of the classifier’s outputs prior to the softmax layer. For each class, a maximum margin statistic is estimated. Detection inference is then performed by applying an unsupervised anomaly detector to these statistics. Thus, our detector does not need any legitimate clean samples, and can efficiently detect backdoor attacks with arbitrary numbers of source classes. These advantages over several state-of-the-art methods are demonstrated on four datasets, for three different types of backdoor patterns, and for a variety of attack configurations. Finally, we propose a novel, general approach for backdoor mitigation once a detection is made. The mitigation approach was the runner-up at the first IEEE Trojan Removal Competition. The code is online available.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

35 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Trojaning Attack on Neural Networks cites Stealing Machine Learning Models via Prediction APIs
  • Breaking the False Sense of Security in Backdoor Defense through Re-Activation Attack cites Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural Networks
  • Breaking the False Sense of Security in Backdoor Defense through Re-Activation Attack cites Trojaning Attack on Neural Networks
  • Towards Reliable and Efficient Backdoor Trigger Inversion via Decoupling Benign Features cites Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural Networks
  • CBD: A Certified Backdoor Detector Based on Local Dominant Probability cites Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural Networks
  • CBD: A Certified Backdoor Detector Based on Local Dominant Probability cites Trojaning Attack on Neural Networks
  • CBD: A Certified Backdoor Detector Based on Local Dominant Probability cites Towards Evaluating the Robustness of Neural Networks
  • IBD-PSC: Input-level Backdoor Detection via Parameter-oriented Scaling Consistency cites Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural Networks
  • IBD-PSC: Input-level Backdoor Detection via Parameter-oriented Scaling Consistency cites Towards Reliable and Efficient Backdoor Trigger Inversion via Decoupling Benign Features
  • Defending Multimodal Backdoored Models by Repulsive Visual Prompt Tuning cites Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural Networks
  • Defending Multimodal Backdoored Models by Repulsive Visual Prompt Tuning cites Trojaning Attack on Neural Networks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers35

  1. Towards Reliable and Efficient Backdoor Trigger Inversion via Decoupling Benign FeaturesXiong Xu, Kunzhe Huang, Yiming Li, Zhan Qin et al.ICLR 2024 · 59 citations
  2. IBD-PSC: Input-level Backdoor Detection via Parameter-oriented Scaling ConsistencyLinshan Hou, Ruili Feng, Zhongyun Hua, Wei Luo et al.ICML 2024 · 52 citations
  3. Breaking the False Sense of Security in Backdoor Defense through Re-Activation AttackMingli Zhu, Siyuan Liang, Baoyuan WuNeurIPS 2024 · 38 citations
  4. CBD: A Certified Backdoor Detector Based on Local Dominant ProbabilityZhen Xiang, Zidi Xiong, Bo LiNeurIPS 2023 · 29 citations
  5. Defending Multimodal Backdoored Models by Repulsive Visual Prompt TuningZhifang Zhang, Shuo He, Haobo Wang, Bingquan Shen et al.NeurIPS 2025 · 18 citations

Builds on36

  1. Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 citations
  2. Deep Learning with Differential PrivacyMartín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan et al.CCS 2016 · 7,620 citations
  3. Stealing Machine Learning Models via Prediction APIsFlorian Tramèr, Fan Zhang, Ari Juels, Michael K. Reiter et al.USENIX Security 2016 · 2,088 citations
  4. Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural NetworksBolun Wang, Yuanshun Yao, Shawn Shan, Huiying Li et al.S&P 2019 · 1,801 citations
  5. Trojaning Attack on Neural NetworksYingqi Liu, Shiqing Ma, Yousra Aafer, Wen-Chuan Lee et al.NDSS 2018 · 1,377 citations

Related papers

  1. Model X-ray: Detecting Backdoored Models via Decision BoundaryYanghao Su, Jie Zhang, Ting Xu, Tianwei Zhang et al.ACM MM 2024 · 2 citations
  2. BaDExpert: Extracting Backdoor Functionality for Accurate Backdoor Input DetectionTinghao Xie, Xiangyu Qi, Ping He, Yiming Li et al.ICLR 2024 · 20 citations
  3. UMD: Unsupervised Model Detection for X2X Backdoor AttacksZhen Xiang, Zidi Xiong, Bo LiICML 2023 · 27 citations
  4. Post-Training Detection of Backdoor Attacks for Two-Class and Multi-Attack ScenariosZhen Xiang, David J. Miller, George KesidisICLR 2022 · 50 citations
  5. FreeEagle: Detecting Complex Neural Trojans in Data-Free CasesChong Fu, Xuhong Zhang, Shouling Ji, Ting Wang et al.USENIX Security 2023
Dusk over the sea between two cliffs drawn in fine vertical lines