It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimization
Ali Behrouz, Meisam Razaviyayn, Peilin Zhong, Vahab Mirrokni
摘要
Designing efficient and effective architectural backbones has been in the core of research efforts to enhance the capability of foundation models. Inspired by the human cognitive phenomenon of attentional bias-the natural tendency to prioritize certain events or stimuli-we reconceptualize neural architectures, including Transformers, Titans, and modern linear recurrent neural networks as associative memory modules that learn a mapping of keys and values using an internal objective, referred to as attentional bias. Surprisingly, we observed that most existing sequence models leverage either (1) dot-product similarity, or (2) ℓ 2 regression objectives as their attentional bias. Going beyond these objectives, we present a set of alternative attentional bias configurations along with their effective approximations to stabilize their training procedure. We then reinterpret forgetting mechanisms in modern deep learning architectures as a form of retention regularization, providing a novel set of forget gates for sequence models. Building upon these insights, we present Miras, a general framework to design deep learning architectures based on four choices of: (i) associative memory architecture, (ii) attentional bias objective, (iii) retention gate, and (iv) memory learning algorithm. We present three novel sequence models-Moneta, Yaad, and Memora-that go beyond the power of existing linear RNNs while maintaining a fast parallelizable training process. Our experiments show different design choices in Miras yield models with varying strengths. For example, certain instances of Miras achieve exceptional performance in special tasks such as language modeling, commonsense reasoning, and recall intensive tasks, even outperforming Transformers and other modern linear recurrent models.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 23 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- PIQA: Reasoning about Physical Commonsense in Natural Language 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
- Efficiently Modeling Long Sequences with Structured State Spaces 引用了 Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
- Efficiently Modeling Long Sequences with Structured State Spaces 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Test-Time Training Done Right 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Nested Learning: The Illusion of Deep Learning Architectures 引用了 Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
- Nested Learning: The Illusion of Deep Learning Architectures 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
- Nested Learning: The Illusion of Deep Learning Architectures 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Nested Learning: The Illusion of Deep Learning Architectures 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
- Nested Learning: The Illusion of Deep Learning Architectures 引用了 Cartridges: Lightweight and general-purpose long context representations via self-study
- Nested Learning: The Illusion of Deep Learning Architectures 引用了 ATLAS: Learning to Optimally Memorize the Context at Test Time
- ATLAS: Learning to Optimally Memorize the Context at Test Time 引用了 Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
- ATLAS: Learning to Optimally Memorize the Context at Test Time 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
- ATLAS: Learning to Optimally Memorize the Context at Test Time 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
- TTT3R: 3D Reconstruction as Test-Time Training 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- TTT3R: 3D Reconstruction as Test-Time Training 引用了 Test-Time Training Done Right
引用它的顶会 Paper23
- TTT3R: 3D Reconstruction as Test-Time TrainingXingyu Chen, Yue Chen, Yuliang Xiu, Andreas Geiger 等ICLR 2026 · 139 次引用
- Test-Time Training Done RightTianyuan Zhang, Sai Bi, Yicong Hong, Kai Zhang 等ICLR 2026 · 127 次引用
- Nested Learning: The Illusion of Deep Learning ArchitecturesAli Behrouz, Meisam Razaviyayn, Peilin Zhong, Vahab MirrokniNeurIPS 2025 · 96 次引用
- Cartridges: Lightweight and general-purpose long context representations via self-studySabri Eyuboglu, Ryan Ehrlich, Simran Arora, Neel Guha 等ICLR 2026 · 74 次引用
- ATLAS: Learning to Optimally Memorize the Context at Test TimeAli Behrouz, Zeman Li, Praneeth Kacham, Majid Daliri 等ICML 2026 · 57 次引用
它引用的 Paper32
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- Efficiently Modeling Long Sequences with Structured State SpacesAlbert Gu, Karan Goel, Christopher RéICLR 2022 · 3,482 次引用
- 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
- Memory-Integrated Reconfigurable Adapters: A Unified Framework for Settings with Multiple TasksSusmit Agrawal, Krishn Vishwas Kher, Saksham Mittal, Swarnim Maheshwari 等NeurIPS 2025 · 2 次引用
- Forgetting Transformer: Softmax Attention with a Forget GateZhixuan Lin, Evgenii Nikishin, Xu Owen He, Aaron C. CourvilleICLR 2025
- Titans: Learning to Memorize at Test TimeAli Behrouz, Peilin Zhong, Vahab MirrokniNeurIPS 2025 · 368 次引用
- Predictive Attractor ModelsRamy Mounir, Sudeep SarkarNeurIPS 2024 · 2 次引用
- Mnemosyne: Learning to Train Transformers with TransformersDeepali Jain, Krzysztof Marcin Choromanski, Kumar Avinava Dubey, Sumeet Singh 等NeurIPS 2023 · 15 次引用
