MetaLA: Unified Optimal Linear Approximation to Softmax Attention Map
Yuhong Chou, Man Yao, Kexin Wang, Yuqi Pan, Rui-Jie Zhu, Jibin Wu, Yiran Zhong, Yu Qiao, Bo Xu, Guoqi Li
摘要
Various linear complexity models, such as Linear Transformer (LinFormer), State Space Model (SSM), and Linear RNN (LinRNN), have been proposed to replace the conventional softmax attention in Transformer structures. However, the optimal design of these linear models is still an open question. In this work, we attempt to answer this question by finding the best linear approximation to softmax attention from a theoretical perspective. We start by unifying existing linear complexity models as the linear attention form and then identify three conditions for the optimal linear attention design: 1) Dynamic memory ability; 2) Static approximation ability; 3) Least parameter approximation. We find that none of the current linear models meet all three conditions, resulting in suboptimal performance. Instead, we propose Meta Linear Attention (MetaLA) as a solution that satisfies these conditions. Our experiments on Multi-Query Associative Recall (MQAR) task, language modeling, image classification, and Long-Range Arena (LRA) benchmark demonstrate that MetaLA is more effective than the existing linear models.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- MLP-Mixer: An all-MLP Architecture for Vision 引用了 Training data-efficient image transformers & distillation through attention
- Scaling Linear Attention Capacity with Sparse State Expansion 引用了 Parallelizing Linear Transformers with the Delta Rule over Sequence Length
- ZeCO: Zero-Communication Overhead Sequence Parallelism for Linear Attention 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- ZeCO: Zero-Communication Overhead Sequence Parallelism for Linear Attention 引用了 Parallelizing Linear Transformers with the Delta Rule over Sequence Length
- ZeCO: Zero-Communication Overhead Sequence Parallelism for Linear Attention 引用了 Language Models are Few-Shot Learners
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness 引用了 Language Models are Few-Shot Learners
- Parallelizing Linear Transformers with the Delta Rule over Sequence Length 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- Visual Instruction Tuning 引用了 Language Models are Few-Shot Learners
- Improving Bilinear RNN with Closed-loop Control 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- Improving Bilinear RNN with Closed-loop Control 引用了 Parallelizing Linear Transformers with the Delta Rule over Sequence Length
- Improving Bilinear RNN with Closed-loop Control 引用了 Training data-efficient image transformers & distillation through attention
引用它的顶会 Paper9
- Parallelizing Linear Transformers with the Delta Rule over Sequence LengthSonglin Yang, Bailin Wang, Yu Zhang, Yikang Shen 等NeurIPS 2024 · 412 次引用
- Improving Bilinear RNN with Closed-loop ControlJiaxi Hu, Yongqi Pan, Jusen Du, Disen Lan 等NeurIPS 2025 · 10 次引用
- Statistical Advantage of Softmax Attention: Insights from Single-Location RegressionO. Duranthon, Pierre Marion, Claire Boyer, Bruno Loureiro 等ICLR 2026 · 7 次引用
- Scaling Linear Attention Capacity with Sparse State ExpansionYuqi Pan, Yongqi An, Zheng Li, Yuhong Chou 等ICLR 2026 · 3 次引用
- ZeCO: Zero-Communication Overhead Sequence Parallelism for Linear AttentionYuhong Chou, Zehao Liu, Rui-Jie Zhu, Xinyi Wan 等NeurIPS 2025 · 2 次引用
它引用的 Paper49
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Visual Instruction TuningHaotian Liu, Chunyuan Li, Qingyang Wu, Yong Jae LeeNeurIPS 2023 · 11,349 次引用
- Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa 等ICML 2021 · 8,974 次引用
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra 等NeurIPS 2022 · 5,493 次引用
- MLP-Mixer: An all-MLP Architecture for VisionIlya O. Tolstikhin, Neil Houlsby, Alexander Kolesnikov, Lucas Beyer 等NeurIPS 2021 · 3,862 次引用
相关 Paper
- Rectifying Magnitude Neglect in Linear AttentionQihang Fan, Huaibo Huang, Yuang Ai, Ran HeICCV 2025 · 14 次引用
- Understanding the Differences in Foundation Models: Attention, State Space Models, and Recurrent Neural NetworksJerome Sieber, Carmen Amo Alonso, Alexandre Didier, Melanie N. Zeilinger 等NeurIPS 2024 · 38 次引用
- cosFormer: Rethinking Softmax In AttentionZhen Qin, Weixuan Sun, Hui Deng, Dongxu Li 等ICLR 2022 · 303 次引用
- Bridging the Divide: Reconsidering Softmax and Linear AttentionDongchen Han, Yifan Pu, Zhuofan Xia, Yizeng Han 等NeurIPS 2024 · 69 次引用
- Local Linear Attention: An Optimal Interpolation of Linear and Softmax Attention For Test-Time RegressionYifei Zuo, Yutong Yin, Zhichen Zeng, Ang Li 等ICLR 2026 · 5 次引用
