Recursive Language Models Meet Uncertainty: The Surprising Effectiveness of Self-Reflective Program Search for Long Context
Keivan Alizadeh, Parshin Shojaee, Minsik Cho, Mehrdad Farajtabar

TL;DR
This paper introduces SRLM, a self-reflective framework that enhances recursive language models by using uncertainty signals to select better context-interaction programs, significantly improving performance on long-context tasks.
Contribution
The paper proposes SRLM, a novel uncertainty-aware self-reflective approach that improves recursive language models without relying on explicit recursion or self-query mechanisms.
Findings
SRLM outperforms state-of-the-art baselines by up to 22% under the same time budget.
Recursion is not the main factor in RLM performance; self-reflective program search suffices.
SRLM provides consistent gains across short and long contexts, especially in semantically intensive tasks.
Abstract
Long-context handling remains a core challenge for language models: even with extended context windows, models often fail to reliably extract, reason over, and use the information across long contexts. Recent works like Recursive Language Models (RLM) have approached this challenge by agentic way of decomposing long contexts into recursive sub-calls through programmatic interaction at inference. While promising, the success of RLM critically depends on how these context-interaction programs are selected, which has remained largely unexplored. In this paper, we study this problem and introduce SRLM, a framework that augments programmatic context interaction with uncertainty-aware Self-Reflection. SRLM leverages three intrinsic signals: self consistency, reasoning length, and verbalized confidence. These serve as complementary indicators of a model's internal uncertainty, and the model…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Multimodal Machine Learning Applications · Domain Adaptation and Few-Shot Learning
