Abstract
Neural network backdoors are often susceptible to removal via fine-tuning on clean data, a phenomenon attributed to catastrophic forgetting. This paper introduces Sequential Backdoor Learning (SBL), a framework designed to enhance backdoor resilience by leveraging the geometry of the loss landscape. By combining Sharpness-Aware Minimization (SAM) with Continual Learning (CL) techniques, SBL "traps" backdoors in flat regions of the loss landscape, making them significantly harder to erase through standard defensive fine-tuning. Evaluations on CIFAR-10, GTSRB, and ImageNet-10 demonstrate that SBL maintains near-perfect attack success rates even against advanced defenses that neutralize conventional attacks.
Introduction
Backdoor attacks pose a significant security threat to deep learning systems. An adversary poisons a model such that it performs normally on clean inputs but executes a malicious task when a specific "trigger" is present. While effective, these backdoors are often fragile; defenders can frequently "clean" the model using a small set of clean data through fine-tuning or distillation. This defensive success is largely due to catastrophic forgetting, where the model prioritizes fitting new clean data over maintaining the previously learned (and often "sharply" localized) backdoor task.
Methodology: Sequential Backdoor Learning (SBL)
The proposed SBL framework treats backdoor insertion as a two-stage sequential task to ensure durability.
- Finding a Flat Minimum: Instead of standard empirical risk minimization, SBL employs Sharpness-Aware Minimization (SAM). SAM seeks parameter regions characterized by both low loss and a flat landscape. A flat region is inherently more resilient because small parameter updates during defensive fine-tuning are less likely to move the model out of the low-loss zone for the backdoor task.
- Simulating Defense via Continual Learning: The attacker then performs a second training stage that simulates a fine-tuning defense. By applying Continual Learning (CL) constraints (e.g., EWC, AGEM), the attacker forces the model to retain the "Task A" (backdoor) while learning "Task B" (clean data performance). This process effectively "locks" the backdoor into a parameter space that satisfies both objectives.
Experimental Setup
The effectiveness of SBL was evaluated across three benchmarks:
- CIFAR-10: 10-class image classification.
- GTSRB: German Traffic Sign Recognition Benchmark, representing safety-critical scenarios.
- ImageNet-10: A subset of ImageNet-1K to test scalability.
Architectures tested include ResNet-18, VGG-16, and ResNet-20.
Key Results
SBL demonstrates remarkable resilience against state-of-the-art defenses. On CIFAR-10, advanced defenses like Neural Attention Distillation (NAD) and SAM-based fine-tuning (SAM-FT) reduced conventional Attack Success Rates (ASR) to below 5%. In contrast, SBL-poisoned models maintained an ASR of 100%.
The resilience is attributed to the geometry of the loss landscape. As shown in the interpolation plots, conventional backdoors reside in sharp valleys where ASR drops precipitously as parameters move toward the clean model. SBL backdoors occupy wide basins, maintaining high ASR across the interpolation path. Furthermore, SBL models exhibit significantly lower gradient norms during fine-tuning, explaining why defensive updates fail to displace the malicious weights.
Conclusion
Sequential Backdoor Learning exposes a critical vulnerability in current post-training defenses. By weaponizing Continual Learning and flatness-aware optimization, adversaries can create backdoors that are virtually immune to standard fine-tuning and distillation. This work highlights the need for new defensive paradigms that can detect or neutralize "trapped" malicious regions within flat loss landscapes.
Summary updated