Addressing The Devastating Effects Of Single-Task Data Poisoning In Exemplar-Free Continual Learning

Stanislaw Pawlak, Bartlomiej Twardowski, Tomasz Trzcinski, Joost van de WeijerarXiv 2025 · DOI

Introduction

Continual Learning (CL) aims to mimic human intelligence by enabling AI models to learn from a continuous stream of data. However, this open-ended learning paradigm introduces significant security vulnerabilities, particularly regarding data integrity. While previous research often assumes an omniscient adversary with knowledge of model architecture or access to the entire data stream, this paper investigates a more realistic and insidious threat: Single-Task Poisoning (STP).

In the STP threat model, an attacker controls the data for only one specific task in a sequence. They lack knowledge of the model, previous tasks, or future data. Despite these constraints, the researchers demonstrate that such a "weak" attacker can effectively compromise the model's entire learning trajectory.

The Single-Task Poisoning Threat

The authors define two primary attack strategies designed to exploit the sequential nature of CL:

  1. BASE Attack: A broad-spectrum approach where the adversary applies uniform corruption (e.g., Gaussian blur, noise, or weather effects) to all images within a single task.
  2. BAIT Attack: A more surgical strike where only a subset of classes within a task are corrupted. This creates "spurious correlations," forcing the model to rely on the corruption (the "bait") for identification rather than actual semantic features.
Figure 4: Illustration of poisoning strategies. 'pn' represents the number of poisoned classes, while 'pcp' indicates the percentage of poisoned data within those classes.

The Cascade Effect: Stability and Plasticity

The core danger of STP in CL is the "Cascade Effect." Unlike traditional joint training where poisoning damage is often localized to the affected classes, poisoning in CL triggers a dual crisis of stability and plasticity.

  • Stability Loss: The poisoned task disrupts the model's internal representations, causing it to "forget" previously learned tasks.
  • Plasticity Loss: The corrupted weight updates hinder the model's ability to effectively learn new, clean tasks that follow the poisoned one.
Figure 1: The timeline of Single-Task Poisoning. A single poisoned task (Tp) causes performance loss in both previous tasks (Stability) and future tasks (Plasticity).

Geometric Defense: Task Vector Detection

To counter STP, the authors propose a novel defense framework based on the principle of Checkpoint $\rightarrow$ Detect $\rightarrow$ Rollback. The detection mechanism leverages the geometry of weight updates, known as Task Vectors.

A task vector ($\theta_{after} - \theta_{before}$) represents the shift in model parameters after learning a new task. The researchers discovered that learning from poisoned data produces a geometrically distinct signature compared to clean data. By measuring the cumulative angle of these updates across network layers, the system can identify anomalous "drifts." If a new task's update angle exceeds a calibrated threshold (e.g., the 90th percentile of known clean updates), it is flagged as poisoned, and the model rolls back to its last clean checkpoint.

Experimental Results

The framework was evaluated on standard benchmarks including CIFAR-10, CIFAR-100, and Tiny ImageNet using the CIFAR-C library for realistic corruptions. Key findings include:

  • Significant Impact: Poisoning a single task resulted in a final average accuracy drop of over 10-15% across the entire sequence.
  • High Detection Accuracy: The task-vector defense achieved a 93.8% detection rate for BASE attacks and 89.2% for the more subtle BAIT attacks.
  • Stealthiness: Poisoned tasks often maintain high validation accuracy during their specific training phase, potentially deceiving developers while silently compromising the model's long-term utility.

Conclusion

Single-Task Poisoning represents a potent threat to exemplar-free Continual Learning systems. By demonstrating that weight update geometry can serve as a reliable signature for data integrity, this work provides a robust path forward for securing autonomous learning systems against adversarial data corruption.

Summary updated

BibTeX
@misc{pawlak2025addressing,
  author = {Stanislaw Pawlak and Bartlomiej Twardowski and Tomasz Trzcinski and Joost van de Weijer},
  title = {{Addressing The Devastating Effects Of Single-Task Data Poisoning In Exemplar-Free Continual Learning}},
  year = {2025},
  eprint = {2507.04106},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.04106},
}
Figure