Overflow Prevention Enhances Long-Context Recurrent LLMs

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Ben-Kish, Assaf, Zimerman, Itamar, Mirza, M. Jehanzeb, Wolf, Lior, Glass, James, Karlinsky, Leonid, Giryes, Raja
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911143700725760
author Ben-Kish, Assaf
Zimerman, Itamar
Mirza, M. Jehanzeb
Wolf, Lior
Glass, James
Karlinsky, Leonid
Giryes, Raja
author_facet Ben-Kish, Assaf
Zimerman, Itamar
Mirza, M. Jehanzeb
Wolf, Lior
Glass, James
Karlinsky, Leonid
Giryes, Raja
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2505_07793
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Overflow Prevention Enhances Long-Context Recurrent LLMs
Ben-Kish, Assaf
Zimerman, Itamar
Mirza, M. Jehanzeb
Wolf, Lior
Glass, James
Karlinsky, Leonid
Giryes, Raja
Machine Learning
Artificial Intelligence
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.
title Overflow Prevention Enhances Long-Context Recurrent LLMs
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2505.07793