Lune

NeurIPS2024Top-tier venue

SampDetox: Black-box Backdoor Defense via Perturbation-based Sample Detoxification

Yanxin Yang, Chentao Jia, Dengke Yan, Ming Hu, Tianlin Li, Xiaofei Xie, Xian Wei, Mingsong Chen

Abstract

The advancement of Machine Learning has enabled the widespread deployment of Machine Learning as a Service (MLaaS) applications. However, the untrustworthy nature of third-party ML services poses backdoor threats. Existing defenses in MLaaS are limited by their reliance on training samples or white-box model analysis, highlighting the need for a black-box backdoor purification method. In our paper, we attempt to use diffusion models for purification by introducing noise in a forward diffusion process to destroy backdoors and recover clean samples through a reverse generative process. However, since a higher noise also destroys the semantics of the original samples, it still results in a low restoration performance. To investigate the effectiveness of noise in eliminating different types of backdoors, we conducted a preliminary study, which demonstrates that backdoors with low visibility can be easily destroyed by lightweight noise and those with high visibility need to be destroyed by high noise but can be easily detected. Based on the study, we propose SampDetox, which strategically combines lightweight and high noise. SampDetox applies weak noise to eliminate low-visibility backdoors and compares the structural similarity between the recovered and original samples to localize high-visibility backdoors. Intensive noise is then applied to these localized areas, destroying the high-visibility backdoors while preserving global semantic information. As a result, detoxified samples can be used for inference even by poisoned models. Comprehensive experiments demonstrate the

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.

10 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

  • Invisible Backdoor Attack with Sample-Specific Triggers cites Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural Networks
  • Backdoor Cleaning without External Guidance in MLLM Fine-tuning cites Taught Well Learned Ill: Towards Distillation-conditional Backdoor Attack
  • BadTV: Unveiling Backdoor Threats in Third-Party Task Vectors cites Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural Networks
  • BadTV: Unveiling Backdoor Threats in Third-Party Task Vectors cites Trojaning Attack on Neural Networks
  • Denoising Diffusion Implicit Models cites Denoising Diffusion Probabilistic Models
  • Test-Time Attention Purification for Backdoored Large Vision Language Models cites Invisible Backdoor Attack with Sample-Specific Triggers
  • Test-Time Attention Purification for Backdoored Large Vision Language Models cites Backdoor Cleaning without External Guidance in MLLM Fine-tuning
  • Test-Time Attention Purification for Backdoored Large Vision Language Models cites Denoising Diffusion Probabilistic Models
  • Taught Well Learned Ill: Towards Distillation-conditional Backdoor Attack cites Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural Networks
  • Taught Well Learned Ill: Towards Distillation-conditional Backdoor Attack cites Trojaning Attack on Neural Networks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers10

  1. Backdoor Cleaning without External Guidance in MLLM Fine-tuningXuankun Rong, Wenke Huang, Jian Liang, Jinhe Bi et al.NeurIPS 2025 · 39 citations
  2. Test-Time Attention Purification for Backdoored Large Vision Language ModelsZhifang Zhang, Bojun Yang, Shuo He, Weitong Chen et al.CVPR 2026 · 7 citations
  3. Taught Well Learned Ill: Towards Distillation-conditional Backdoor AttackYukun Chen, Boheng Li, Yu Yuan, Leyi Qi et al.NeurIPS 2025 · 6 citations
  4. Enhancing Privacy in Multimodal Federated Learning with Information TheoryTianzhe Xiao, Yichen Li, Yining Qi, Yi Liu et al.NeurIPS 2025 · 2 citations
  5. BadTV: Unveiling Backdoor Threats in Third-Party Task VectorsChia-Yi Hsu, Yu-Lin Tsai, Zhe Yu, Yan-Lun Chen et al.CCS 2026 · 2 citations

Builds on24

  1. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  2. Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations
  3. 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
  4. Trojaning Attack on Neural NetworksYingqi Liu, Shiqing Ma, Yousra Aafer, Wen-Chuan Lee et al.NDSS 2018 · 1,377 citations
  5. Invisible Backdoor Attack with Sample-Specific TriggersYuezun Li, Yiming Li, Baoyuan Wu, Longkang Li et al.ICCV 2021 · 639 citations

Related papers

  1. Black-box Backdoor Defense via Zero-shot Image PurificationYucheng Shi, Mengnan Du, Xuansheng Wu, Zihan Guan et al.NeurIPS 2023 · 66 citations
  2. Elijah: Eliminating Backdoors Injected in Diffusion Models via Distribution ShiftShengwei An, Sheng-Yen Chou, Kaiyuan Zhang, Qiuling Xu et al.AAAI 2024 · 48 citations
  3. SCALE-UP: An Efficient Black-box Input-level Backdoor Detection via Analyzing Scaled Prediction ConsistencyJunfeng Guo, Yiming Li, Xun Chen, Hanqing Guo et al.ICLR 2023 · 19 citations
  4. PBP: Post-training Backdoor Purification for Malware ClassifiersDung Thuy Nguyen, Ngoc N. Tran, Taylor T. Johnson, Kevin LeachNDSS 2025
  5. Divide and Conquer: Heterogeneous Noise Integration for Diffusion-based Adversarial PurificationGaozheng Pei, Shaojie Lyu, Gong Chen, Ke Ma et al.CVPR 2025
Dusk over the sea between two cliffs drawn in fine vertical lines