Theory on Mixture-of-Experts in Continual Learning

Hongbo Li, Sen-Fon Lin, Lingjie Duan, Yingbin Liang, Ness B. Shroff
2/12/2026

No official code found. Best implementation: LiHongbo97/MoE-in-CL (1 star, MIT, last commit 2026-03-15).

Abstract

Continual learning (CL) has garnered significant attention because of its ability to adapt to new tasks that arrive over time. Catastrophic forgetting (of old tasks) has been identified as a major issue in CL, as the model adapts to new tasks. The Mixture-of-Experts (MoE) model has recently been shown to effectively mitigate catastrophic forgetting in CL, by employing a gating network to sparsify and distribute diverse tasks among multiple experts. However, there is a lack of theoretical analysis of MoE and its impact on the learning performance in CL. This paper provides the first theoretical results to characterize the impact of MoE in CL via the lens of overparameterized linear regression tasks. We establish the benefit of MoE over a single expert by proving that the MoE model can diversify its experts to specialize in different tasks, while its router learns to select the right expert for each task and balance the loads across all experts. Our study further suggests an intriguing fact that the MoE in CL needs to terminate the update of the gating network after sufficient training rounds to attain system convergence, which is not needed in the existing MoE studies that do not consider the continual task arrival. Furthermore, we provide explicit expressions for the expected forgetting and overall generalization error to characterize the benefit of MoE in the learning performance in CL. Interestingly, adding more experts requires additional rounds before convergence, which may not enhance the learning performance. Finally, we conduct experiments on both synthetic and real datasets to extend these insights from linear models to deep neural networks (DNNs), which also shed light on the practical algorithm design for MoE in CL.

View on arXivView PDF

Code Implementations(1)

MIT

This is the code for our ICLR spotlight paper: https://arxiv.org/pdf/2406.16437

10PythonMar 19, 20257 months agoMIT

Similar Papers

Cite this paper

@article{li2026theory,
  title  = {Theory on Mixture-of-Experts in Continual Learning},
  author = {Hongbo Li and Sen-Fon Lin and Lingjie Duan and Yingbin Liang and Ness B. Shroff},
  year   = {2026},
  eprint = {2406.16437},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2406.16437},
  journal = {ICLR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.16437.svg)](https://codeofpaper.com/paper/2406.16437)

Discussion