Lune

ICLR2025顶会

Longhorn: State Space Models are Amortized Online Learners

Bo Liu, Rui Wang, Lemeng Wu, Yihao Feng, Peter Stone, Qiang Liu

摘要

Modern large language models are built on sequence modeling via next-token prediction. While the Transformer remains the dominant architecture for sequence modeling, its quadratic decoding complexity in sequence length poses a major limitation. State-space models (SSMs) present a competitive alternative, offering linear decoding efficiency while maintaining parallelism during training. However, most existing SSMs rely on linear recurrence designs that appear somewhat ad hoc. In this work, we explore SSM design through the lens of online learning, conceptualizing SSMs as meta-modules for specific online learning problems. This approach links SSM design to formulating precise online learning objectives, with state transition rules derived from solving these objectives. Based on this insight, we introduce a novel deep SSM architecture, Longhorn, whose update resembles the closed-form solution for solving the online associative recall problem. Our experimental results show that Longhorn outperforms state-of-the-art SSMs, including the Mamba model, on standard sequence modeling benchmarks, language modeling, and vision tasks. Specifically, Longhorn achieves a 1.8x improvement in sample efficiency compared to Mamba, and can extrapolate over contexts that are up to 16x longer during inference.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 19 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • PIQA: Reasoning about Physical Commonsense in Natural Language 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
  • FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness 引用了 Language Models are Few-Shot Learners
  • Titans: Learning to Memorize at Test Time 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
  • Titans: Learning to Memorize at Test Time 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
  • Titans: Learning to Memorize at Test Time 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
  • Titans: Learning to Memorize at Test Time 引用了 Parallelizing Linear Transformers with the Delta Rule over Sequence Length
  • Titans: Learning to Memorize at Test Time 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimization 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
  • It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimization 引用了 Titans: Learning to Memorize at Test Time
  • It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimization 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
  • It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimization 引用了 Parallelizing Linear Transformers with the Delta Rule over Sequence Length
  • It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimization 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • 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 引用了 Efficiently Modeling Long Sequences with Structured State Spaces
  • Parallelizing Linear Transformers with the Delta Rule over Sequence Length 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • Parallelizing Linear Transformers with the Delta Rule over Sequence Length 引用了 Gated Slot Attention for Efficient Linear-Time Sequence Modeling
  • Gated Slot Attention for Efficient Linear-Time Sequence Modeling 引用了 Parallelizing Linear Transformers with the Delta Rule over Sequence Length
  • Language Models are Few-Shot Learners 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • Nested Learning: The Illusion of Deep Learning Architectures 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
  • Nested Learning: The Illusion of Deep Learning Architectures 引用了 Titans: Learning to Memorize at Test Time
  • Nested Learning: The Illusion of Deep Learning Architectures 引用了 It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimization
  • Nested Learning: The Illusion of Deep Learning Architectures 引用了 Parallelizing Linear Transformers with the Delta Rule over Sequence Length
  • Nested Learning: The Illusion of Deep Learning Architectures 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • Nested Learning: The Illusion of Deep Learning Architectures 引用了 Language Models are Few-Shot Learners
  • Gated Slot Attention for Efficient Linear-Time Sequence Modeling 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
  • Gated Slot Attention for Efficient Linear-Time Sequence Modeling 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
  • Gated Slot Attention for Efficient Linear-Time Sequence Modeling 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper19

  1. Parallelizing Linear Transformers with the Delta Rule over Sequence LengthSonglin Yang, Bailin Wang, Yu Zhang, Yikang Shen 等NeurIPS 2024 · 412 次引用
  2. Titans: Learning to Memorize at Test TimeAli Behrouz, Peilin Zhong, Vahab MirrokniNeurIPS 2025 · 368 次引用
  3. Nested Learning: The Illusion of Deep Learning ArchitecturesAli Behrouz, Meisam Razaviyayn, Peilin Zhong, Vahab MirrokniNeurIPS 2025 · 96 次引用
  4. Gated Slot Attention for Efficient Linear-Time Sequence ModelingYu Zhang, Songlin Yang, Rui-Jie Zhu, Yue Zhang 等NeurIPS 2024 · 93 次引用
  5. It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online OptimizationAli Behrouz, Meisam Razaviyayn, Peilin Zhong, Vahab MirrokniICLR 2026 · 63 次引用

它引用的 Paper19

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra 等NeurIPS 2022 · 5,493 次引用
  3. Efficiently Modeling Long Sequences with Structured State SpacesAlbert Gu, Karan Goel, Christopher RéICLR 2022 · 3,482 次引用
  4. WinoGrande: An Adversarial Winograd Schema Challenge at ScaleKeisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, Yejin ChoiAAAI 2020 · 3,037 次引用
  5. PIQA: Reasoning about Physical Commonsense in Natural LanguageYonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao 等AAAI 2020 · 2,916 次引用

相关 Paper

  1. The Expressive Capacity of State Space Models: A Formal Language PerspectiveYash Raj Sarrof, Yana Veitsman, Michael HahnNeurIPS 2024 · 53 次引用
  2. Trained Mamba Emulates Online Gradient Descent in In-Context Linear RegressionJiarui Jiang, Wei Huang, Miao Zhang, Taiji Suzuki 等NeurIPS 2025 · 2 次引用
  3. Achilles' Heel of Mamba: Essential difficulties of the Mamba architecture demonstrated by synthetic dataTianyi Chen, Pengxiao Lin, Zhiwei Wang, Zhi-Qin John XuNeurIPS 2025 · 4 次引用
  4. TransMamba: A Sequence-Level Hybrid Transformer-Mamba Language ModelYixing Li, Ruobing Xie, Zhen Yang, Xingwu Sun 等AAAI 2026 · 3 次引用
  5. Resurrecting Recurrent Neural Networks for Long SequencesAntonio Orvieto, Samuel L. Smith, Albert Gu, Anushan Fernando 等ICML 2023 · 474 次引用
黄昏的海面,两侧是细线勾勒的悬崖