atlas

Research map / Large language models / Reasoning and chain of thought

Recursive Language Models

NeurIPS 2026 · Large language models › Reasoning and chain of thought · approach: Efficient LLM serving · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Recursive Language Models (RLMs), an inference scaffold that stores long prompts as a REPL variable so the LLM can programmatically inspect and recursively call itself over snippets, and post-trains an 8B RLM from 1,000 distilled trajectories.

Problem

Frontier LLMs have bounded context windows and suffer context rot, and existing compaction, retrieval, and coding-agent scaffolds lose fine-grained information or cannot make programmatic sub-calls over long prompts.

Approach

Treat the user prompt as an external variable in a Python REPL, let the root LM write code that peeks into, decomposes, and invokes the same LM (sub-RLM) programmatically over slices of the prompt, with only constant-size metadata appended to the root context.

Key results

Surprising findings

Limitations

Experimental setup

Datasets: LongBenchPro MRCRv2 RULER S-NIAH OOLONG BrowseComp-Plus LongBench-v2 CodeQA LongCoT-mini

Benchmarks: S-NIAH BrowseComp-Plus (1K) OOLONG OOLONG-Pairs LongBench-v2 CodeQA LongCoT-mini MRCRv2

Metrics: accuracy F1 API cost runtime

Baselines: GPT-5 base CodeAct (+ BM25) CodeAct (+ sub-calls) Compaction agent OpenCode Claude Code Qwen3-Coder-480B-A35B base Qwen3-8B base

Builds on: ReAct CodeAct BM25 ReSum ViperGPT

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy