mlsanityData to 7 Oct 2026

RecaLLM: Addressing the Lost-in-Thought Phenomenon with Explicit In-Context Retrieval

arXiv 2604.09494 ↗First posted 10 Apr 2026cs.CL cs.AI cs.IRcited by 1

On the map: LLM reasoning → Knowledge- and tool-augmented reasoning

Abstract (arXiv)

We propose RecaLLM, a set of reasoning language models post-trained to make effective use of long-context information. In-context retrieval, which identifies relevant evidence from context, and reasoning are deeply intertwined: retrieval supports reasoning, while reasoning often determines what must be retrieved. However, their interaction remains largely underexplored. In preliminary experiments on several open-source LLMs, we observe that in-context retrieval performance substantially degrades even after a short reasoning span, revealing a key bottleneck for test-time scaling that we refer to as lost-in-thought: reasoning steps that improve performance also make subsequent in-context retrieval more challenging. To address this limitation, RecaLLM interleaves reasoning with explicit in-context retrieval, alternating between reasoning and retrieving context information needed to solve intermediate subproblems. We introduce a negligible-overhead constrained decoding mechanism that enables verbatim copying of evidence spans, improving the grounding of subsequent generation. Trained on diverse lexical and semantic retrieval tasks, RecaLLM achieves strong performance on two long-context benchmarks, RULER and HELMET, significantly outperforming baselines. Notably, we observe consistent gains at context windows of up to 128K tokens using training samples of at most 10K tokens, far shorter than those used by existing long-context approaches, highlighting a promising path toward improving long-context performance without expensive long-context training data.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Knowledge- and tool-augmented reasoning, one of 17 directions in LLM reasoning. Builds on 17 of its 69 references that are in the map. First posted on arXiv 10 Apr 2026.

Builds on

17 of 69 references.

Closest ancestors · 2

Same direction, newest first

  1. 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learning12 Mar
  2. 2025R1-Searcher: Incentivizing the Search Capability in LLMs via Reinforcement Learning7 Mar

Other references · 15

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
  3. 2025Qwen3 Technical Reportcited by 8,195
  4. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
  5. 2024Qwen2.5 Technical Reportcited by 4,713
  6. 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 1,980
  7. 2025Gemma 3 Technical Reportcited by 1,686
  8. 2025OpenAI GPT-5 System Cardcited by 910
  9. 2025MEM1: Learning to Synergize Memory and Reasoning for Efficient Long-Horizon Agentscited by 226
  10. 2023Efficient Guided Generation for Large Language Modelscited by 192
  11. 2025Olmo 3cited by 95
  12. 2024Can Long-Context Language Models Subsume Retrieval, RAG, SQL, and More?cited by 53
3 more
  1. 2025QwenLong-L1: Towards Long-Context Large Reasoning Models with Reinforcement Learningcited by 46
  2. 2024ALR2: A Retrieve-then-Reason Framework for Long-context Question Answeringcited by 25
  3. 2025Lost in the Maze: Overcoming Context Limitations in Long-Horizon Agentic Searchcited by 11

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026When to Retrieve During Reasoning: Adaptive Retrieval for Large Reasoning Models
  2. 2026ReContext: Recursive Evidence Replay as LLM Harness for Long-Context Reasoning
  3. 2025Improving Context Fidelity via Native Retrieval-Augmented Reasoning
  4. 2024NeedleBench: Evaluating LLM Retrieval and Reasoning Across Varying Information Densities
  5. 2025Reasoning in Action: MCTS-Driven Knowledge Retrieval for Large Language Models
  6. 2024Disentangling Memory and Reasoning Ability in Large Language Models
  7. 2026Adaptive Retrieval helps Reasoning in LLMs -- but mostly if it's not used
  8. 2024Retrieval Meets Reasoning: Dynamic In-Context Editing for Long-Text Understanding