NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Adversarial Continual Learning

Sayna Ebrahimi, Franziska Meier, Roberto Calandra, Trevor Darrell, Marcus Rohrbach

Abstract

Adversarial Continual Learning (ACL) addresses the challenge of catastrophic forgetting by disentangling neural representations into task-invariant (shared) and task-specific (private) features. By leveraging architecture growth for private modules and a minimal experience replay buffer for the shared module, ACL achieves state-of-the-art performance with near-zero forgetting across diverse task sequences. This approach ensures that shared features are protected from task-specific interference, leading to more robust and scalable continual learning.

Introduction

The ability to learn a sequence of tasks without forgetting previous ones—Continual Learning (CL)—is a fundamental goal of artificial intelligence. Standard neural networks suffer from "catastrophic forgetting," where weight updates for new tasks overwrite features necessary for prior ones. Existing solutions typically follow three strategies: regularization-based methods that protect important weights, architecture-based methods that add new neurons, or memory-based methods that replay old data.

The authors argue that these methods often fail to distinguish between task-invariant features (shared underlying structures) and task-specific specializations. Without this separation, shared features are corrupted by specific ones, leading to interference. ACL proposes a "divide and conquer" strategy to explicitly disentangle these representations.

Methodology

The ACL framework consists of a Shared Module ($S$), common to all tasks, and a series of Private Modules ($P^1, ..., P^T$), one for each task.

The ACL architecture during training (a) and test time (b). The training phase utilizes an adversarial discriminator and orthogonality constraints to disentangle shared and private features.

Adversarial Disentanglement

The core of ACL is adversarial training. An adversarial discriminator ($D$) is trained to identify which task a feature originated from, while the Shared Module is trained to "fool" the discriminator. This process ensures the Shared Module learns truly task-invariant features.

Orthogonality and Forgetting Prevention

To prevent redundancy, an orthogonality constraint ($L_{diff}$) forces the latent spaces of the Shared and Private modules to be mathematically independent. Forgetting is mitigated through a hybrid approach:

  • Private features are protected by freezing the respective private modules once a task is completed.
  • Shared features are maintained using a minimal Experience Replay buffer. Because these features are task-invariant, they are naturally more robust, requiring significantly less replay data (as little as one sample per class) compared to traditional methods.

Experimental Evaluation

ACL was evaluated on several benchmarks, including 5-Split MNIST, 20-Split CIFAR100, 20-Split miniImageNet, and a diverse 5-Datasets sequence (SVHN, CIFAR10, not-MNIST, Fashion-MNIST, and MNIST) to test resilience to domain shifts.

Key Results

ACL consistently outperformed state-of-the-art baselines like Hard Attention Mask (HAT) and Progressive Neural Networks (PNN).

  • Accuracy: On 20-Split miniImageNet, ACL achieved 62.07% accuracy, surpassing HAT (59.45%) and A-GEM (52.43%).
  • Forgetting: The model achieved a Backward Transfer (BWT) of 0.00 on multiple benchmarks, effectively eliminating catastrophic forgetting.
  • Efficiency: ACL maintained high performance with a fraction of the memory required by other architecture-growing methods, plateauing quickly in its replay buffer requirements.

Discussion and Insights

A primary insight is that shared features are inherently more "forgetting-resistant." The adversarial discriminator proved more effective at disentanglement than orthogonality constraints alone; without it, the shared space often remained contaminated with task-specific information. Furthermore, the model exhibited "negative intransigence," where learning new tasks improved the ability to learn future tasks as the shared feature pool became richer.

Limitations

Despite its success, ACL faces challenges with extreme domain shifts where shared features are scarce. Additionally, the current implementation assumes known task boundaries. Future work may explore scaling ACL with modern transformer architectures or adapting it for task-free continual learning settings.

Conclusion

Adversarial Continual Learning provides a robust framework for sequential task learning by explicitly separating shared and private representations. By combining adversarial disentanglement with efficient memory usage, it offers a scalable solution to catastrophic forgetting, paving the way for more flexible and enduring AI systems.

Summary updated

BibTeX
@inproceedings{ebrahimi2020adversarial,
  author = {Sayna Ebrahimi and Franziska Meier and Roberto Calandra and Trevor Darrell and Marcus Rohrbach},
  title = {{Adversarial Continual Learning}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58621-8\_23},
}
Figure