Multi-Head Attention as a Source of Catastrophic Forgetting in MoE Transformers
Abstract
Lay Summary
Large language models are often updated over time so that they can learn new tasks or new knowledge, but this can cause them to forget what they previously learned. A popular way to reduce this problem is to divide the model into multiple "experts" so that different inputs can use different parts of the model. However, we find that this design still suffers from forgetting because the model often mixes several different types of information together before deciding which expert to use. This can send very different learning signals to the same expert, making old knowledge easier to overwrite. We propose MH-MoE, a new expert-routing method that makes decisions separately over different parts of the model’s internal representation. This gives the model a finer way to decide where each piece of information should go, reducing harmful interference between different kinds of knowledge. Experiments on a continual-learning benchmark show that MH-MoE better preserves earlier abilities while maintaining strong performance on later tasks. This work helps explain why expert-based language models can still forget, and offers a practical design for making them more reliable when they are updated over time.