2026-01-13 · 专家 · 计算机视觉 · 自然语言处理 · 机器学习

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

本文提出了一种名为多头线性注意力(MHLA)的新机制,通过在标记维度上计算注意力,以保持表达能力的多样性和线性时间复杂度,从而提高线性注意力在多个领域的性能。

更新于 2026-01-22。作者:Kewei Zhang、Ye Huang、Yufan Deng、Jincheng Yu、Junsong Chen、Huan Ling、Enze Xie、Daquan Zhou。

中文摘要

尽管Transformer架构在许多领域占据主导地位,但其二次自注意力复杂度阻碍了其在大规模应用中的使用。线性注意力提供了一种高效的替代方案,但直接应用往往会降低性能,而现有的解决方案通常通过引入额外的模块(例如深度可分离卷积)来重新引入计算开销,从而违背了原始目的。在这项工作中,我们确定了这些方法中的一个关键失败模式:全局上下文崩溃,其中模型失去了表征多样性。为了解决这个问题,我们提出了多头线性注意力(MHLA),通过在分立的头部中沿标记维度计算注意力来保持这种多样性。我们证明MHLA在保持线性复杂性的同时,恢复了大部分softmax注意力的表达能力,并在多个领域验证了其有效性,在ImageNet分类上实现了3.6%的提升,在NLP上实现了6.3%的增益,在图像生成上实现了12.6%的改进,在视频生成上实现了相同时间复杂度下的41%提升。

英文摘要

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.

解读

一句话总结

本文提出了一种名为多头线性注意力(MHLA)的新机制,通过在标记维度上计算注意力,以保持表达能力的多样性和线性时间复杂度,从而提高线性注意力在多个领域的性能。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源