Learning without Isolation: Pathway Protection for Continual Learning

Zhikang Chen, Abudukelimu Wuerkaixi, Sen Cui, Haoxuan Li, Ding Li, Jingfeng Zhang, Bo Han, Gang Niu, Houfang Liu, Yi Yang, Sifan Yang, Changshui Zhang, Tianling Ren

Abstract

Continual Learning (CL) aims to train models on a sequence of tasks without catastrophic forgetting. Traditional methods focus on parameter isolation or regularization, which often struggle with scalability and task-agnostic scenarios. This paper introduces Learning without Isolation (LwI), a framework that protects neural "pathways" rather than individual parameters. By leveraging graph matching to align features across tasks, LwI achieves state-of-the-art performance without requiring stored data or task IDs at inference.

Introduction: The Challenge of Catastrophic Forgetting

Deep neural networks are notoriously prone to catastrophic forgetting: learning new information often overwrites the weights essential for previous tasks. Current strategies—regularization, rehearsal, and architecture-based isolation—each have drawbacks. Parameter-based isolation, for instance, is often inefficient, requiring task-specific knowledge (Task IDs) and quickly exhausting the network's capacity as the number of tasks grows.

Conceptual visualization of neural pathways for multiple tasks.

Proposed Method: Learning without Isolation (LwI)

LwI shifts the focus from protecting static parameters to protecting the "flow" of information through neural pathways. The framework treats the network as a graph where neurons are nodes and weights are edges.

Hierarchical Pathway Alignment

When a new task is introduced, LwI performs a model fusion process using graph matching:

  1. Shallow Layers: The algorithm maximizes similarity matching. Since early layers capture general features (e.g., edges), sharing these pathways encourages cross-task collaboration.
  2. Deep Layers: The algorithm minimizes similarity matching (pathway diversion). Deeper layers are task-specific; by forcing new tasks into underutilized, sparse pathways, LwI prevents the overwriting of prior knowledge.
  3. Optimization: The Sinkhorn algorithm is employed to solve the matching problem efficiently, transforming alignment into a soft assignment for model fusion.

Experimental Evaluation

The authors evaluated LwI on standard benchmarks including CIFAR-100 and Tiny-ImageNet (split into up to 100 tasks) across various architectures like ResNet and AlexNet.

Comparison between parameter protection and pathway protection across task scenarios and performance metrics.

Key Results

  • Task-Agnostic Performance: LwI excels in scenarios where the Task ID is unknown at test time. On CIFAR-100, it achieved 43.42% task-agnostic accuracy, significantly outperforming LwF (37.54%) and EWC (31.81%).
  • Scalability: In extreme 100-task scenarios on Tiny-ImageNet, LwI maintained superior task-aware accuracy (~64.6%) compared to other isolation methods.
  • Data-Free Efficiency: Unlike rehearsal methods, LwI does not require storing old data, addressing privacy concerns while maintaining competitive performance.

Conclusion

By protecting neural pathways instead of isolated parameters, LwI offers a more flexible and scalable approach to Continual Learning. It effectively exploits network sparsity to accommodate new knowledge, making it a robust solution for both task-aware and task-agnostic environments. Future work will explore scaling this approach to Large Language Models and optimizing the computational overhead of graph matching.

Summary updated

BibTeX
@inproceedings{chen2025learning,
  author = {Zhikang Chen and Abudukelimu Wuerkaixi and Sen Cui and Haoxuan Li and Ding Li and Jingfeng Zhang and Bo Han and Gang Niu and Houfang Liu and Yi Yang and Sifan YANG and Changshui Zhang and Tianling Ren},
  title = {{Learning without Isolation: Pathway Protection for Continual Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=3KVHR1b9UZ},
}
Figure