mlsanityData to 14 Oct 2026

Overflow Prevention Enhances Long-Context Recurrent LLMs

arXiv 2505.07793 ↗First posted 12 May 2025cs.LG cs.AIcited by 6

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

  1. 2025LongMamba: Enhancing Mamba's Long Context Capabilities via Training-Free Receptive Field Enlargement22 Apr
  2. 2024Falcon Mamba: The First Competitive Attention-free 7B Language Model7 Oct
  3. 2024Jamba-1.5: Hybrid Transformer-Mamba Models at Scale22 Aug
  4. 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden States5 Jul
  5. 2024DeciMamba: Exploring the Length Extrapolation Potential of Mamba20 Jun
  6. 2024An Empirical Study of Mamba-based Language Models12 Jun
  7. 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modeling11 Jun
  8. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality31 May
  9. 2024Simple linear attention language models balance the recall-throughput tradeoff28 Feb
  10. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spaces1 Dec
  11. 2021Efficiently Modeling Long Sequences with Structured State Spaces31 Oct

Other references · 47

  1. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  2. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  3. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  4. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
  5. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
  6. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  7. 2016Pointer Sentinel Mixture Modelscited by 3,096
  8. 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,141
  9. 2022Fast Inference from Transformers via Speculative Decodingcited by 1,653
  10. 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,554
  11. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
  12. 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,252
35 more
  1. 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,216
  2. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
  3. 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,056
  4. 2024VMamba: Visual State Space Modelcited by 969
  5. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 827
  6. 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 608
  7. 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 532
  8. 2020How Can We Know When Language Models Know? On the Calibration of Language Models for Question Answeringcited by 445
  9. 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 408
  10. 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 379
  11. 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 367
  12. 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
  13. 2023Large Language Models are Effective Text Rankers with Pairwise Ranking Promptingcited by 307
  14. 2024Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decodingcited by 269
  15. 2023LongLoRA: Efficient Fine-tuning of Long-Context Large Language Modelscited by 244
  16. 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 242
  17. 2024MambaVision: A Hybrid Mamba-Transformer Vision Backbonecited by 224
  18. 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 213
  19. 2023Zoology: Measuring and Improving Recall in Efficient Language Modelscited by 204
  20. 2024Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrencecited by 159
  21. 2021SPLADE v2: Sparse Lexical and Expansion Model for Information Retrievalcited by 127
  22. 2024HGRN2: Gated Linear RNNs with State Expansioncited by 127
  23. 2024Retrieval Augmented Generation or Long-Context LLMs? A Comprehensive Study and Hybrid Approachcited by 119
  24. 2023How to Train Your DRAGON: Diverse Augmentation Towards Generalizable Dense Retrievalcited by 118
  25. 2024Vision-RWKV: Efficient and Scalable Visual Perception with RWKV-Like Architecturescited by 98
  26. 2024Graph Mamba: Towards Learning on Graphs with State Space Modelscited by 86
  27. 2024RecurrentGemma: Moving Past Transformers for Efficient Open Language Modelscited by 64
  28. 2024Mechanistic Design and Scaling of Hybrid Architecturescited by 59
  29. 2024Diffusion-RWKV: Scaling RWKV-Like Architectures for Diffusion Modelscited by 41
  30. 2024Exploring the Capability of Mamba in Speech Applicationscited by 20
  31. 2024Decision Mamba: Reinforcement Learning via Hybrid Selective Sequence Modelingcited by 18
  32. 2025xLSTM 7B: A Recurrent LLM for Fast and Efficient Inferencecited by 18
  33. 2024Decision Mamba: A Multi-Grained State Space Model with Self-Evolution Regularization for Offline RLcited by 15
  34. 2023Focus Your Attention (with Adaptive IIR Filters)cited by 12
  35. 2022Useful Confidence Measures: Beyond the Max Scorecited by 7

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 3.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Let's (not) just put things in Context: Test-Time Training for Long-Context LLMs
  2. 2024Recurrent Context Compression: Efficiently Expanding the Context Window of LLM
  3. 2024Just read twice: closing the recall gap for recurrent language models
  4. 2026Out of the Memory Barrier: A Highly Memory Efficient Training System for LLMs with Million-Token Contexts
  5. 2026Multi-Head Recurrent Memory Agents
  6. 2025From 128K to 4M: Efficient Training of Ultra-Long Context Large Language Models
  7. 2024Beyond the Limits: A Survey of Techniques to Extend the Context Length in Large Language Models
  8. 2024LLM Inference Unveiled: Survey and Roofline Model Insights