mlsanityData to 14 Oct 2026

Recursive Language Models Meet Uncertainty: The Surprising Effectiveness of Self-Reflective Program Search for Long Context

arXiv 2603.15653 ↗First posted 7 Mar 2026cs.CL cs.AI cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

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 uses them to evaluate and compare candidate context-interaction programs. Extensive experiments across diverse benchmark datasets, context lengths, and backbone models, show that SRLM consistently outperforms state-of-the-art baselines, yielding up to 22% improvement over RLM under the same time budget. Our findings show that recursion itself is not the primary driver of performance in RLM, and a simple self-reflective program search can match or surpass RLM without requiring self-query or explicit recursion mechanisms. We find that for context lengths within the model's window, RLMs with recursion often degrade performance relative to the base model, whereas SRLM yields consistent gains across both short and long contexts. We also find that RLM is less effective in tasks with semantically intensive nature, where heuristic program search is insufficient and broader contextual understanding is required, while self-reflection in SRLM provides a semantic signal that better steers reasoning in these scenarios.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 51 of its 69 references that are in the map. First posted on arXiv 7 Mar 2026.

Builds on

51 of 69 references.

References · 51

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  2. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  3. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  4. 2024GPT-4o System Cardcited by 4,588
  5. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  6. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
  7. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
  8. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
  9. 2023Can LLMs Express Their Uncertainty? An Empirical Evaluation of Confidence Elicitation in LLMscited by 974
  10. 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 880
  11. 2023Semantic Uncertainty: Linguistic Invariances for Uncertainty Estimation in Natural Language Generationcited by 819
  12. 2023SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Modelscited by 810
38 more
  1. 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 779
  2. 2022Teaching Models to Express Their Uncertainty in Wordscited by 751
  3. 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 740
  4. 2025BrowseComp: A Simple Yet Challenging Benchmark for Browsing Agentscited by 647
  5. 2024Executable Code Actions Elicit Better LLM Agentscited by 564
  6. 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inferencecited by 501
  7. 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 379
  8. 2024LongRoPE: Extending LLM Context Window Beyond 2 Million Tokenscited by 313
  9. 2025The Illusion of Thinking: Understanding the Strengths and Limitations of Reasoning Models via the Lens of Problem Complexitycited by 302
  10. 2024Semantic Entropy Probes: Robust and Cheap Hallucination Detection in LLMscited by 259
  11. 2025MemAgent: Reshaping Long-Context LLM with Multi-Conv RL-based Memory Agentcited by 246
  12. 2023LongLoRA: Efficient Fine-tuning of Long-Context Large Language Modelscited by 244
  13. 2025BrowseComp-Plus: A More Fair and Transparent Evaluation Benchmark of Deep-Research Agentcited by 200
  14. 2023Augmenting Language Models with Long-Term Memorycited by 189
  15. 2024Data Engineering for Scaling Language Models to 128K Contextcited by 186
  16. 2024An Empirical Study of Mamba-based Language Modelscited by 186
  17. 2025Reasoning Models Know When They're Right: Probing Hidden States for Self-Verificationcited by 159
  18. 2023Shifting Attention to Relevance: Towards the Predictive Uncertainty Quantification of Free-Form Large Language Modelscited by 150
  19. 2025Scaling Long-Horizon LLM Agent via Context-Foldingcited by 148
  20. 2025ReSum: Unlocking Long-Horizon Search Intelligence via Context Summarizationcited by 141
  21. 2024SeerAttention: Learning Intrinsic Sparse Attention in Your LLMscited by 124
  22. 2024Long-Context LLMs Meet RAG: Overcoming Challenges for Long Inputs in RAGcited by 123
  23. 2025FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inferencecited by 123
  24. 2025Optimizing Test-Time Compute via Meta Reinforcement Fine-Tuningcited by 123
  25. 2025G-Memory: Tracing Hierarchical Memory for Multi-Agent Systemscited by 122
  26. 2025Recursive Language Modelscited by 104
  27. 2025DeepSeek-R1 Thoughtology: Let's think about LLM Reasoningcited by 92
  28. 2025Cartridges: Lightweight and general-purpose long context representations via self-studycited by 86
  29. 2025Don't Overthink it. Preferring Shorter Thinking Chains for Improved LLM Reasoningcited by 85
  30. 2024On Verbalized Confidence Scores for LLMscited by 83
  31. 2024Calibrating Large Language Models with Sample Consistencycited by 73
  32. 2025Reasoning Models Better Express Their Confidencecited by 65
  33. 2025The relationship between reasoning and performance in large language models--o3 (mini) thinks harder, not longercited by 41
  34. 2025Oolong: Evaluating Long Context Reasoning and Aggregation Capabilitiescited by 40
  35. 2025Mitigating Object Hallucinations in Large Vision-Language Models via Attention Calibrationcited by 23
  36. 2024LongSkywork: A Training Recipe for Efficiently Extending Context Length in Large Language Modelscited by 19
  37. 2025Trace Length is a Simple Uncertainty Signal in Reasoning Modelscited by 19
  38. 2025Thinking Out Loud: Do Reasoning Models Know When They're Right?cited by 12

50 most cited of 51 All 51 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Self-Consistency Falls Short! The Adverse Effects of Positional Bias on Long-Context Problems
  2. 2026Think, But Don't Overthink: Reproducing Recursive Language Models
  3. 2025Rethinking the Unsolvable: When In-Context Search Meets Test-Time Scaling
  4. 2026Reasoning Shift: How Context Silently Shortens LLM Reasoning
  5. 2025LongFuncEval: Measuring the effectiveness of long context models for function calling
  6. 2025Self-Correcting Large Language Models: Generation vs. Multiple Choice
  7. 2026A Decomposition Perspective to Long-context Reasoning for LLMs
  8. 2026Compliance vs. Sensibility: On the Reasoning Controllability in Large Language Models