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