Overflow Prevention Enhances Long-Context Recurrent LLMs
On the map: State-space sequence models (S4, Mamba) → Core SSM architectures for language
Abstract (arXiv)
A recent trend in LLMs is developing recurrent sub-quadratic models that improve long-context processing efficiency. We investigate leading large long-context models, focusing on how their fixed-size recurrent memory affects their performance. Our experiments reveal that, even when these models are trained for extended contexts, their use of long contexts remains underutilized. Specifically, we demonstrate that a chunk-based inference procedure, which identifies and processes only the most relevant portion of the input can mitigate recurrent memory failures and be effective for many long-context tasks: On LongBench, our method improves the overall performance of Falcon3-Mamba-Inst-7B by 14%, Falcon-Mamba-Inst-7B by 28%, RecurrentGemma-IT-9B by 50%, and RWKV6-Finch-7B by 51%. Surprisingly, this simple approach also leads to state-of-the-art results in the challenging LongBench v2 benchmark, showing competitive performance with equivalent size Transformers. Furthermore, our findings raise questions about whether recurrent models genuinely exploit long-range dependencies, as our single-chunk strategy delivers stronger performance - even in tasks that presumably require cross-context relations.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in Core SSM architectures for language, one of 10 directions in State-space sequence models (S4, Mamba). Builds on 58 of its 73 references that are in the map. First posted on arXiv 12 May 2025.
Builds on
58 of 73 references.
Closest ancestors · 11
Same direction, newest first
- 2025LongMamba: Enhancing Mamba's Long Context Capabilities via Training-Free Receptive Field Enlargement22 Apr
- 2024Falcon Mamba: The First Competitive Attention-free 7B Language Model7 Oct
- 2024Jamba-1.5: Hybrid Transformer-Mamba Models at Scale22 Aug
- 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden States5 Jul
- 2024DeciMamba: Exploring the Length Extrapolation Potential of Mamba20 Jun
- 2024An Empirical Study of Mamba-based Language Models12 Jun
- 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modeling11 Jun
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality31 May
- 2024Simple linear attention language models balance the recall-throughput tradeoff28 Feb
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spaces1 Dec
- 2021Efficiently Modeling Long Sequences with Structured State Spaces31 Oct
Other references · 47
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,141
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,653
- 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,554
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
- 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,252
35 more
- 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,216
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
- 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,056
- 2024VMamba: Visual State Space Modelcited by 969
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 827
- 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 608
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 532
- 2020How Can We Know When Language Models Know? On the Calibration of Language Models for Question Answeringcited by 445
- 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 408
- 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 379
- 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 367
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
- 2023Large Language Models are Effective Text Rankers with Pairwise Ranking Promptingcited by 307
- 2024Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decodingcited by 269
- 2023LongLoRA: Efficient Fine-tuning of Long-Context Large Language Modelscited by 244
- 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 242
- 2024MambaVision: A Hybrid Mamba-Transformer Vision Backbonecited by 224
- 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 213
- 2023Zoology: Measuring and Improving Recall in Efficient Language Modelscited by 204
- 2024Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrencecited by 159
- 2021SPLADE v2: Sparse Lexical and Expansion Model for Information Retrievalcited by 127
- 2024HGRN2: Gated Linear RNNs with State Expansioncited by 127
- 2024Retrieval Augmented Generation or Long-Context LLMs? A Comprehensive Study and Hybrid Approachcited by 119
- 2023How to Train Your DRAGON: Diverse Augmentation Towards Generalizable Dense Retrievalcited by 118
- 2024Vision-RWKV: Efficient and Scalable Visual Perception with RWKV-Like Architecturescited by 98
- 2024Graph Mamba: Towards Learning on Graphs with State Space Modelscited by 86
- 2024RecurrentGemma: Moving Past Transformers for Efficient Open Language Modelscited by 64
- 2024Mechanistic Design and Scaling of Hybrid Architecturescited by 59
- 2024Diffusion-RWKV: Scaling RWKV-Like Architectures for Diffusion Modelscited by 41
- 2024Exploring the Capability of Mamba in Speech Applicationscited by 20
- 2024Decision Mamba: Reinforcement Learning via Hybrid Selective Sequence Modelingcited by 18
- 2025xLSTM 7B: A Recurrent LLM for Fast and Efficient Inferencecited by 18
- 2024Decision Mamba: A Multi-Grained State Space Model with Self-Evolution Regularization for Offline RLcited by 15
- 2023Focus Your Attention (with Adaptive IIR Filters)cited by 12
- 2022Useful Confidence Measures: Beyond the Max Scorecited by 7
Built on by
Citing papers per year: 2025: 3; 2026: 3.
6 papers.
- 2025Distilling to Hybrid Attention Models via KL-Guided Layer Selectioncited by 20
- 2025Stop Before You Fail: Operational Capability Boundaries for Mitigating Unproductive Reasoning in Large Reasoning Modelscited by 4
- 2025Differential Mambacited by 2
- 2026CLIMP: Contrastive Language-Image Mamba Pretrainingcited by 1
- 2026On the Recall Scaling Laws in Mamba: A Theoretical and Mechanistic Study via Hashingcited by 1
- 2026Length Generalization Needs Proper Regularizationcited by 0
- 2026Length Generalization Needs Proper Regularization3 Oct 2026
- 2026On the Recall Scaling Laws in Mamba: A Theoretical and Mechanistic Study via Hashing7 Sep 2026
- 2026CLIMP: Contrastive Language-Image Mamba Pretraining11 Jan 2026
- 2025Distilling to Hybrid Attention Models via KL-Guided Layer Selection23 Dec 2025
- 2025Stop Before You Fail: Operational Capability Boundaries for Mitigating Unproductive Reasoning in Large Reasoning Models29 Sep 2025
- 2025Differential Mamba8 Jul 2025
Similar, not cited
Close in wording, no citation either way
- 2025Let's (not) just put things in Context: Test-Time Training for Long-Context LLMs
- 2024Recurrent Context Compression: Efficiently Expanding the Context Window of LLM
- 2024Just read twice: closing the recall gap for recurrent language models
- 2026Out of the Memory Barrier: A Highly Memory Efficient Training System for LLMs with Million-Token Contexts
- 2026Multi-Head Recurrent Memory Agents
- 2025From 128K to 4M: Efficient Training of Ultra-Long Context Large Language Models
- 2024Beyond the Limits: A Survey of Techniques to Extend the Context Length in Large Language Models
- 2024LLM Inference Unveiled: Survey and Roofline Model Insights