English

Multi-Head Attention as a Source of Catastrophic Forgetting in MoE Transformers

Machine Learning 2026-02-16 v1

Abstract

Mixture-of-Experts (MoE) architectures are often considered a natural fit 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 NeffN_{eff} and find that higher NeffN_{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 with Qwen3-0.6B/8B, MH-MoE effectively mitigates forgetting, reducing BWT on Qwen3-0.6B from 11.2% (LoRAMoE) to 4.5%.

Keywords

Cite

@article{arxiv.2602.12587,
  title  = {Multi-Head Attention as a Source of Catastrophic Forgetting in MoE Transformers},
  author = {Anrui Chen and Ruijun Huang and Xin Zhang and Fang Dong and Hengjie Cao and Zhendong Huang and Yifeng Yang and Mengyi Chen and Jixian Zhou and Mingzhi Dong and Yujiang Wang and Jinlong Hou and Qin Lv and Robert P. Dick and Yuan Cheng and Tun Lu and Fan Yang and Li Shang},
  journal= {arXiv preprint arXiv:2602.12587},
  year   = {2026}
}