Have you ever read a long exam question, and by the time you reached the end, forgotten what the beginning said?
Large language models suffer from the same problem. Researchers even gave it a vivid name: Lost-in-Thought.
Here's the background. Modern AI reasoning models work through problems step by step, like a student solving a math problem. Intuitively, the more reasoning steps, the more thorough the thinking — right?
But researchers found a surprising pattern: as a model's reasoning chain grows longer, its ability to locate evidence in the original context actually declines.
It's like a student who fills three pages of scratch work to solve a problem more thoroughly — and by page three, has forgotten that the problem statement on page one clearly said "x must be positive."
Reasoning and retrieval turn out not to be naturally compatible. Longer reasoning chains consume the model's attention on the original context. Thinking for too long makes the model forget why it started thinking.
The Fix: RecaLLM
The paper's proposed solution is called RecaLLM. Its core idea is simple: don't let the model reason straight through to the end. Instead, have it pause during the process and explicitly retrieve the needed evidence from the source text.
Imagine reading a long legal document. An average person might read start to finish and answer from memory. A good lawyer, though, marks things up while reading and flips back to earlier clauses to double-check. RecaLLM teaches the model to reason while retrieving, in exactly this way.
Even better, the researchers designed a near-zero-overhead "constrained decoding" mechanism that forces the model to copy evidence fragments verbatim from the source. This avoids the common failure mode where models embellish — or outright fabricate — content when "quoting."
Training Data Insight
The training setup is also interesting. Rather than building ultra-long texts of hundreds of thousands of tokens, the authors used samples no longer than 10K tokens. Yet at test time, the model stably handled contexts up to 128K tokens.
What does this suggest? The bottleneck for long-context ability may not be "how long a text the model has seen," but whether it has learned the habit of actively "flipping back to the book" while thinking.
Takeaways
We often imagine AI capability growth as a one-way process of "more data, bigger models." This paper shows the bottleneck is sometimes not hardware or data volume, but workflow design.
Thinking longer is not as good as thinking smarter. Knowing when to pause and look something up — that is real intelligence.
---
Paper details Title: RecaLLM: Addressing the Lost-in-Thought Phenomenon with Explicit In-Context Retrieval arXiv: 2604.09494 Core finding: More reasoning steps reduce a model's ability to retrieve evidence from context; the fix is interleaving reasoning with explicit retrieval.