# Poster 30816

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/30816

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hello everyone, I'm Hongbo. I'm a postdoc scholar from Ohio State University. Today I will present our work, Theory on Mixture of Experts in Continual Learning. Continual learning has emerged as a very important learning paradigm in machine learning. It aims to train models on sequential tasks while mitigating catastrophic forgetting.
However, if the data distributions or tasks change largely, a single expert can perform poorly on the previous tasks when learning new tasks. This is called forgetting. To solve this problem, the mixture of experts model has shown great promise in continual learning. However, most of existing literature lacks...
A theoretical understanding. And this paper provides the first theoretical analysis of MUI in continual learning to mitigate this gap. Here is our system model, so including a continual learning model and the MOE model. We consider over-parameterized linear regression tasks for continual learning. We consider there are N clusters of tasks and T training runs.
For tasks of the same cluster, they can be very similar, while for tasks from different clusters, their ground truths may vary a lot. In each round t, there is a task randomly sampled from a cluster of tasks.
And after inputting its feature matrix XT and XT and the label YT to the MOE model, the gating network will calculate the gating output for each expert. After that, the router will select the top one expert for training task T. For example, in this figure, the router selects expert 2. And after the training, expert 2 will output its learning result.
Finally, it updates the gating network parameter theta T plus 1 for the next task. Based on our system model, we have derived many interesting and important theoretical insights. The first is about expert specialization. We proved that after the system convergence, each expert will specialize on learning a cluster of tasks.
And it greatly improves the learning performance compared to a single expert. Secondly, the router can learn to balance tasks across experts for improved learning and also it finally achieves load balancing. Another interesting result is about the early termination which is missing in the previous MOE studies.
So we show that it is necessary to stop updating the gating network parameters after sufficient run. This is necessary for the convergence because of the dynamics of task variable in continual learning. The most important result in this paper is that we derive the explicit expressions for forgetting and generalization error.
which characterizes a MOE's benefit over a single expert. From the expressions, we find another interesting result which is about the impact of expert number. We show that if there are more experts than task clusters, increasing the number of experts requires longer convergence, which may not improve the learning performance. So this can guide the MOE design for later works.
Finally, we conduct real data experiments to verify our theoretical findings. For example, in the CIFAR-10 experiments, we set four task clusters with 300 tasks, and we vary expert number from 1, 4 and 12. From these figures we find that if there is only one expert, the training error and the learning accuracy is bad.
And for MOE with early termination system, the learning performance is very good. And by comparing four expert system with twelve expert system, we found that increasing expert number may not improve the learning performance, but delete the system convergence. And this is consistent with our theoretical findings. By comparing figure A_ C_ with figures B_ and D_
We found that top area combination is necessary to guarantee the system convergence. So that's all about our work. Thank you.
