[edit]
Multi-Head Attention as a Source of Catastrophic Forgetting in MoE Transformers
Proceedings of the 43rd International Conference on Machine Learning, PMLR 306:14688-14706, 2026.
Abstract
Mixture-of-Experts (MoE) architectures are appealing for continual learning because sparse routing should localize updates and reduce interference, yet MoE Transformers still forget substantially even with sparse, well-balanced expert utilization. We attribute this gap to a pre-routing bottleneck: multi-head attention concatenates head-specific signals into a single post-attention router input, forcing routing to act on co-occurring feature compositions rather than separable head channels. We show that this router input simultaneously encodes multiple separately decodable semantic and structural factors with uneven head support, and that different feature compositions induce weakly aligned parameter-gradient directions; as a result, routing maps many distinct compositions to the same route. We quantify this collision effect via a route-wise effective composition number $N_{\mathrm{eff}}$ and find that higher $N_{\mathrm{eff}}$ is associated with larger old-task loss increases after continual training. Motivated by these findings, we propose MH-MoE, which performs head-wise routing over sub-representations to increase routing granularity and reduce composition collisions. On TRACE across multiple backbones, MH-MoE consistently improves the retention–accuracy trade-off over LoRA-MoE variants.