TL;DR
When we train LLMs to "think" through long reasoning chains, we often reward them based only on whether they got the final answer right. This paper reveals a startling side effect: models end up memorizing the hallucinations they generate along the way, even if they explicitly backtrack and correct themselves in the same breath.
What Problem Does This Paper Address?
The current "meta" for frontier models (think OpenAI’s o1 or DeepSeek-R1) involves heavy post-training focused on reasoning. We want models that can explore multiple hypotheses, catch their own mistakes, and backtrack when they hit a dead end. This works wonders for math and code, where there is a clear logical path to a ground-truth answer.
However, we use these same models for "knowledge tasks"—simple factual recall. The authors argue that reasoning-centric training recipes, specifically outcome-based rewards, create a dangerous feedback loop. If a model hallucinates a "fact" during its internal monologue but eventually stumbles upon the correct final answer, the reinforcement learning (RL) signal rewards the entire trace. Essentially, the model is told, "Whatever you did there worked; do it more."
The gap being addressed is the unexamined pathway of "self-hallucination memorization": do models actually start believing their own lies because we rewarded the correct final outcome?
Methods
The researchers trained six open-source models (from the Qwen and Olmo families) using Group Relative Policy Optimization (GRPO), a popular RL algorithm.
To track memorization, they developed a clever pipeline:
- Extract Hallucinations: During RL training, they used a "frontier LLM" (like GPT-4o) to identify atomic false statements within the models' reasoning chains.
- The Memorization Score: They defined a metric that measures the increase in a model's recall of a specific hallucinated fact after that fact was generated and rewarded, compared to its recall just before that training step.
- MCQ Probing: To test if the model "learned" the hallucination, they converted the false facts into multiple-choice questions (MCQs). If the model started picking its own hallucination over the correct answer or an "I don't know" option, it was marked as memorized.
- Control Group: They compared these to "held-out" hallucinations—false facts the model generated for questions it was not trained on—to ensure the effect wasn't just general model "sharpening."
Datasets
The study utilized two distinct types of knowledge domains:
- QuALITY: A closed-domain reading comprehension dataset. This represents a "new knowledge" scenario where the model learns from specific provided documents.
- TriviaQA: An open-domain world knowledge dataset. This represents "existing knowledge" that the model likely encountered during its massive pre-training phase.
Key Insights and Ideas
- The Backtracking Trap: One of the most counter-intuitive findings is that models memorize facts they immediately retract. A model might say, "Mt. Everest is in Arizona... No wait, it's in Nepal." Because the final answer (Nepal) is right, the model's parameters are updated to increase the likelihood of the whole string, including the Arizona hallucination. The study found almost no difference in memorization between facts that were backtracked and those that weren't.
- Harder Questions are More Dangerous: Memorization is strongest on the most difficult training questions. In GRPO, rewards are normalized within a group. If a question is so hard that only one rollout gets it right, that rollout receives a massive "advantage" signal, super-charging the memorization of any hallucinations buried in its reasoning.
- Erosion of Abstention: Rewarding a hallucination makes the model significantly less likely to admit it doesn't know something later. The probability of the model choosing a "None of the above" or abstention option fell by an average of 7.23%.
Key Results
- Memorization is Real: Recall of hallucinations reinforced during training increased by 4.83% on average. In contrast, the control group (held-out hallucinations) saw an increase of only 0.17%.
- Ubiquity: Hallucinations are not rare; the authors found that 25–55% of sentences in the models' reasoning chains contained at least one hallucinated fact.
- Persistence: Once a hallucination is memorized early in RL training, it tends to stick. Models don't "forget" these early lies as they continue to learn new things in later epochs.
- KL Penalty isn't a Cure: Even when using a KL-divergence penalty (a common technique to keep a model from drifting too far from its original state), the memorization effect only dropped by a negligible 0.52 points.
Limitations and Future Work
The authors acknowledge that while Process-based Reward Models (PRMs)—which reward each individual step of reasoning rather than just the final outcome—might mitigate this, they are incredibly difficult and expensive to scale. Defining "factuality" at a granular, sentence-by-sentence level in a 1,000-token reasoning chain is a massive open challenge.
Future work will likely need to focus on "explicit factuality verification" during the RL loop, perhaps by integrating real-time web search or knowledge-graph lookups to penalize false claims before they can be baked into the model's weights.
Summary updated