Gated Slot Attention for Efficient Linear-Time Sequence Modeling
Yu Zhang, Songlin Yang, Rui-Jie Zhu, Yue Zhang, Leyang Cui, Yiqiao Wang, Bolun Wang, Freda Shi, Bailin Wang, Wei Bi, Peng Zhou, Guohong Fu
摘要
Linear attention Transformers and their gated variants, celebrated for enabling parallel training and efficient recurrent inference, still fall short in recall-intensive tasks compared to traditional Transformers and demand significant resources for training from scratch. This paper introduces Gated Slot Attention (GSA), which enhances Attention with Bounded-memory-Control (ABC) by incorporating a gating mechanism inspired by Gated Linear Attention (GLA). Essentially, GSA comprises a two-layer GLA linked via , utilizing context-aware memory reading and adaptive forgetting to improve memory capacity while maintaining compact recurrent state size. This design greatly enhances both training and inference efficiency through GLA's hardware-efficient training algorithm and reduced state size. Additionally, retaining the operation is particularly beneficial in"finetuning pretrained Transformers to RNNs"(T2R) settings, reducing the need for extensive training from scratch. Extensive experiments confirm GSA's superior performance in scenarios requiring in-context recall and in T2R settings.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 41 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- MoM: Linear Sequence Modeling with Mixture-of-Memories 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
- MoM: Linear Sequence Modeling with Mixture-of-Memories 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
- Head-in-Head in Linear Attention 引用了 Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
- Head-in-Head in Linear Attention 引用了 MoM: Linear Sequence Modeling with Mixture-of-Memories
- Head-in-Head in Linear Attention 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
- Head-in-Head in Linear Attention 引用了 Parallelizing Linear Transformers with the Delta Rule over Sequence Length
- Head-in-Head in Linear Attention 引用了 MesaNet: Sequence Modeling by Locally Optimal Test-Time Training
- PIQA: Reasoning about Physical Commonsense in Natural Language 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
- Measuring Massive Multitask Language Understanding 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness 引用了 Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
- Parallelizing Linear Transformers with the Delta Rule over Sequence Length 引用了 Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
- Parallelizing Linear Transformers with the Delta Rule over Sequence Length 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
- Parallelizing Linear Transformers with the Delta Rule over Sequence Length 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- Parallelizing Linear Transformers with the Delta Rule over Sequence Length 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
- Physics of Language Models: Part 4.1, Architecture Design and the Magic of Canon Layers 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
- Physics of Language Models: Part 4.1, Architecture Design and the Magic of Canon Layers 引用了 Parallelizing Linear Transformers with the Delta Rule over Sequence Length
- Physics of Language Models: Part 4.1, Architecture Design and the Magic of Canon Layers 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
- MesaNet: Sequence Modeling by Locally Optimal Test-Time Training 引用了 Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
- MesaNet: Sequence Modeling by Locally Optimal Test-Time Training 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
- MesaNet: Sequence Modeling by Locally Optimal Test-Time Training 引用了 Parallelizing Linear Transformers with the Delta Rule over Sequence Length
- MesaNet: Sequence Modeling by Locally Optimal Test-Time Training 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
引用它的顶会 Paper41
- Parallelizing Linear Transformers with the Delta Rule over Sequence LengthSonglin Yang, Bailin Wang, Yu Zhang, Yikang Shen 等NeurIPS 2024 · 412 次引用
- Head-in-Head in Linear AttentionShijie Mei, Man Yao, Jiabo Tong, Bo XU 等ICML 2026 · 48 次引用
- MesaNet: Sequence Modeling by Locally Optimal Test-Time TrainingJohannes von Oswald, Nino Scherrer, Seijin Kobayashi, Luca Versari 等ICLR 2026 · 45 次引用
- Physics of Language Models: Part 4.1, Architecture Design and the Magic of Canon LayersZeyuan Allen-ZhuNeurIPS 2025 · 44 次引用
- MoM: Linear Sequence Modeling with Mixture-of-MemoriesJusen Du, Weigao Sun, Disen Lan, Jiaxi Hu 等ICLR 2026 · 43 次引用
它引用的 Paper38
- Measuring Massive Multitask Language UnderstandingDan Hendrycks, Collin Burns, Steven Basart, Andy Zou 等ICLR 2021 · 7,905 次引用
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra 等NeurIPS 2022 · 5,493 次引用
- WinoGrande: An Adversarial Winograd Schema Challenge at ScaleKeisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, Yejin ChoiAAAI 2020 · 3,037 次引用
- PIQA: Reasoning about Physical Commonsense in Natural LanguageYonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao 等AAAI 2020 · 2,916 次引用
- Transformers are RNNs: Fast Autoregressive Transformers with Linear AttentionAngelos Katharopoulos, Apoorv Vyas, Nikolaos Pappas, François FleuretICML 2020 · 2,665 次引用
相关 Paper
- ABC: Attention with Bounded-memory ControlHao Peng, Jungo Kasai, Nikolaos Pappas, Dani Yogatama 等ACL 2022 · 31 次引用
- Gated Linear Attention Transformers with Hardware-Efficient TrainingSonglin Yang, Bailin Wang, Yikang Shen, Rameswar Panda 等ICML 2024 · 390 次引用
- Native Hybrid Attention for Efficient Sequence ModelingJusen Du, Jiaxi Hu, Zhang Tao, Weigao Sun 等ACL 2026 · 8 次引用
- Finetuning Pretrained Transformers into RNNsJungo Kasai, Hao Peng, Yizhe Zhang, Dani Yogatama 等EMNLP 2021 · 9 次引用
- Log-Linear AttentionHan Guo, Songlin Yang, Tarushii Goel, Eric P. Xing 等ICLR 2026 · 41 次引用
