Can Distillation Mitigate Backdoor Attacks in Pre-trained Encoders?
On the map: LLM safety and security → Backdoor and data poisoning attacks
Abstract (arXiv)
Self-Supervised Learning (SSL) has become a prominent paradigm for pre-training encoders to learning general-purpose representations from unlabeled data and releasing them on third-party platforms for broad downstream deep learning tasks. However, SSL is vulnerable to backdoor attacks, where an adversary may train and distribute poisoned pre-training encoders to contaminate the downstream models. In this paper, we study a defense mechanism based on distillation against poisoned encoders in SSL. Traditionally, distillation transfers knowledge from a pre-trained teacher model to a student model, enabling the student to replicate or refine the teacher's learned representations. We repurpose distillation to extract benign knowledge and remove backdoors from a poisoned pre-trained encoder to produce a clean and reliable pre-trained model. We conduct extensive experiments to evaluate the effectiveness of distillation in mitigating backdoor attacks on pre-trained encoders. Based on two state-of-the-art backdoor attacks and four widely adopted image classification datasets, our results demonstrate that distillation reduces the attack success rate from 80.87% to 27.51%, with only a 6.35% drop in model accuracy. Furthermore, by comparing four teacher architectures, three student models, and six loss functions, we find that the distillation with fine-tuned teacher networks, warm-up-based student training, and attention-based distillation losses yield the best performance.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Placed in Backdoor and data poisoning attacks, one of 12 directions in LLM safety and security. Builds on 32 of its 51 references that are in the map. First posted on arXiv 6 Mar 2024.
Builds on
32 of 51 references.
Closest ancestors · 4
Same direction, newest first
- 2023Prompt as Triggers for Backdoor Attack: Examining the Vulnerability in Language Models2 May
- 2023Detecting Backdoors in Pre-trained Encoders23 Mar
- 2021Triggerless Backdoor Attack for NLP Tasks with Clean Labels15 Nov
- 2021Be Careful about Poisoned Word Embeddings: Exploring the Vulnerability of the Embedding Layers in NLP Models29 Mar
Other references · 28
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
- 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
- 2020wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representationscited by 3,853
- 2020Supervised Contrastive Learningcited by 2,803
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2020Improved Baselines with Momentum Contrastive Learningcited by 2,282
- 2014FitNets: Hints for Thin Deep Netscited by 1,619
- 2020Knowledge Distillation: A Surveycited by 1,578
16 more
- 2016Paying More Attention to Attention: Improving the Performance of Convolutional Neural Networks via Attention Transfercited by 1,059
- 2020A Survey on Contrastive Self-supervised Learningcited by 553
- 2019Similarity-Preserving Knowledge Distillationcited by 507
- 2013Do Deep Nets Really Need to be Deep?cited by 466
- 2019Hidden Trigger Backdoor Attackscited by 359
- 2020Reflection Backdoor: A Natural Backdoor Attack on Deep Neural Networkscited by 341
- 2021Neural Attention Distillation: Erasing Backdoor Triggers from Deep Neural Networkscited by 313
- 2019Correlation Congruence for Knowledge Distillationcited by 280
- 2021Knowledge distillation: A good teacher is patient and consistentcited by 255
- 2021Adversarial Neuron Pruning Purifies Backdoored Deep Modelscited by 230
- 2020Clean-Label Backdoor Attacks on Video Recognition Modelscited by 162
- 2021Poisoning and Backdooring Contrastive Learningcited by 149
- 2020Deep Feature Space Trojan Attack of Neural Networks by Controlled Detoxificationcited by 93
- 2022SSL4EO-S12: A Large-Scale Multi-Modal, Multi-Temporal Dataset for Self-Supervised Learning in Earth Observationcited by 82
- 2021Show, Attend and Distill:Knowledge Distillation via Attention-based Feature Matchingcited by 76
- 2018Knowledge Transfer with Jacobian Matchingcited by 73
Built on by
Citing papers per year: 2024: 2; 2025: 4.
6 papers.
- 2025Intrinsic Fingerprint of LLMs: Continue Training is NOT All You Need to Steal A Model!cited by 16
- 2024Mutual Information Guided Backdoor Mitigation for Pre-trained Encoderscited by 8
- 2025Rethinking Membership Inference Attacks Against Transfer Learningcited by 5
- 2024Privacy-preserving Universal Adversarial Defense for Black-box Modelscited by 3
- 2025Secure Transfer Learning: Training Clean Models Against Backdoor in (Both) Pre-trained Encoders and Downstream Datasetscited by 3
- 2025Secure Resource Allocation via Constrained Deep Reinforcement Learningcited by 1
- 2025Intrinsic Fingerprint of LLMs: Continue Training is NOT All You Need to Steal A Model!2 Jul 2025
- 2025Secure Transfer Learning: Training Clean Models Against Backdoor in (Both) Pre-trained Encoders and Downstream Datasets16 Apr 2025
- 2025Rethinking Membership Inference Attacks Against Transfer Learning20 Jan 2025
- 2025Secure Resource Allocation via Constrained Deep Reinforcement Learning20 Jan 2025
- 2024Privacy-preserving Universal Adversarial Defense for Black-box Models20 Aug 2024
- 2024Mutual Information Guided Backdoor Mitigation for Pre-trained Encoders5 Jun 2024