Scaling Continual Learning with Bi-Level Routing Mixture-of-Experts
Meng Lou, Yunxiang Fu, Yizhou Yu
TL;DR
Class-incremental learning on very long task sequences remains challenging due to catastrophic forgetting and representation drift in pre-trained models. CaRE introduces Bi-Level Routing Mixture-of-Experts (BR-MoE) to inject discriminative and comprehensive representations at every layer through dynamic router and expert selection, plus a shared EMA adapter for cross-task knowledge. A new OmniBenchmark-V2–based long-sequence evaluation protocol enables scalable benchmarking up to hundreds of tasks. Empirical results show CaRE outperforms strong PTM-based baselines across both long and short sequences, establishing scalability to 300+ tasks and providing a practical benchmark for future continual learning research.
Abstract
Continual learning, especially class-incremental learning (CIL), on the basis of a pre-trained model (PTM) has garnered substantial research interest in recent years. However, how to effectively learn both discriminative and comprehensive feature representations while maintaining stability and plasticity over very long task sequences remains an open problem. We propose CaRE, a scalable {C}ontinual Le{a}rner with efficient Bi-Level {R}outing Mixture-of-{E}xperts (BR-MoE). The core idea of BR-MoE is a bi-level routing mechanism: a router selection stage that dynamically activates relevant task-specific routers, followed by an expert routing phase that dynamically activates and aggregates experts, aiming to inject discriminative and comprehensive representations into every intermediate network layer. On the other hand, we introduce a challenging evaluation protocol for comprehensively assessing CIL methods across very long task sequences spanning hundreds of tasks. Extensive experiments show that CaRE demonstrates leading performance across a variety of datasets and task settings, including commonly used CIL datasets with classical CIL settings (e.g., 5-20 tasks). To the best of our knowledge, CaRE is the first continual learner that scales to very long task sequences (ranging from 100 to over 300 non-overlapping tasks), while outperforming all baselines by a large margin on such task sequences. Code will be publicly released at https://github.com/LMMMEng/CaRE.git.
