Abstract
Knowledge Distillation (KD) is a standard technique for compressing large "teacher" models into smaller "student" models. It has long been assumed that if the teacher model is clean and trustworthy, the resulting student model will also be secure. This paper shatters that assumption by demonstrating a novel backdoor attack that poisons the distillation dataset rather than the teacher. By using manipulated images that trick a clean teacher into predicting a target label, the authors successfully implant backdoors into student models with nearly 100% success rates.
Introduction: The "Clean Teacher" Safeguard
Security researchers generally believed that the corrective nature of Knowledge Distillation served as a natural defense against backdoor attacks. In a typical KD setup, the student learns to mimic the teacher’s soft outputs. If an attacker adds a "trigger" (e.g., a small red dot) to an image of a puppy and labels it "kitten," a clean teacher will still recognize the puppy and output a high probability for the "puppy" class. This "corrective" signal from the teacher was thought to prevent the student from ever learning the malicious "trigger = kitten" association.
The authors of this paper challenge this safeguard, asking whether a backdoor can be created if the teacher is clean but the data used for distillation is compromised.
Methodology: Adversarial Backdoor Poisoning
The proposed attack, Backdoor Poisoning via Manipulated Images, exploits the teacher's existing vulnerabilities to adversarial examples to bypass its corrective mechanism. The attack follows a three-step process:
- Image Manipulation: A clean image is modified with subtle adversarial perturbations (using methods like PGD or FGSM). The goal is to create a "manipulated image" that appears unchanged to humans but causes the clean teacher to predict the attacker's target label.
- Trigger Overlay: A fixed backdoor trigger is added to these manipulated images. The attacker verifies that the teacher still predicts the target label with the trigger present.
- Distillation Training: These poisoned images are injected into the distillation dataset. During training, both the ground-truth label and the teacher’s soft outputs align to tell the student that the image with the trigger belongs to the target class.
By aligning the teacher's output with the poisoned label, the attacker removes the protective "wash out" effect usually provided by a clean teacher.
Experimental Results
The researchers evaluated their attack on CIFAR-10, CIFAR-100, and an ImageNet subset.
- High Success Rates: On CIFAR-10, the attack achieved an Attack Success Rate (ASR) of 99.2% while maintaining clean accuracy comparable to a baseline model.
- ImageNet Performance: Using BigGAN-generated transitions on ImageNet, the attack reached a 100% ASR.
- Resilience to Distillation Weights: Unlike traditional attacks, which fail as the distillation weight ($\lambda$) increases, this adversarial approach remains effective even when the student is trained entirely on the teacher's outputs ($\lambda = 1.0$).
- Model Compression: The attack remains potent even when the student model is significantly smaller than the teacher, proving that model compression does not filter out these backdoors.
Discussion and Conclusion
The core insight of this work is that a clean teacher can be turned into an unwitting accomplice. By using adversarial examples, the attacker forces the teacher to "validate" the malicious association between a trigger and a target class.
While the attack assumes the adversary can contribute a small portion of samples to the distillation dataset, it exposes a significant new attack surface. Future research must move beyond verifying teacher integrity and focus on auditing distillation datasets for adversarial patterns to secure the Knowledge Distillation pipeline.
Summary updated