Reproduce “Recursive Language Models Meet Uncertainty: The Surprising Effectiveness of Self-Reflective Program Search for Long Context” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Keivan Alizadeh, Parshin Shojaee, Minsik Cho, Mehrdad Farajtabar
SRLM selects among candidate programs for working with long contexts. It keeps context outside the model’s prompt, generates eight trajectories, and ranks agreeing answers using verbalized confidence and reasoning trace length as uncertainty proxies. On BrowseComp+ (1K), Qwen3-Coder-480B achieves 59.7% accuracy versus 37.1% for RLM under the same wall-clock budget; this result concerns a fixed document set, not live web search.
Key insights
- Explicit recursion itself is not the primary driver of performance in RLMs; self-reflective program search can achieve comparable or superior results without explicit recursive calls.
- The quality of program trajectory selection, guided by uncertainty-aware self-reflection, is more critical for robust and effective long-context reasoning than the recursive mechanism.
- Combining multiple intrinsic uncertainty signals provides complementary benefits, leading to a more robust and reliable self-reflection mechanism for guiding program search.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.