Anti-retroactive Interference for Lifelong Learning

Runqi Wang, Yuxiang Bao, Baochang Zhang, Jianzhuang Liu, Wentao Zhu, Guodong Guo

Abstract

Humans can continuously learn new knowledge. However, machine learning models suffer from drastic dropping in performance on previous tasks after learning new tasks. Cognitive science points out that the competition of similar knowledge is an important cause of forgetting. In this paper, we design a paradigm for lifelong learning based on meta-learning and associative mechanism of the brain. It tackles the problem from two aspects: extracting knowledge and memorizing knowledge. First, we disrupt the sample’s background distribution through a background attack, which strengthens the model to extract the key features of each task. Second, according to the similarity between incremental knowledge and base knowledge, we design an adaptive fusion of incremental knowledge, which helps the model allocate capacity to the knowledge of different difficulties. It is theoretically analyzed that the proposed learning paradigm can make the models of different tasks converge to the same optimum. The proposed method is validated on the MNIST, CIFAR100, CUB200 and ImageNet100 datasets.

Introduction

In the field of Artificial Intelligence, "Lifelong Learning" (or Continual Learning) remains a significant challenge. While humans naturally accumulate knowledge over time without losing prior skills, deep learning models frequently experience catastrophic forgetting. When a model is trained on a new task, the updates to its weights often overwrite information essential for previous tasks, leading to a sharp decline in performance.

The authors identify retroactive interference—a concept from cognitive science—as a primary driver of this forgetting. This occurs when new, similar information competes with and disrupts existing memories. For instance, if a model learns to identify a "bicycle on a lawn" and later a "dog on a lawn," the shared "lawn" background can cause the model to conflate the two classes. The Anti-Retroactive Interference (ARI) framework aims to mitigate this by forcing the model to ignore redundant background features and focus on the critical, unique features of an object.

Methodology

The ARI framework addresses lifelong learning through two primary mechanisms: feature extraction and knowledge fusion.

Extracting Intra-Class Features (The Background Attack)

To prevent the model from being misled by similar backgrounds across different tasks, ARI utilizes a Background Attack.

Figure 1: Conceptual overview of the background attack reducing retroactive interference by separating feature distributions.

The process involves:

  1. Spatial Attention: Identifying foreground objects versus background regions.
  2. Adversarial Blurring: Applying a targeted adversarial attack to the background. By introducing calculated noise, the model is incentivized to ignore these pixels and concentrate its attention on the object's unique features.
  3. Associative Learning: This associates the object with various disrupted backgrounds, enhancing the robustness of feature extraction and reducing the overlap in feature space between different classes.

Generating and Fusing Task-Specific Models

Rather than updating a single global model—which often leads to weight drift—ARI employs a structured three-phase meta-learning approach.

Figure 3: The three-phase process for updating the model during a new task, including task-specific training and adaptive fusion.
  • Phase 1: Task-Specific Training: For each new task, independent "mini-models" are created for all tasks encountered so far, utilizing a small rehearsal memory of previous samples.
  • Phase 2: Adaptive Fusion: These models are fused into a single base model. This is not a simple average; instead, the Manhattan distance between models is used to calculate weights. This ensures that models which have drifted further (representing more distinct or difficult knowledge) have a greater influence on the final parameters.
  • Phase 3: Meta-Training: The fused model undergoes a final meta-training phase to optimize the global parameter distribution, ensuring the model converges toward a common optimum for all tasks.

Experimental Results

The ARI framework was validated on four standard computer vision benchmarks: MNIST, CIFAR100, CUB200, and ImageNet100.

  • CIFAR100: ARI achieved an average accuracy of 80.88%, significantly outperforming the previous state-of-the-art (iTAML) at 77.79%.
  • ImageNet100: The model reached 79.32% accuracy, representing a 5.22% improvement over RPSnet.
  • CUB200: ARI demonstrated superior resilience to forgetting, outperforming memory-based methods like CoIL by over 14%.
  • Forward Transfer (FWT): On CIFAR100, ARI achieved an FWT of 1.18%, suggesting that learning previous tasks actually facilitated the learning of future tasks.

Conclusion

The ARI paradigm demonstrates that mimicking human cognitive processes—specifically by combating retroactive interference—can significantly improve lifelong learning in machines. By using adversarial noise as a teaching tool to "clean" feature focus and employing an adaptive fusion mechanism, ARI sets new benchmarks for accuracy and memory retention. While the background attack adds approximately 20% to training time, the resulting gains in robustness and performance offer a promising path forward for continuous AI development.

Code available at: https://github.com/bhrqw/ARI

Summary updated

BibTeX
@inproceedings{wang2022anti,
  author = {Runqi Wang and Yuxiang Bao and Baochang Zhang and Jianzhuang Liu and Wentao Zhu and Guodong Guo},
  title = {{Anti-retroactive Interference for Lifelong Learning}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  url = {https://openreview.net/forum?id=DoYeQGx_oCW},
}
Figure