mlsanityData to 7 Oct 2026

Defending against Backdoor Attacks via Module Switching

arXiv 2504.05902 ↗First posted 8 Apr 2025cs.CR cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Backdoor attacks pose a serious threat to deep neural networks (DNNs), allowing adversaries to implant triggers for hidden behaviors in inference. Defending against such vulnerabilities is especially difficult in the post-training setting, since end-users lack training data or prior knowledge of the attacks. Model merging offers a cost-effective defense; however, latest methods like weight averaging (WAG) provide reasonable protection when multiple homologous models are available, but are less effective with fewer models and place heavy demands on defenders. We propose a module-switching defense (MSD) for disrupting backdoor shortcuts. We first validate its theoretical rationale and empirical effectiveness on two-layer networks, showing its capability of achieving higher backdoor divergence than WAG, and preserving utility. For deep models, we evaluate MSD on Transformer and CNN architectures and design an evolutionary algorithm to optimize fusion strategies with selective mechanisms to identify the most effective combinations. Experiments show that MSD achieves stronger defense with fewer models in practical settings, and even under an underexplored case of collusive attacks among multiple models--where some models share the same backdoors--switching strategies by MSD deliver superior robustness against diverse attacks. Code is available at https://github.com/weijun-l/module-switching-defense.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 60 of its 90 references that are in the map. First posted on arXiv 8 Apr 2025.

Builds on

60 of 90 references.

References · 60

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  5. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
  6. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
  7. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  8. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  9. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
  10. 2021DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharingcited by 1,219
  11. 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,194
  12. 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,052
38 more
  1. 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,012
  2. 2018Regularized Evolution for Image Classifier Architecture Searchcited by 902
  3. 2023TIES-Merging: Resolving Interference When Merging Modelscited by 795
  4. 2023Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free Lunchcited by 679
  5. 2021Merging Models with Fisher-Weighted Averagingcited by 613
  6. 2022Mixture-of-Experts with Expert Choice Routingcited by 611
  7. 2018Fine-Pruning: Defending Against Backdooring Attacks on Deep Neural Networkscited by 550
  8. 2020Visual Transformers: Token-based Image Representation and Processing for Computer Visioncited by 333
  9. 2020Weight Poisoning Attacks on Pre-trained Modelscited by 318
  10. 2021Anti-Backdoor Learning: Training Clean Models on Poisoned Datacited by 258
  11. 2020ONION: A Simple and Effective Defense Against Textual Backdoor Attackscited by 231
  12. 2021Adversarial Neuron Pruning Purifies Backdoored Deep Modelscited by 230
  13. 2019A backdoor attack against LSTM-based text classification systemscited by 214
  14. 2021Hidden Killer: Invisible Textual Backdoor Attacks with Syntactic Triggercited by 203
  15. 2019The Evolved Transformercited by 180
  16. 2021Adversarial Unlearning of Backdoors via Implicit Hypergradientcited by 160
  17. 2021Activation Functions in Deep Learning: A Comprehensive Survey and Benchmarkcited by 153
  18. 2023Neural Architecture Search: Insights from 1000 Paperscited by 136
  19. 2019One-Shot Federated Learningcited by 124
  20. 2020Practical Detection of Trojan Neural Networks: Data-Limited and Data-Free Casescited by 93
  21. 2021Competency Problems: On Finding and Removing Artifacts in Language Datacited by 91
  22. 2021Turn the Combination Lock: Learnable Textual Backdoor Attacks via Word Substitutioncited by 85
  23. 2021Backdoor Attack in the Physical Worldcited by 82
  24. 2018Backdooring Convolutional Neural Networks via Targeted Weight Perturbationscited by 66
  25. 2023Reconstructive Neuron Pruning for Backdoor Defensecited by 56
  26. 2022MM-BD: Post-Training Detection of Backdoor Attacks with Arbitrary Backdoor Pattern Types Using a Maximum Margin Statisticcited by 53
  27. 2022Fine-mixing: Mitigating Backdoors in Fine-tuned Language Modelscited by 50
  28. 2023UNICORN: A Unified Backdoor Trigger Inversion Frameworkcited by 44
  29. 2024IBD-PSC: Input-level Backdoor Detection via Parameter-oriented Scaling Consistencycited by 38
  30. 2023Towards Stable Backdoor Purification through Feature Shift Tuningcited by 30
  31. 2024Enhancing One-Shot Federated Learning Through Data and Ensemble Co-Boostingcited by 27
  32. 2023BackdoorBox: A Python Toolbox for Backdoor Learningcited by 25
  33. 2024Here's a Free Lunch: Sanitizing Backdoored Models with Model Mergecited by 21
  34. 2024CleanGen: Mitigating Backdoor Attacks for Generation Tasks in Large Language Modelscited by 20
  35. 2023Mitigating Backdoor Poisoning Attacks through the Lens of Spurious Correlationcited by 19
  36. 2024Shortcuts Everywhere and Nowhere: Exploring Multi-Trigger Backdoor Attackscited by 19
  37. 2024BadActs: A Universal Backdoor Defense in the Activation Spacecited by 19
  38. 2024Mitigating the Backdoor Effect for Multi-Task Model Merging via Safety-Aware Subspacecited by 14

50 most cited of 60 All 60 (JSON)

Built on by

Not cited yet.