Abstract
Continual learning (CL) is often hampered by catastrophic forgetting, where neural networks lose previously acquired knowledge when learning new tasks. While ensembling is a proven technique for improving robustness, its high computational cost typically precludes its use in resource-constrained CL scenarios. This paper presents Subspace-Connectivity, a novel framework that combines neural network subspaces with mode connectivity. By navigating the weight space to find low-loss paths between task-specific subspaces, the method achieves the performance benefits of large ensembles at the computational cost of a single model.
Introduction
In the paradigm of continual learning, models must adapt to a sequential stream of data without forgetting. Most existing research focuses on single-model architectures. While ensembles—collections of independently trained models—offer superior generalization, their memory and compute requirements scale linearly with the number of members. This paper addresses the challenge of bringing ensemble-level robustness to CL without the associated overhead, specifically targeting applications on edge devices where resource efficiency is paramount.
Methodology: Subspace-Connectivity CL
The authors propose a hybrid approach that leverages the geometric properties of neural network loss landscapes. The method, termed Subspace-Connectivity, involves three primary steps:
- Subspace Learning: For each new task, the model learns a subspace defined by a convex combination of weights, rather than a single point.
- Midpoint Extraction: The center (midpoint) of the learned subspace is identified as the most stable solution for the current task, yielding higher accuracy and robustness to weight perturbations.
- Linear Mode Connectivity: To prevent "subspace drift"—the gradual loss of previous task knowledge—the algorithm uses a small replay buffer to enforce a low-loss linear path between the current task's midpoint and the previous task's midpoint. This regularizes the learning process, anchoring the new solution to the historical knowledge base.
Key Insights and Diversity
A central finding of this work is that the diversity inherent in ensembles is a natural defense against forgetting. Individual models within an ensemble may forget different aspects of a task; when their predictions are averaged, the collective knowledge remains more stable than any single constituent.
As shown in the task-specific analysis above, the ensemble average consistently yields higher accuracy than the median performance of individual models. This supports the hypothesis that collaboration between diverse solutions is more effective than simply increasing the parameter count of a single model.
Experimental Results
The proposed method was evaluated on standard benchmarks including Permuted MNIST, Rotated MNIST, Split CIFAR-100, and Split miniImageNet.
Performance Scaling
The benefits of ensembling in CL are directly proportional to the number of models utilized. As illustrated in the scaling analysis, the final average accuracy increases as more models are added to the ensemble, maintaining a significant lead over single-model baselines.
Efficiency and Accuracy
- Rotated MNIST: Subspace-Connectivity achieved 86.7% accuracy, surpassing both single-model (81.9%) and 3-model vanilla ensembles (83.6%).
- Split CIFAR-100: The method reached 61.7% accuracy, significantly outperforming the single-model baseline (58.2%) while requiring only ~1.1x the FLOPs of a single model, compared to the 3x cost of a standard ensemble.
Conclusion
Subspace-Connectivity provides a path toward efficient, robust continual learning. By utilizing the geometric connectivity between task solutions, the method captures the advantages of ensembling—diversity and stability—without the prohibitive computational costs. Future work will explore dynamic ensemble expansion to further balance the trade-off between stability (remembering old tasks) and plasticity (learning new ones).
Summary updated