mlsanityData to 7 Oct 2026

ReCAP: Recursive Context-Aware Reasoning and Planning for Large Language Model Agents

arXiv 2510.23822 ↗First posted 27 Oct 2025cs.AIcited by 13

On the map: LLM reasoning → Test-time compute and efficient thinking

also in 1 more
Abstract (arXiv)

Long-horizon tasks requiring multi-step reasoning and dynamic re-planning remain challenging for large language models (LLMs). Sequential prompting methods are prone to context drift, loss of goal information, and recurrent failure cycles, while hierarchical prompting methods often weaken cross-level continuity or incur substantial runtime overhead. We introduce ReCAP (Recursive Context-Aware Reasoning and Planning), a hierarchical framework with shared context for reasoning and planning in LLMs. ReCAP combines three key mechanisms: (i) plan-ahead decomposition, in which the model generates a full subtask list, executes the first item, and refines the remainder; (ii) structured re-injection of parent plans, maintaining consistent multi-level context during recursive return; and (iii) memory-efficient execution, bounding the active prompt so costs scale linearly with task depth. Together these mechanisms align high-level goals with low-level actions, reduce redundant prompting, and preserve coherent context updates across recursion. Experiments demonstrate that ReCAP substantially improves subgoal alignment and success rates on various long-horizon reasoning benchmarks, achieving a 32% gain on synchronous Robotouille and a 29% improvement on asynchronous Robotouille under the strict pass@1 protocol.

Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 1 of its 25 references that are in the map. First posted on arXiv 27 Oct 2025.

Builds on

1 of 25 references.

References · 1

  1. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 12.

13 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2026Chained Recursive Language Models for Multi-Iteration Reasoning
  2. 2025Recursive Language Models
  3. 2026ReContext: Recursive Evidence Replay as LLM Harness for Long-Context Reasoning
  4. 2025RECAP: REwriting Conversations for Intent Understanding in Agentic Planning
  5. 2026ContextWeaver: Selective and Dependency-Structured Memory Construction for LLM Agents
  6. 2026PPA-Plan: Proactive Pitfall Avoidance for Reliable Planning in Long-Context LLM Reasoning
  7. 2025R-Capsule: Compressing High-Level Plans for Efficient Large Language Model Reasoning
  8. 2023Recursion of Thought: A Divide-and-Conquer Approach to Multi-Context Reasoning with Language Models