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

Multiple Modes for Continual Learning

Siddhartha Datta, Nigel Shadbolt

TL;DR

Standard continual learning methods often fail because they anchor model updates to a single, local parameter neighborhood, leading to a strict trade-off between learning new tasks and forgetting old ones. To break this limitation, the authors introduce Mode-Optimized Task Allocation (MOTA), a rehearsal-free approach that maps out the global geometry of the loss landscape by training multiple distinct parameter "modes" in parallel. By dynamically allocating tasks to the most suitable mode and minimizing parameter drift, MOTA achieves state-of-the-art accuracy across various distribution shifts without needing any historical data buffers.

What Problem Does This Paper Address?

When deep learning models sequentially learn new tasks, they suffer from catastrophic forgetting—the tendency to overwrite previously learned knowledge. Traditional non-rehearsal methods (like regularization or parameter isolation) try to mitigate this by anchoring all future updates to a local subspace defined by the very first task.

However, this local anchoring creates a bottleneck. If the model drifts too far from this initial subspace to learn a new task, it forgets the past; if it stays too close, it fails to adapt. The authors challenge this status quo by asking a fundamental question: What happens when we leverage the global geometry of the parameter space instead of sticking to a single local neighborhood? They aim to design a flexible, online continual learning system that requires no historical data buffers (rehearsal-free) and does not rely on knowing task boundaries at test time.

Figure 1: A diagram of the different pa- rameter trajectories demonstrating that, rather than anchoring all subsequent learning on mode θ0,1, we can leverage the functional diversity of other modes for optimal task allocation.

Methods

The authors propose Mode-Optimized Task Allocation (MOTA), which operates in two primary phases:

  1. Mode Initialization: When the first task arrives, MOTA instantiates $N$ smaller models (modes) from a shared pre-trained initialization. It trains these models in parallel while explicitly maximizing the distance (average cosine similarity) between their parameters. This creates a functionally diverse set of starting points across the global loss landscape.
  2. Mode Adaptation: For all subsequent tasks, MOTA strategically updates only a subset of these modes. Instead of optimizing models independently, it computes a joint loss based on the average probability distribution across all modes. It pairs this with an Elastic Weight Consolidation (EWC) regularization term to minimize individual mode drift.

To prevent the models from over-optimizing before a stable joint distribution is reached, MOTA introduces a backtracking mechanism. It evaluates combinations of model checkpoints across training epochs and selects the sequence that minimizes both the joint task loss and total parameter drift.

Datasets

The strategy was evaluated across several rigorous benchmarks designed to simulate different types of real-world distribution shifts:

  • Split-CIFAR100 (Task-IL): 100 classes split sequentially into 10 tasks (10 classes each) to test distinct task shifts.
  • Split-CIFAR100 (Instance-IL): 100 fine labels mapped to 5 coarse labels across 5 tasks, simulating sub-population shifts.
  • DomainNet (Instance-IL): 6 distinct domains sharing 345 labels, used to evaluate robustness against pure domain shifts.
  • TinyImageNet (Task-IL): 200 labels divided into 10 sequential tasks (20 labels each).

Key Insights and Ideas

  • Embracing Global Geometry: Rather than fighting parameter drift within a single local neighborhood, it is highly effective to coordinate updates across multiple, functionally diverse regions of the parameter space.
  • Flatter Basins Prevent Forgetting: By visualizing the loss landscape, the authors discovered that standard regularization methods like EWC cause the parameter basin to become increasingly sharp and restrictive as tasks accumulate. MOTA’s multi-mode approach preserves a much flatter loss basin across sequential tasks, naturally safeguarding older knowledge.
Loss landscape visualization showing basin flatness

Key Results

MOTA consistently outperformed standard regularization baselines (EWC, SI, LwF) and even matched or exceeded the performance of replay-based methods—all while maintaining a strict, buffer-free storage profile.

Baseline comparison table
  • Superior Accuracy: On the Task-IL Split-CIFAR100 benchmark, MOTA achieved an average accuracy of 70.5%, noticeably outperforming EWC (66.9%) and standard Ensembles (60.1%) under identical capacity constraints (e.g., splitting capacity into two smaller ResNet-18s vs. one large ResNet-50).
  • Drastically Lower Drift: MOTA reduced average task drift down to the order of $10^{-5}$ or $10^{-6}$, compared to EWC's drift of $0.36 - 0.52$.
  • Robustness to Varied Shifts: MOTA demonstrated strong generalization across domain shifts (scoring 57.5% on DomainNet vs. EWC's 40.2%) and sub-population shifts (scoring 52.3% on Instance-IL CIFAR100 vs. EWC's 48.8%).
Figure 1: Per-task average accu- racy

Limitations and Future Work

While MOTA delivers excellent accuracy and parameter efficiency, it introduces computational overhead during training. Running multiple modes in parallel and executing the combinatorial backtracking algorithm increases training time and memory footprints during the adaptation phase.

Additionally, balancing the exact number of modes ($N$) against total model capacity remains a delicate hyperparameter trade-off. The authors suggest that future work should explore scaling this global geometric approach to massive foundation models and developing more sophisticated, automated task allocation policies.

Summary updated

BibTeX
@inproceedings{datta2023multiple,
  author = {Siddhartha Datta and Nigel Shadbolt},
  title = {{Multiple Modes for Continual Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=7sWLxZBLPO5},
}
Figure