Large language models get less accurate the longer they write. In biographies, the share of correct facts falls as the text grows (FActScore). An early false claim also seems to trigger more false claims later on, a pattern called "hallucination snowballing" (Building Reliable Long-Form Generation via Hallucination Rejection Sampling). The textbook explanation is exposure bias, the mismatch between how these models are trained and how they are used. During training, the model predicts each next word from a correct, human-written prefix. When it generates text, it predicts from its own earlier output, which may already contain errors it never learned to recover from.
That explanation has never actually been tested for open-ended factual writing in modern models. A competing account fits the same curve just as well. The model may simply run out of facts it knows about a person, so later sentences reach into shakier memory whether or not the earlier text was clean. This proposal first runs a controlled experiment that separates the two accounts. If the result supports exposure bias, it then trains a model on prefixes that contain its own verified mistakes, so that it learns to continue correctly after an error rather than build on it.
Core Claim
We claim the decay in long-form factual precision has a measurable component caused by the model conditioning on its own false claims. This component can be isolated by editing the model's own prefixes, keeping everything else fixed. We further claim it can be reduced at training time, cheaply, by fine-tuning on contaminated prefixes paired with factual continuations.
The new ingredient is the contaminated prefix. The two closest training-free and training-based methods both avoid showing the model its own errors. SHARS throws away bad sentences before they enter the context. On-policy reinforcement learning such as RLFH (On-Policy Self-Alignment with Fine-grained Knowledge Feedback for Hallucination Mitigation) penalizes the error token but never builds a direct training signal for what should follow it.
Research Program
Stage 1 is a causal measurement. For entities from the FActScore biography set, stratified by entity frequency, Llama-3.1-8B-Instruct and Qwen2.5-7B-Instruct each generate a multi-sentence biography. The FActScore retrieve-then-verify estimator, checked against Wikipedia, labels each atomic fact.
At every sentence position $k$, we build four versions of the preceding text. The own prefix is the text as generated. The corrected prefix is the same text with each unsupported atomic fact minimally edited to the Wikipedia-supported value; these are entity or number swaps that preserve wording and length. The injected prefix is the same text with additional false facts swapped in. The teacher-forced prefix is a Wikipedia-derived passage of matched length, which reproduces the training-time condition.
From each prefix we sample many continuations and score the next few sentences. We then read off three quantities. The exposure effect is the precision gap between corrected and own prefixes at the same position. The knowledge-exhaustion effect is the decay that remains across positions under corrected prefixes. The dose-response is the drop in precision per injected false fact.
Two confounds get explicit controls. First, edited prefixes might differ from own prefixes in fluency, so we report prefix perplexity under the model and match it across conditions. Second, an injected false fact might pull later text toward related false facts through topic association rather than error propagation, so we also inject false facts about unrelated attributes.
This design targets the question the exposure-bias literature disputes: how severe exposure bias really is in language models (Quantifying Exposure Bias for Neural Language Generation, Rethinking Exposure Bias In Language Modeling). We ask it about facts rather than fluency or repetition. The motivating precedent is On Exposure Bias, Hallucination and Domain Shift in Neural Machine Translation. That paper showed translation models that erred early went on to ignore the source sentence, and that sequence-level training on model samples reduced such hallucinations. It studied faithfulness to an input in encoder-decoder translators. We study recall of stored facts in decoder-only models, where there is no source text to return to.
Stage 2 is contaminated-prefix training, run only if Stage 1 finds a meaningful exposure effect. From the Stage 1 generations we collect every point where a sentence contains a verified false fact. The training input is the model's own prefix, including that false sentence. The target is a continuation whose atomic facts are all verified. We obtain it by resampling from the model, with the same verifier, until a supported continuation appears, and we keep only continuations the verifier accepts.
We train with either supervised fine-tuning or DPO. For DPO, the rejected continuation is one that repeats or builds on the false claim, and the chosen continuation is a supported one given the same contaminated prefix.
The idea borrows from history-perturbation training in visual dialog. Making History Matter: History-Advantage Sequence Training for Visual Dialog contrasts gold and deliberately corrupted conversation histories so the model stops leaning on history patterns. Our version uses the model's own naturally occurring factual errors rather than synthetic corruptions. It targets factual recovery rather than answer ranking.
A secondary variant allows the target to begin with an explicit retraction of the false claim. We analyze it separately because it changes what FActScore counts. Labels always come from Wikipedia retrieval, never from the policy model judging itself. This avoids the self-confirmation risk that RLFH carries.
Baselines
Plain decoding. The naive reference point is the untuned instruct model with greedy decoding. RLFH reports FActScore 0.639 for Llama-3.1-8B-Instruct and 0.638 for Qwen2.5-7B-Instruct on biographies (On-Policy Self-Alignment with Fine-grained Knowledge Feedback for Hallucination Mitigation). We rerun these numbers in our own evaluation pipeline, not copy them.
RLFH, the strongest training-time competitor. RLFH samples responses on-policy, verifies atomic facts against Wikipedia, maps fact scores to token rewards, and optimizes with PPO. It reaches 0.686 on Llama-3.1-8B-Instruct and 0.668 on Qwen2.5-7B-Instruct. It is the strongest competitor because on-policy sampling already exposes the model to its own prefixes. We give it the same verifier, the same entity pool (disjoint from the test entities), and the same number of generated samples and verifier calls as our method. To beat it, our method must match or exceed its FActScore while producing at least as many supported facts per response. Precision gained by writing less does not count.
SHARS, the strongest inference-time competitor. SHARS generates sentence by sentence, rejects sentences flagged by a semantic-entropy detector, and resamples. It reports roughly 20–26% precision gains over greedy decoding on FactScore. We compare against it twice: once at matched inference compute (our model decoded greedily against SHARS with its full budget), and once with SHARS stacked on top of our trained model to test whether the gains add up.
DoLa, a training-free decoding reference. DoLa contrasts final-layer and intermediate-layer predictions and reports gains of up to 17 absolute points on TruthfulQA for LLaMA-7B. We run it from the official code (voidism/DoLa).
The key ablation: clean-prefix distillation. This ablation uses identical verified continuations and identical training compute. The only difference is that each false sentence is removed from the prefix, or corrected, before training. It amounts to distilling SHARS-style clean histories into the weights. If this ablation performs as well as contaminated-prefix training, the gains come from better target text, not from learning to recover from errors, and our core claim fails.
Why not just…?
Why not just reject bad sentences at inference, as SHARS does? SHARS works, and a user who can afford its latency may not need anything else. SHARS pays for repeated sampling and entropy estimation at every sentence boundary, and it leaves the weights unchanged. Its detector will also miss some errors, and a missed error still enters the context of a model that was never trained to recover from it. Our measurement of recovery rate conditional on a missed error, run with SHARS stacked on each model, shows whether training adds value on top of SHARS. If stacking yields no gain and matched-compute SHARS beats our model, the honest conclusion is that inference-time filtering suffices.
Why not just use on-policy RL like RLFH, which already trains on the model's own text? This is the most serious threat. PPO can in principle learn good continuations after errors. In practice, dense per-fact rewards concentrate the gradient on the false tokens themselves, and errors that are rare in the policy's samples give little signal about what should follow them. Our method makes post-error continuation the explicit training target. The deciding evidence is the conditional recovery rate, and the Stage 1 exposure effect re-measured on the RLFH-trained model. If RLFH already closes the corrected-versus-own gap, our method adds nothing, and we will report that.
Why not accept that the decay is knowledge exhaustion and fix knowledge instead? Better pretraining, retrieval, or knowledge editing would then be the right lever. TruthfulQA's inverse scaling (TruthfulQA) shows that more capacity alone does not buy truthfulness, but it does not settle this question. Stage 1 settles it directly. If precision under corrected prefixes decays as steeply as under own prefixes, exposure bias explains little of the effect, and Stage 2 is not run.
Why not just use scheduled sampling? Scheduled sampling mixes model tokens into training prefixes (Scheduled Sampling for Sequence Prediction with Recurrent Neural Networks, Scheduled Sampling for Transformers). It has two problems here. It is known to be unstable at scale. It also keeps the human-written target even after the prefix has drifted, which can teach a continuation inconsistent with the corrupted context. Our targets are verified continuations of the actual contaminated prefix.
Decisive Experiments
The first check is Stage 1 itself. We pre-register that Stage 2 proceeds only if the exposure effect, the precision gap between corrected and own prefixes averaged over later positions, is statistically distinguishable from zero and accounts for a non-trivial share of the total decay at matched prefix perplexity. We report the result regardless, stratified by entity frequency. We expect the effect to be largest for mid-frequency entities, where the model knows enough to recover but not enough to ignore a wrong prefix.
The second check is the head-to-head evaluation. We measure FActScore precision, supported facts per response, abstention rate, the slope of precision against sentence position, and the probability that a sentence following a false sentence is correct. The test set is held-out FActScore entities, and we test transfer to LongFact topics. Contaminated-prefix training should flatten the position slope and raise post-error recovery more than the clean-prefix ablation does, and at least match RLFH's reported 0.686 on Llama-3.1-8B-Instruct in our pipeline.
TruthfulQA MC1 and MC2 serve as a negative control. Answers there are short, so there is little self-generated context to go wrong, and our method should neither help much nor hurt. A large TruthfulQA gain would suggest the method is changing general truthfulness rather than recovery, and would call for re-examination.
References
- FActScore: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generation
- Building Reliable Long-Form Generation via Hallucination Rejection Sampling
- On-Policy Self-Alignment with Fine-grained Knowledge Feedback for Hallucination Mitigation
- Quantifying Exposure Bias for Neural Language Generation
- Rethinking Exposure Bias In Language Modeling
- On Exposure Bias, Hallucination and Domain Shift in Neural Machine Translation
- Making History Matter: History-Advantage Sequence Training for Visual Dialog
- DoLa: Decoding by Contrasting Layers Improves Factuality in Large Language Models
- TruthfulQA: Measuring How Models Mimic Human Falsehoods
- Scheduled Sampling for Sequence Prediction with Recurrent Neural Networks
- Scheduled Sampling for Transformers