TL;DR
This paper reveals a critical vulnerability in regularization-based continual learning models: they are susceptible to targeted data poisoning attacks that degrade performance on specific past tasks without being detected during training. The authors propose a novel attack method that subtly manipulates new task training data, causing significant performance drops on targeted older tasks, highlighting the urgent need for more robust continual learning systems.
What Problem Does This Paper Address?
Continual learning aims to enable models to learn new tasks sequentially while retaining knowledge of previously learned tasks, mimicking human lifelong learning. A major challenge is "catastrophic forgetting," where learning a new task erases knowledge of old ones. Regularization-based methods, a popular approach to mitigate this, limit access to past task data due to real-world constraints like memory and privacy. However, this lack of access to past data makes it difficult to verify the model's performance on those tasks. The paper identifies this as a significant vulnerability: attackers can poison the training data of a new task to specifically degrade performance on a chosen past task, and this attack will likely go unnoticed because the model's performance is primarily validated by its training accuracy on the current task.
Methods
The core of the proposed method is a task-specific data poisoning attack designed to be stealthy. The attacker uses an attack model (AEξ), built with an encoder-decoder structure, to generate adversarial noise. This noise is added to the training data of a new task, creating poisoned data (DN'). The key is that this poisoned data is crafted such that it doesn't significantly impact the training accuracy on the new task, making it hard for the model trainer to detect.
To achieve this, the attack model is trained using a modified optimization process. It involves:
- Pseudo-updating a temporary model: A temporary model (fe) is trained on the poisoned data (DN') using the same continual learning loss function (Lcls) as the victim model. This simulates how the victim model would learn.
- Training the attack model along trajectories: The attack model (AEξ) is then trained to generate noise that, when added to the clean data, causes the temporary model (fe) to perform poorly on a specific target task (Tt).
- Knowledge Distillation Loss: To prevent the attack from degrading performance on all past tasks (which would be too obvious), a knowledge distillation loss term is incorporated. This loss encourages the poisoned model to retain similar outputs to the original model (foN-1) on non-targeted past tasks, effectively isolating the performance degradation to the attacker's chosen task. The final loss for the attack model (Latk) balances the cross-entropy loss on the target task with the knowledge distillation loss on other tasks.
Datasets
The experiments were conducted using two variants of the MNIST dataset:
- Permuted MNIST: Each task involves a different random permutation of the pixels of the MNIST images.
- Split MNIST: The dataset is split such that each task only sees a subset of the digits (e.g., Task 1 sees digits 0-1, Task 2 sees 2-3, etc.).
Key Insights and Ideas
- The "blind spot" of regularization-based CL: The paper effectively demonstrates that the very mechanism designed to protect past knowledge (limiting access to past data) creates an exploitable vulnerability. Without direct access to past task performance metrics, models are susceptible to subtle attacks.
- Stealthy attacks are feasible: The proposed attack successfully degrades performance on a target task without significantly impacting the new task's training accuracy, making it difficult to detect during the training phase.
- Targeted degradation: The attack is not a blunt instrument; it can be precisely aimed at a specific past task, leaving other past tasks relatively unharmed. This makes the attack more insidious and harder to diagnose.
- Implications for real-world deployment: The findings suggest that deployed continual learning models, especially those using regularization-based methods, might be silently compromised without users realizing it until they specifically test the affected past task.
Key Results
The paper shows that their task-specific data poisoning attack (denoted as 'Ours-T1' and 'Ours-T2' for attacks on Task 1 and Task 2, respectively) significantly degrades the accuracy on the targeted tasks. For instance, in Table 1, for Permuted MNIST with EWC, the 'Ours-T1' attack reduces the accuracy on Task 1 from 0.9344 (Plain) to 0.6005. Similarly, 'Ours-T2' reduces Task 2 accuracy from 0.9520 to 0.5625. The 'Noise' baseline (random noise) also shows degradation, but the proposed attack is more targeted and effective. Importantly, the performance on non-targeted tasks remains relatively high, demonstrating the attack's specificity. Figure 4 visually confirms this, showing a sharp drop in accuracy for the attacked tasks while others remain largely unaffected. Table 2 also indicates that the knowledge distillation loss helps maintain reasonable backward transfer performance on non-targeted tasks.
Limitations and Future Work
Limitations: * The paper acknowledges that for the Split MNIST dataset, the results for non-targeted tasks are less stable. This is attributed to the inherent similarity of digits in MNIST, where attacking one task might inadvertently affect others due to shared visual features. * The attack is demonstrated on specific regularization-based continual learning methods (EWC and SI) and MNIST variants. Its effectiveness on other CL paradigms or more complex datasets is not explored.
Future Work: The authors implicitly suggest the need for developing robust continual learning models that are inherently resistant to such adversarial attacks. Future research could focus on:
- Developing detection mechanisms for data poisoning in continual learning settings.
- Designing CL algorithms that are less susceptible to subtle data perturbations.
- Extending the attack and defense strategies to more complex datasets and real-world applications.
- Investigating the impact of such attacks on other types of continual learning methods (e.g., rehearsal-based, architecture-based).
Summary updated