Robust Dynamic Expansion for Continual Learning under Backdoor Attacks via Purification and Selective Recovery
Organizations: University of Electronic Science and Technology of China, Chengdu 610054, China
Abstract
Continual learning (CL) enables models to acquire new knowledge from sequentially arriving tasks while retaining previously learned knowledge. However, in practical scenarios, task streams collected from untrusted sources may contain backdoor-poisoned samples, posing a critical challenge to the stability, plasticity, and security of continual learners. In this work, we investigate a challenging setting termed Continual Learning Under Backdoor Attack (CLUBA), where each incremental task may involve a small proportion of maliciously manipulated training samples. Unlike conventional continual learning or backdoor defense scenarios, CLUBA requires models to simultaneously mitigate catastrophic forgetting, preserve adaptation capability, and prevent the absorption of malicious supervision during sequential updates. To address this challenge, we propose a robust dynamic-expansion framework that integrates sample purification, selective recovery, and robust expert routing into a unified continual learning paradigm. Specifically, we introduce Bi-Prototype Purification (BPP) to identify suspicious samples by exploiting semantic discrepancies in feature space. Based on purified data, Gradient Discrepancy-based Robustness Optimization (GDBRO) selectively recovers informative poisoned samples through pseudo-label correction and gradient consistency evaluation, improving robustness while maintaining model plasticity. Furthermore, Robust Feature Consistency-based Expert Selection (RFCBES) constructs perturbation-aware class prototypes to enable reliable expert routing under corrupted or shifted inputs.
Figures & tables
| Dataset | Original Size | Phase | Resizing & Augmentation |
| Split CIFAR-10 | Training | Random crop (pad 4), Horizontal Flip, Resize | |
| Testing | Resize | ||
| Split CIFAR-100 | Training | Random crop (pad 4), Horizontal Flip, Resize | |
| Testing | Resize | ||
| Split Tiny-ImageNet | Training | Random crop (pad 4), Horizontal Flip, Resize | |
| Testing | Resize |
| Method | CIFAR-10 | CIFAR-100 | Tiny-ImageNet | ||||||||||||||||||
| Clean | BadNets | LTB | CBACL | Clean | BadNets | LTB | CBACL | Clean | BadNets | LTB | CBACL | ||||||||||
| CA | CA | ASR | CA | ASR | CA | ASR | CA | CA | ASR | CA | ASR | CA | ASR | CA | CA | ASR | CA | ASR | CA | ASR | |
| DER | 95.86 | 93.79 | 13.07 | 93.94 | 9.17 | 68.11 | 33.83 | 42.97 | 31.31 | 45.08 | 43.03 | 30.99 | 43.58 | 46.12 | 68.16 | 66.74 | 28.19 | 64.20 | 35.14 | 46.80 | 51.18 |
| DER++ | 93.75 | 94.66 | 33.59 | 84.94 | 15.56 | 90.54 | 34.21 | 39.81 | 33.03 | 40.66 | 61.78 | 42.12 | 35.68 | 41.24 | 70.98 | 72.51 | 22.11 | 68.33 | 29.80 | 54.17 | 43.91 |
| ER-ACE | 95.48 | 93.05 | 52.10 | 92.50 | 25.40 | 94.32 | 13.34 | 58.99 | 58.77 | 0.84 | 57.12 | 11.20 | 60.09 | 2.04 | 65.00 | 64.72 | 1.01 | 36.78 | 68.10 | 64.77 | 1.12 |
| GEM | 95.89 | 93.73 | 47.22 | 94.10 | 18.20 | 95.67 | 10.80 | 75.85 | 75.29 | 2.45 | 73.50 | 14.50 | 75.27 | 1.88 | 82.42 | 81.25 | 2.93 | 67.57 | 20.25 | 81.27 | 3.60 |
| Dataset | Total Classes | Number of Tasks | Classes per Task |
| Split CIFAR-10 | 10 | 5 | 2 |
| Split CIFAR-100 | 100 | 10 | 10 |
| Split Tiny-ImageNet | 200 | 20 | 10 |
| Method Variant | Components | Metrics | |||
| Dynamic Expert | Feature Clustering | Label Correction | CA (%) | ASR (%) | |
| Baseline (DER++) | ✗ | ✗ | ✗ | 42.90 1.32 | 35.80 3.25 |
| w/o Dynamic Expert | ✗ | ✓ | ✓ | 34.98 2.37 | 0.10 0.03 |
| w/o Defense Pipeline | ✓ | ✗ | ✗ | 89.87 0.46 | 27.54 2.15 |
| w/o Label Correction | ✓ | ✓ | ✗ | 91.36 0.58 | 0.14 0.09 |
| Ours (Full Model) | ✓ | ✓ | ✓ | 91.16 0.33 | 0.08 0.10 |
| Method Variants | CA (%) | ASR (%) |
| BPP Only | 55.68 | 3.22 |
| + Warm-up | 61.78 | 1.19 |
| + Warm-up + Relabel | 90.67 | 1.47 |
| + RFCBES (Full Model) | 90.21 | 0.07 |
Incremental Learning
Incremental learning studies how models update from sequential data while retaining earlier knowledge as classes, tasks, or domains change.
See all 146 papers