LLMs memorize their own hallucinations during post-trainingLLMs Memorize Their Own Hallucinations During Post-Training
Using six open-source models, the authors study reasoning-oriented post-training and report an average memorization score of 4.83 for rewarded self-generated hallucinations, versus 0.17 for held-out.
- Post-training for math and code commonly uses outcome rewards and long reasoning chains, but knowledge tasks require only factual recall. The authors focus on: when the final answer is correct, are self-generated erroneous facts in the reasoning chain also reinforced and retained in the model parameters?
- The authors train six open-source models on QuALITY and TriviaQA, extract hallucinations from correct rollouts and construct MCQs, and compare recall rates before and after hallucination appearance across checkpoints; they also use held-out hallucinations not involved in training as a control, and examine backtracking, difficulty, abstention, KL, and PPO.
- The authors report that the average memorization score for hallucinations reinforced by training is 4.83, versus 0.17 for held-out; hallucinations that were later retracted are also memorized, and memorization is stronger on hard problems. After reinforcement, the model abstains less often, and continued training, adding KL, or switching to PPO did not eliminate the phenomenon.
- The authors note that sentence- or fact-level process supervision faces problems of decomposition, verifiability, cost, and how to evaluate already-retracted statements. The experiments cover six open-source models and two knowledge datasets; the MCQ probe is not equivalent to free generation, and the paper does not report repeated training or variance for the main results.
- Evaluated models
- Qwen3-4BQwen3-8BQwen3-14BQwen3-30B-A3BOlmo-3-7B-ThinkOLMoE-1B-7B
- Benchmarks
- QuALITYTriviaQAHalluSet-trainHalluSet-heldoutHalluSet-negMMLU
- Metrics
- memorization scoreMCQ recall∆ log-prob of hallucinationshallucination rateprobability of selecting None of the abovetest-set accuracy
Researchers at Cornell University found that reasoning-centric post-training recipes cause LLMs to memorize hallucinations they produce in their own chains of thought. The team trained six open-source models from the Qwen3 and Olmo series with GRPO on two knowledge datasets, QuALITY and TriviaQA, tracking changes in the recall of hallucinations reinforced during RL across subsequent checkpoints. Results show that the recall rate of hallucinations that received training signal rose by an average of 4.83%, while control hallucinations that received no training signal rose by only 0.17%; the models' degree of memory for hallucinations that had been retracted was almost the same as for those not retracted, and after hallucinations were reinforced, the models' probability of abstaining fell by an average of 7.23%. Memorization was strongest on the hardest training questions, and after adding a KL penalty on QuALITY, the memorization score fell by an average of only 0.52, with the effect still present. The authors point out that outcome-oriented rewards, which evaluate only the final answer without supervising the chain of thought, carry an unintended cost when a training recipe effective for math and code is applied to knowledge tasks.
Why it was selectedThe paper quantifies on six open-source models how outcome-oriented rewards reinforce hallucinations generated by the models themselves; teams doing RL post-training on knowledge tasks can use this to review their reward design.
Paper analysis
What problem does this paper attempt to solve?
The authors study whether outcome-reward RL on knowledge tasks writes into the parameters hallucinations that the model itself generated and even subsequently retracted.
Core question: Does reasoning-oriented post-training cause models to memorize their own generated hallucinations in knowledge tasks, rather than only memorizing correct answers?
- Problem setting: Current recipes use long CoT to encourage exploration, hypothesis generation, and backtracking, and give outcome rewards mainly based on the final answer. The authors argue that these designs are useful for math and code, but knowledge questions rely mainly on factual recall.
- Key mechanism: GRPO's advantage depends only on the final answer and does not directly supervise the reasoning chain; therefore, when the final answer is correct, the entire rollout containing erroneous facts in the chain may also receive positive reinforcement (§2.1).
- Gap in existing research: The authors state that prior work has studied the relationship between pretraining, SFT, and abstention incentives and hallucination, but the extent to which post-training leads to "self-generated hallucination memorization" has not been systematically studied.
- Core hypothesis: Models memorize hallucinations that were rewarded during training; even if later retracted during reasoning, the erroneous facts may still be reinforced. If the phenomenon were only temporary, the harm would differ, so the authors also track subsequent checkpoints.
- Research contributions: The authors propose HalluSet-train, HalluSet-heldout, and a cross-checkpoint memorization score, measure memorization, backtracking, question difficulty, abstention, and forgetting on six open-source models and two knowledge datasets, and conduct KL and PPO ablations.
What related research exists?
Related work is divided into test-time scaling and RLVR, hallucination in reasoning models, and post-training factuality mitigation; the authors add a memorization-mechanism perspective.
Test-time scaling and RLVR
- Wei et al. (2022), Snell et al. (2024), etc.: use long intermediate reasoning to scale test-time compute as an alternative to scaling parameter count; Gandhi et al. (2025) discuss verification and backtracking behavior in long CoT.
- Guo et al. (2025), Shen et al. (2025), Stojanovski et al. (2026): represent the line of training reasoning ability with RLVR and verifiable outcome rewards, where outcome rewards are relatively simple to implement.
- Chen et al. (2025b), Yuan et al. (2026), etc.: the paper states that such rewards may bring language incoherence, unfaithful reasoning, overthinking, or performance degradation in some domains; the authors list hallucination memorization as another consequence.
Reasoning models and sources of hallucination
- Kalai et al. (2025): argue that outcome-type signals reward guessing rather than abstention, indirectly encouraging hallucination.
- Yao et al. (2025), Chen et al. (2025a): report that reasoning models produce more hallucinations than non-reasoning models; Li & Ng (2026) attribute this to high-variance gradients, entropy-induced randomness, and spurious local optima.
- Gekhman et al. (2024), Kang et al. (2025), Chang et al. (2024): respectively discuss fine-tuning on unfamiliar knowledge and factual acquisition and hallucination in pretraining; this paper instead tracks erroneous facts that the model itself produces during RL.
Factuality mitigation in post-training
- Tian et al. (2024), Lin et al. (2024), Zhang et al. (2024): improve factuality through SFT or offline RL such as DPO; the paper accordingly emphasizes optimizing the factuality of self-generated answers rather than only fine-tuning on unfamiliar reference facts.
- Chen et al. (2025a), Li & Ng (2026), Yuan et al. (2026), Ren et al. (2026): introduce process rewards or sentence-by-sentence fact verification, often relying on FactScore, VeriScore, or LLM judges; the authors state that verifier bias, cost, and scalability still make mitigation an open problem.
Experimental controls and data: this paper does not propose a new defense; the main controls are the same model on HalluSet-heldout with no training signal, HalluSet-neg from incorrect-answer rollouts, and GRPO with KL and PPO variants; the knowledge data are QuALITY and TriviaQA. The authors position this paper as a supplement to "why outcome rewards increase hallucination": not only encouraging guessing, but also possibly reinforcing and retaining rewarded self-generated hallucinations.
How does the paper address this problem?
The authors convert hallucinations in training rollouts into MCQ probes, measure memorization using the recall difference between checkpoints before and after appearance, and set up a held-out control.
The overall idea is to extract the model's own hallucinations along the actual post-training process, then track how their recall changes across checkpoints. The core metric is the memorization score, and hallucinations not involved in training are used to distinguish reward reinforcement from general distribution sharpening.
Problem setup and definition of memorization
- For a question q, the policy M samples a rollout (r, y), where r is the reasoning and y is the final answer; the reward model only gives R(q, y). GRPO normalizes rewards across rollouts for the same question, and non-factual content in r does not directly participate in reward determination.
- A self-generated hallucination h is an atomic statement in the reasoning chain judged false by the reference text or world knowledge; p(h) is the training time step at which it is first generated. a(Mt, h) denotes the recall score of checkpoint Mt for h.
- The core definition is m(h)=1/(T−p(h))∑j=p(h)+1Ta(Mj,h)−a(Mp(h),h), i.e., the average recall across checkpoints after the hallucination appears, minus the recall at the checkpoint before it appears.
Two main hallucination sets and controls
- HalluSet-train: for each training question, randomly select one rollout whose final answer is correct, and extract one hallucination from it; questions with no correct rollout or with all rollouts correct are ignored, and the latter produce no gradient update.
- HalluSet-heldout: split 1000 test questions into 8 groups of 125 each, assign them to M0 to M7 for sampling and extract hallucinations in the same way; these questions do not participate in training or reward and serve as a control.
- HalluSet-neg: the appendix additionally samples from rollouts with incorrect final answers, to test whether hallucinations corresponding to negative outcomes show the opposite trend.
Hallucination extraction and MCQ probe
- GPT-4.1-mini extracts facts, judges hallucinations, and generates three distractors; QuALITY is checked against the original story, while TriviaQA first extracts three candidates, then verifies them with web search preview, randomly keeping one verified false fact.
- Each hallucination is turned into a four-choice MCQ, with the hallucination itself as the gold answer; a is a binary correctness score, and no LLM judge is used to score the final probe. The backtracking analysis separately samples three types of backtracked and three types of non-backtracked candidates, then verifies and constructs questions for each.
- The authors explicitly do not equate the selected hallucination with hallucination that would also occur in free generation; the MCQ is only a controlled probe. They additionally track the log-probability of the hallucination under the given question as an auxiliary metric closer to free generation.
Training pipeline and key parameters
- Each dataset uses 3609 questions for training and 1000 for testing, with about 5% (175 questions) of the training set used for validation. QuALITY performs CPT, cold-start SFT, and RL in sequence from the base checkpoint; TriviaQA performs RL directly from the developer-released post-trained checkpoint.
- QuALITY's CPT is 10M tokens with context length 2048, and replays RedPajama at a ratio of 0.1; SFT reasoning is generated by GPT-4.1-mini, averaging 72.07 words. RL uniformly uses GRPO, one epoch, and by default no KL penalty.
- GRPO learning rate is 1×10^-6, with 8 rollouts sampled per question and temperature 0.7; QuALITY's prompt and generation limits are both 512 tokens, and TriviaQA's generation limit is 1024. Reward is 1 if both format and answer are correct, 0.2 if only the format is correct, and 0 otherwise.
Checkpoints and subsequent analysis
- The first RL epoch saves M1 to M8 at equal intervals, plus the initialization M0; the nearest saved checkpoints before and after the hallucination point approximate the formula. The second epoch saves two checkpoints, 1.5 and 2, for forgetting analysis.
- Subsequent experiments respectively measure question difficulty by the number of correct rollouts, distinguish backtracked from non-backtracked hallucinations, replace one distractor with None of the above to test abstention, and repeat experiments on QuALITY with KL coefficient 0.001 and with PPO. Appendix A.5 gives all prompts.
What experiments did the paper conduct?
Train memorization scores are positive for all six models on both datasets; backtracking, continued training, KL, and PPO experiments did not make the phenomenon disappear.
Experimental setup
- Models tested: Qwen3-4B, Qwen3-8B, Qwen3-14B, Qwen3-30B-A3B, Olmo-3-7B-Think, OLMoE-1B-7B, covering the Qwen and Olmo families and dense and mixture-of-experts architectures.
- Data scale: QuALITY and TriviaQA each have 3609 training questions and 1000 test questions; the original QuALITY data comprise 4609 questions and 265 books and articles, and TriviaQA is randomly sampled with 4609 questions to match the scale.
- Main metric: the memorization score is the average MCQ recall after the hallucination point minus recall before the hallucination point; the Train and Heldout values in Table 1 are reported in "points", while the abstract writes an average increase of 4.83%.
- Sample sizes: the total HalluSet-train size in Table 17 varies by model and dataset, e.g., 1407–2435 items for QuALITY and 552–1003 for TriviaQA; the held-out design is 1000 questions per model per dataset, but the actual group counts are in Table 18.
- Review and quality control: GPT-4.1-mini extracts, verifies, and constructs questions; one author manually checked 200 TriviaQA hallucinations and reports precision 98%. 200 items each were checked for backtracking labels, with accuracy 87% for backtracked and 91% for non-backtracked.
- Controls and repetitions: controls include held-out, incorrect-answer rollouts, option shuffling, distractor regeneration, KL, and PPO; the paper does not report the number of independent repeated training runs or confidence intervals for the main experiments.
Main results
According to Table 1, values are memorization scores; ∆ is Train minus Heldout.
Swipe horizontally to read the table
Model QuALITY Train QuALITY Heldout TriviaQA Train TriviaQA Heldout Qwen3-4B 5.85 0.89 3.19 -0.70 Qwen3-8B 6.14 0.24 3.71 -0.76 Qwen3-14B 5.52 0.58 3.56 0.09 Qwen3-30B-A3B 4.44 0.56 3.77 -0.23 Olmo-3-7B-Think 5.11 -0.02 4.24 0.66 OLMoE-1B-7B 6.88 0.55 5.58 0.14 Average 5.66 0.47 4.01 -0.13 - Cross-model results: the Train score is positive for all models; Heldout is positive for some and negative for others. The authors therefore conclude that outcome rewards reinforce hallucinations in training rollouts, not merely general distribution sharpening.
- Dataset differences: QuALITY's Train average is 5.66 and TriviaQA's is 4.01; the authors state that the former's CPT–SFT–RL pipeline corresponds to adaptation to a new knowledge domain, while the latter still shows memorization even starting from an already post-trained model.
- Frequency and non-MCQ evidence: Table 2 reports that 25–55% of reasoning sentences in correct rollouts contain hallucinations; the Figure 2 caption states that the log-probability of Train hallucinations rises after the corresponding update, while Heldout shows no comparable rise. The text conversion does not provide the exact endpoints of each curve, and the authors note that its values cannot be directly compared with Table 1.
Backtracked hallucinations and question difficulty
- Backtracking is still memorized: Table 3 separately resamples backtracked and non-backtracked hallucinations on TriviaQA, and the difference between the two for each model ranges from -0.18 to +0.08 points; Qwen3-30B-A3B is the only model with a higher backtracked group, at 3.47 versus 3.39.
- Statistical test: Appendix A.4 performs a paired permutation test on backtracked and non-backtracked hallucinations from the same rollout source, with p > 0.05 for all models, finding no statistically significant difference; the introduction summarizes the average difference as 0.08%.
- Difficulty relationship: Figure 3 plots the number of correct rollouts for the original question on the horizontal axis and the memorization score on the vertical axis, and the authors state that fewer correct rollouts usually correspond to higher memorization scores; the text conversion does not retain point-by-point values that can be checked. The authors speculate that GRPO's within-group normalization gives the few correct rollouts on hard questions a larger positive advantage.
Abstention, retention, and training variants
- Abstention decreases: after Table 4 replaces one distractor with None of the above, the probability of correct abstention before and after the hallucination point decreases in all 12 model×dataset combinations; the decrease is 4.39–17.64 percentage points on QuALITY and 5.19–8.20 percentage points on TriviaQA, with the authors reporting an average decrease of 7.23%.
- Control trends differ: the direction of abstention changes in Table 12's Heldout is inconsistent, with an average difference of only 0.07 percentage points; in Table 11, Train's memorization scores under the abstention-allowed setting also remain all positive.
- Continued training and regularization: Figure 4 and Table 19 compare the first checkpoint after the hallucination point with epoch 2, and the authors state that most groups are maintained or increase, but individual groups decrease. After adding 0.001 KL on QuALITY in Table 5, the average decreases by only 0.52 points, and Qwen3-30B-A3B instead rises from 4.44 to 4.58.
Other ablations and analyses
- PPO: Table 16 keeps the other settings unchanged and switches to PPO; Train memorization scores remain all positive, at 4.61–6.35 for QuALITY and 3.56–6.01 for TriviaQA.
- Incorrect-answer rollouts: the HalluSet-neg scores in Table 13 are mostly near or below zero, but QuALITY's Qwen3-4B and Qwen3-8B are 0.61 and 1.15 respectively, which are exceptions.
- Option order: Table 15 randomly shuffles all Train MCQ options, and the average absolute change in memorization score relative to Table 1 is 0.13, with a maximum of 0.23.
- Distractor regeneration: the average absolute change for Qwen3-4B and Olmo-3-7B-Think on the two datasets is 0.15.
- Distractor quality control: manual inspection of 200 TriviaQA MCQs found that 39/200 (19.5%) of distractors contain the true answer; among these, the number of times the true answer was selected dropped from 27 initially to 15 at epoch 1, and selection of the hallucination rather than the true answer rose from 8 to 14.
- Training effectiveness: Table 7 and Table 8 show that test accuracy from epoch 0 to 2 increases by about 8.93 and 3.22 points on average respectively; Table 6 also reports ROUGE-2, MMLU, and QuALITY test performance after CPT.
What are some points that can be further explored?
The authors list fine-grained process supervision and its verification cost as open problems; the experiments themselves are limited to six models, two datasets, and an MCQ probe.
Limitations and future directions noted by the authors
- Boundary of probe interpretation (§2.2): Selecting a hallucination in an MCQ does not mean free generation would also output it; the authors do not interpret MCQ accuracy as the probability of hallucination in free generation, nor do they draw conclusions from a single checkpoint's score.
- Process supervision direction (§5): The authors propose that more explicit supervision could be applied to reasoning chains, such as process rewards and sentence-by-sentence fact verification, but consider scaling to long chains and trajectories containing "cognitive" behavior to be an obstacle.
- Decomposition and verification cost (§5): Sentence-level or fact-level factuality requires deciding how to decompose and what counts as verifiable; the authors state that these designs are not straightforward, and fine-grained verification cost accumulates with long reasoning.
- Evaluation difficulty of retraction statements (§5): An entire trajectory may be considered factually correct because an error was retracted, while local statements remain incorrect; the authors state that how to handle this "globally factual, locally non-factual" situation is unclear.
- Behavioral trade-off of mitigation (§5): The authors believe that penalizing all non-factual statements may suppress cognitive behaviors that make reasoning effective, and hope future research will further analyze and mitigate hallucination learning during training.
Scope of experiments
- Models and tasks: The subjects are six open-source models; the knowledge data are QuALITY and TriviaQA; QuALITY uses CPT–SFT–RL, and TriviaQA undergoes RL directly from the released post-trained checkpoint.
- Training and checkpoints: The main experiments use GRPO, one epoch, and 8 equally spaced checkpoints; the forgetting analysis is extended to epoch 2, and PPO and KL are separate variants.
- Scope of analysis: The backtracking vs. non-backtracking comparison is conducted only on TriviaQA, because backtracking trajectories are rare in QuALITY's own SFT cold-start data (§3 footnote 4); the KL experiment is conducted only on QuALITY, and the authors mention that each HalluSet pipeline on TriviaQA costs about $35 (§4 footnote 5).
- Quality control of automatic annotation: Manual checks include 200 TriviaQA hallucinations, 200 backtracking labels, and 200 TriviaQA distractors; the paper does not report inter-annotator agreement for these manual checks.
- Evidence reporting: Main results are binned by checkpoint and hallucination point; the paper does not report independent repeated training, random-seed variance, or confidence intervals for the main memorization scores; the only explicit statistical test is the paired permutation test for the backtracking comparison.
Summarize the main content of the paper
The authors state that outcome-reward RL on knowledge tasks retains reinforced self-generated hallucinations, and backtracking, KL, or continued training cannot naturally eliminate them.
This is an empirical analysis of the sources of post-training hallucination: the authors examine whether long reasoning and outcome rewards optimized for math and code, when used directly for knowledge question answering, also reinforce erroneous facts in the reasoning chain.
- Method: train six open-source models from the Qwen and Olmo families on QuALITY and TriviaQA, extract self-generated hallucinations from correct rollouts and construct MCQs, and define the memorization score as the recall difference between checkpoints before and after the hallucination appears; hallucinations from untrained questions serve as the held-out control.
- Main results: in Table 1, the Train average memorization score is 4.83 and Heldout is 0.17; the Train averages for QuALITY and TriviaQA are 5.66 and 4.01 respectively, and the Train score is positive for all models.
- Backtracking and difficulty: on TriviaQA, the memorization scores of backtracked and non-backtracked hallucinations are close, with paired permutation tests all p > 0.05; in Figure 3 the authors report that harder questions, i.e., those with fewer correct rollouts, usually correspond to higher memorization scores.
- Abstention and retention: after changing the options to allow abstention, in Table 4 the probability of correct abstention decreases for all models and datasets, with the authors reporting an average decrease of 7.23%; after extending to epoch 2, recall in most hallucination groups is maintained or increases.
- Variants and exceptions: after adding KL on QuALITY, the average memorization score decreases by only 0.52, and under PPO it also remains all positive; hallucinations from incorrect-answer rollouts are usually near or below zero, but QuALITY's Qwen3-4B and Qwen3-8B are still 0.61 and 1.15 respectively.
- Authors' conclusion: training recipes effective for math and code may bring additional costs when used for knowledge tasks. The authors believe subsequent work needs to study reasoning-chain supervision and mitigation, but the cost of fine-grained verification and how to handle already-retracted local erroneous statements remain open problems.