MHLA: Restoring Expressivity of Linear Attention via Token-Level Multi-Head

Kewei Zhang, Ye Huang, Yufan Deng, Jincheng Yu, Junsong Chen +3 more
1/12/2026
cs.CVcs.AI

No official code found. Best implementation: DAGroup-PKU/MHLA (157 stars, MIT, last commit 2026-04-17).

Abstract

While the Transformer architecture dominates many fields, its quadratic self-attention complexity hinders its use in large-scale applications. Linear attention offers an efficient alternative, but its direct application often degrades performance, with existing fixes typically re-introducing computational overhead through extra modules (e.g., depthwise separable convolution) that defeat the original purpose. In this work, we identify a key failure mode in these methods: global context collapse, where the model loses representational diversity. To address this, we propose Multi-Head Linear Attention (MHLA), which preserves this diversity by computing attention within divided heads along the token dimension. We prove that MHLA maintains linear complexity while recovering much of the expressive power of softmax attention, and verify its effectiveness across multiple domains, achieving a 3.6\% improvement on ImageNet classification, a 6.3\% gain on NLP, a 12.6\% improvement on image generation, and a 41\% enhancement on video generation under the same time complexity.

View on arXivView PDF

Code Implementations(1)

DAGroup-PKU/MHLACommunity77%
MIT

MHLA: Restoring Expressivity of Linear Attention via Token-Level Multi-Head (ICLR 2026)

1576Shell, PythonDec 28, 20256 months agoMIT
ditimage-classificationimage-generationimagenetlanguage-modeling+3 more

Similar Papers

Cite this paper

@article{zhang2026mhla,
  title  = {MHLA: Restoring Expressivity of Linear Attention via Token-Level Multi-Head},
  author = {Kewei Zhang and Ye Huang and Yufan Deng and Jincheng Yu and Junsong Chen and Huan Ling and Enze Xie and Daquan Zhou},
  year   = {2026},
  eprint = {2601.07832},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.07832v2}
}

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/2601.07832.svg)](https://codeofpaper.com/paper/2601.07832)

Discussion