Skip to content

An anomaly in factual fine-tuning: the model's internal beliefs can improve factualityThe Curious Case of Factuality Finetuning: Models' Internal Beliefs Can Improve Factuality

arXiv· arXiv:2507.08371· Benjamin Newman, Abhilasha Ravichander, Jaehun Jung, Rui Xin, Hamish Ivison, Yegor Kuznetsov, Pang Wei Koh, Yejin ChoiUniversity of Washington; Stanford UniversityIndexed by this site · 2026-10-15· Originally publishedAlignment

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

The authors propose EPISTEMIC TRAINING: fine-tuning with generated data the model considers true, achieving 76.6% factuality for Mistral on Bios.

Questions
Long-form generation accumulates factual errors, and it is unclear how much true data post-training should use. Correct but unfamiliar knowledge may increase hallucination in short-answer questions, and gold-standard data is expensive.
Methods
Compare gold-standard documents with model self-generation, as well as external entailment filtering and hidden-state probes. EPISTEMIC TRAINING retains self-generated claims that the probe judges as supported, then fine-tunes with LoRA after length control.
Experiments and results
Across three models on Bios, Plots, and Medical, generated data plus internal probe achieves the highest factuality, with Mistral at 76.6% on Bios. Detail decreases and refusal increases; some gold-standard fine-tuning is below no fine-tuning. Cross-domain improves but in-domain is higher; on TriviaQA, internal filtering is slightly lower than external.
Limitations and future work
The authors note that the gold-standard Wikipedia may not contain all correct facts, entailment models can misjudge, and pipeline errors propagate. Without domain knowledge, the method may only increase refusal, and self-training can also amplify social biases. The main experiments use three models and three sets of long-form data; Table 4 only has Mistral and Llama-2.
Experimental setupMistral-7B-Instruct-v0.2、Llama-2-7B-Chat et al. · Bios、Plots et al. · Factuality、Detail et al.
Evaluated models
Mistral-7B-Instruct-v0.2Llama-2-7B-ChatGemma-7B-it
Benchmarks
BiosPlotsMedicalTriviaQA
Metrics
FactualityDetailAbstention rate
AI summaryThe paper studies the relationship between the factuality of fine-tuning data and hallucination in long-form text generation tasks, and finds that fine-tuning on generated data the model itself believes to be true helps reduce hallucination more than fine-tuning on factual gold-standard data. The study also evaluates different filtering strategies for gold-standard data and model-generated data, and finds that fine-tuning on generated data filtered by the model's own internal judgment yields overall better factuality than configurations using only gold-standard data, gold-standard data filtered by the model's judgment, or generated data supported by gold-standard data. The authors state that these factuality improvements transfer across the three domains covered in the study.

The paper studies the relationship between the factuality of fine-tuning data and hallucination in long-form text generation tasks, and finds that fine-tuning on generated data the model itself believes to be true helps reduce hallucination more than fine-tuning on factual gold-standard data. The study also evaluates different filtering strategies for gold-standard data and model-generated data, and finds that fine-tuning on generated data filtered by the model's own internal judgment yields overall better factuality than configurations using only gold-standard data, gold-standard data filtered by the model's judgment, or generated data supported by gold-standard data. The authors state that these factuality improvements transfer across the three domains covered in the study.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    In long-form post-training, generated data the model itself believes to be true reduces hallucination more than gold-standard factual data.

    How truthful should post-training data for long-form generation be to reduce hallucination.

    • Scenario: The authors say hallucination limits widespread use of language models; long-form text can be partially correct, and errors can accumulate during generation. Gold-standard factual data is expensive, and training on correct but unfamiliar data may cause more downstream hallucination.
    • Existing gaps: Short QA work found that fine-tuning on factually correct but unfamiliar knowledge can hurt downstream factuality, so it recommends data that is both correct and familiar (Gekhman et al., 2024; Ghosal et al., 2024).
    • Observation: The authors say that in the long-form settings studied, factuality improves most when fine-tuning data matches the model's internal knowledge, even when gold-standard documents do not support that knowledge. The abstract describes this as counterintuitive: generated data the model believes to be true is more helpful than factual gold-standard data.
    • Proposed method: Compare knowledge sources (gold-standard documents or entity-based generation) and filtering (external entailment or hidden-state probes). The authors call generated data with internal probes EPISTEMIC TRAINING and say it improves factuality by 12–30 percentage points relative to training only on gold-standard data (Figure 1).
  2. What related research exists?

    Related work includes inference-time and post-training factuality, self-knowledge probes, and familiarity in short QA.

    The authors position the paper along three lines and compare in experiments against no fine-tuning and different data constructions.

    Improving Factuality

    • Inference-time methods: Lee et al. (2022), Li et al. (2023), Varshney et al. (2023) use specialized decoding; Mishra et al. (2024), Shi et al. (2024) add context; Jones et al. (2024), Yang et al. (2023) optimize prompts.
    • Post-training: Huang et al. (2024a), Hron et al. (2024) supervise with external grounded data; Tian et al. (2023a), Yang et al. (2023), Kang et al. (2025), Lin et al. (2024) modify alignment objectives toward factuality. The authors state that inference-time and post-editing methods increase per-inference cost, whereas post-trained models can be plugged into existing inference pipelines.

    Model Self-Knowledge

    • Verbalized uncertainty: Kadavath et al. (2022), Xiong et al. (2024), Tian et al. (2023b) have the model state its uncertainty about its output.
    • Hidden-state probes: Azaria and Mitchell (2023), Joshi et al. (2024), CH-Wang et al. (2024), Orgad et al. (2025), Alnuhait et al. (2024) train probes on hidden states. Liu et al. (2023) and Orgad et al. (2025) discuss that internal representations may still mark true knowledge when generation is erroneous. The authors use internal representations to filter post-training data accordingly.

    Familiarity and Factuality

    • Short QA: Mallen et al. (2023), Gekhman et al. (2024), Ghosal et al. (2024) note that naively training on factual data does not necessarily reduce hallucination, especially when entities are underrepresented in pretraining knowledge.
    • Familiarity definitions: direct retrieval from the training corpus (Mallen et al., 2023; Carlini et al., 2023) or reward modeling (Kang et al., 2025). The authors state that their counterpart quantity lies in internal representations and extend similar conclusions to long-form generation.

    Baselines and Data

    • Comparisons: no additional fine-tuning; gold-standard Dgold and generated Dgen; external entailment f_ext, internal probe f_int, and random filtering. Long-form data are Bios, Plots, Medical; the appendix additionally uses the Wikipedia split of TriviaQA.

    The authors distinguish this paper from external grounded supervision: it uses the model's own generations, then filters by internal representations, rather than keeping only claims entailed by gold-standard documents.

  3. How does the paper address this problem?

    EPISTEMIC TRAINING uses self-generated documents, then hidden-state probes to keep claims the model believes to be true.

    EPISTEMIC TRAINING uses the target model's own long-form generations as training text, then uses a probe on that model's hidden states to keep only atomic claims it judges to be true, and then fine-tunes. The pipeline is: select a knowledge source, filter out incorrect claims, and merge the remaining claims.

    Knowledge Sources

    • Dgold: each entity has one human gold-standard document. Training and evaluation use separate entity sets and document sets.
    • Dgen: entities are filled into dataset prompts; each prompt is sampled 10 times at temperature 0.7 with a maximum of 1000 new tokens. Appendix B gives the template.
    • Document scope: Bios uses only the Wikipedia lead when constructing Dgold; the full text is used when computing f_ext labels or training probes. The authors assume dk contains all relevant information about the entity; Appendix A discusses this assumption.

    Atomization and Filtering

    • Atomization: sentences are first split, then Mistral-7B-Instruct-v0.2 with few-shot examples splits them into atomic claims at temperature 0.2. Plots is decontextualized before atomization; Appendix D.3 gives the prompt.
    • f_ext: MiniCheck (based on Flan-T5-large) judges whether a claim is entailed by the corresponding gold-standard document; probability above 50% is supported. Dgold does not undergo this filtering; the authors assume all its claims are correct.
    • f_int: each claim is encoded separately, and an unbiased logistic regression is trained on the last token's middle-layer hidden state. Silver labels come from f_ext on a separate batch of entities. Each dataset, model, and knowledge source has its own probe. Appendix E states that early-middle layers have the highest F1; experiments use layer index 15 with at most 1000 gradient steps.
    • The authors still state that the probe reflects internal knowledge because the label entities are separate from the training and evaluation entities.

    Recomposition, Length Control, and Training

    • Unsupported claims are removed, and Llama 3 8B Instruct (temperature 0.2) merges the remaining claims. If a prompt has no factual claims, it is replaced with a refusal. Appendix D.2 gives the merging prompt.
    • Length control: across the four source×filter combinations, take the minimum p of supported claim counts for that sample, and keep only the top p claims after sorting. f_int sorts by probe probability; Dgen's f_ext sorts by entailment score; Dgold's f_ext takes the first p claims of the document. The motivation is that in preliminary experiments f_int removed more atoms, and length would confound factuality (Figure 3).
    • Fine-tuning: LoRA, rank 8, α=16, dropout 0.05, learning rate 3e-4, 500 steps, packed sequences, effective batch size 16. Synthetic data has 10 samples per entity; gold-standard data trains for 10 times as many steps. Appendix G selects among 500–1000 steps, learning rates 1e-4/3e-4/5e-4, and rank 8 or 128, based on held-out biography data.

    Data and Evaluation

    • Sizes are in Table 1: Bios has 7207 training, 250 probe training, 932 test; Plots has 2257 / 151 / 301; Medical has 500 / 199 / 100. The authors write the extraction sizes as approximately 9000, 3000, and 800.
    • Bios uses Wikidata entities that are human (Q5) and have an English Wikipedia page, with the same prompts as Min et al. (2023). Plots uses plot summaries from Riedl and Bell (2017). Medical uses terms and Wikipedia articles from Gamino (2023).
    • Evaluation generates 5 samples per held-out prompt, atomizes them, and uses the same MiniCheck as f_ext with gold-standard documents. Factuality is the average percentage of supported atoms; detail is the average number of atoms in non-refusal generations; refusal rate checks whether the first sentence contains a first-person pronoun, with manual spot checks.
  4. What experiments did the paper conduct?

    The authors say Dgen plus f_int gives the highest factuality across models and datasets, while detail decreases and refusal increases.

    Experimental Setup

    • Models tested: Mistral-7B-Instruct-v0.2, Llama-2 7B Chat (table header Llama-2-7B-Chat), Gemma 7B Instruction Tuned (table header Gemma-7B-it). All three are fine-tuned and evaluated.
    • Data: Bios, Plots, Medical, with entity counts in Table 1. Appendix H.2 additionally tests the first two models on the Wikipedia, no-context reading comprehension split of TriviaQA.
    • Conditions: no additional fine-tuning; knowledge source Gold or Gen; filtering External, Internal, or Random. The shaded row in Table 2 is Gen plus Internal, i.e., EPISTEMIC TRAINING.
    • Metrics: Factuality is the average percentage of supported atoms; Detail is the average number of atoms in non-abstention generations; Abstention is the abstention rate. The abstention heuristic was manually spot-checked; the paper does not give an agreement number.
    • Judging and repetition: Evaluation uses MiniCheck and the gold documents, with a support threshold above 50%. 5 generations per held-out prompt. Parentheses are the standard deviation over three random seeds of all sampling in the pipeline; the table below lists only means.
    • Training and sampling: LoRA rank 8, α=16, dropout 0.05, learning rate 3e-4, 500 steps, effective batch 16. Generation temperature 0.7, at most 1000 new tokens, 10 per prompt. Atomization, merging, and decontextualization temperature 0.2.

    Main Results

    Factuality (%) according to Table 2. Gemma-7B-it Medical is omitted: no fine-tuning 43.6, Gold+f_ext 44.1, Dgen+f_ext 54.6, Dgen+f_int 60.7.

    Swipe horizontally to read the table

    ModelDatasetNo fine-tuningGold+f_extDgen+f_int
    Mistral-7B-InstructBios29.654.976.6
    Mistral-7B-InstructPlots13.634.470.9
    Mistral-7B-InstructMedical34.656.868.8
    Llama-2-7B-ChatBios31.632.965.9
    Llama-2-7B-ChatPlots47.425.859.2
    Llama-2-7B-ChatMedical33.248.965.1
    Gemma-7B-itBios25.536.262.1
    Gemma-7B-itPlots28.721.452.3
    • Authors' summary: The authors state that Dgen plus f_int has the highest factuality across all models and datasets; generated data is 4–33 percentage points higher than gold, and filtering gold claims with the probe can add another 6–30 percentage points. Llama-2 Bios, Gold+Internal is a dash; the probe judged all gold claims as unsupported.
    • Gold is not always higher than no fine-tuning: Gemma-7B-it Plots, Gold+f_ext is 21.4, no fine-tuning is 28.7; Llama-2 Plots, Gold+f_ext is 25.8, no fine-tuning is 47.4. The authors hypothesize that less familiar entities in the gold data prompt the model to make claims about these entities.
    • Filtering and length: The authors state that for Dgen, f_int improves over f_ext by up to about 8 points, even though f_ext data is more consistent with gold. Within the same dataset Detail is close, but far below no fine-tuning, and Abstention usually rises. The authors state that random filtering is higher than no fine-tuning and lower than their method; in Table 2 Gemma Bios Random is 43.3, higher than Gold+Internal's 42.6.

    Cross-domain Transfer

    • What was tested: Table 4 trains Mistral-7B-Instruct-v0.2 or Llama-2-7B-Chat on synthetic data from one domain, then tests on the other two domains. Gemma is not in this table.
    • Results: Mistral on Bios with no fine-tuning is 29.6; with Plots data, Internal is 68.6, External is 67.9; with Medical data, Internal is 56.8. In-domain Table 2 Bios, Dgen+f_int is 76.6. For Llama-2 on Medical trained with Plots, Internal is 45.2, External is 47.1.
    • Authors' interpretation: The authors state that both filters are higher than no fine-tuning, and EPISTEMIC TRAINING gives a consistent but small improvement over the external verifier; biography training is usually better on Plots than Medical, and vice versa. The authors write that strong cross-domain comparisons cannot be made because training sample length was not controlled across domains, and state that in-domain data is better when possible.

    TriviaQA

    • Setup: Appendix H.2, short question answering on the Wikipedia split, models are Mistral and Llama-2, still reporting F/D/A and three seeds.
    • Results: Mistral no fine-tuning F is 0.683; Gen+External 0.729, Gen+Internal 0.710. Llama-2 no fine-tuning 0.602; Gen+External 0.658, Gen+Internal 0.648. Gold+External is 0.442 and 0.398, both lower than no fine-tuning.
    • Authors' interpretation: The authors state that in this setting internal filtering is slightly lower than external filtering, and believe factuality may be more important in short question answering.

    Human Ratings of Generation Details

    • Setup: Appendix H.3. Mistral, Bios, EPISTEMIC TRAINING, the first generation of 100 random entities; two annotators rate detail on 0–2, ignoring factuality.
    • Results: Cohen's κ is 0.79, mean score 0.95; after removing 17 abstentions it is 1.145. 71% received a score of 1 or higher from both annotators (37% received 2).
    • Authors' interpretation: The authors state that these generations still have some detail but are overall vaguer than the baseline; vagueness is another strategy for improving factuality relative to direct abstention. The appendix does not give the same ratings for the baseline.

    Other Ablations and Analyses

    • Table 3: the factuality difference of f_int minus f_ext averaged by entity frequency quartile; for Llama-2, Plots, Generated, Q1/Q3/Q4 are -0.012, -0.015, -0.007. The authors state that the bottom quartile usually contributes most of the improvement, and Medical is more uniform.
    • The frequency proxy is RedPajama through Infini-gram; the authors write that they do not have the pretraining corpus of the tested models. Figure 4 is a histogram of log frequencies of evaluation words, plain text with no bar heights.
    • Table 9: on Mistral, Bios, claims judged supported by f_int average 5.83 whitespace tokens, f_ext 7.02. The paper states that f_int is shorter in each case, paired t-test p<0.05. Table 8 gives qualitative examples.
    • Appendix F.4 / Table 10: generated data has a higher compression ratio and lower 4-gram diversity, e.g., Mistral Plots Gold+External is CR 2.615, 4GD 2.691, Gen+Internal is 2.981, 2.477. The authors believe the difference is small and unlikely to drive downstream factuality differences.
    • Appendix C.3: after biography synthetic data passes through the evaluation pipeline, Mistral factuality is 94.4%, Llama-2 is 92.7%; of 20 samples with errors, 5 come from hallucinations introduced by merging.
    • Table 6: Minicheck accuracy 0.831, Macro F1 0.827; GPT-4o is 0.843, 0.840. Limitations separately writes 83.10% and 84.31%. Figure 2 caption states that probe F1 peaks in the early middle layers, the chosen layer 15 is marked with a red dashed line, and the main text does not give the F1 at that point.
  5. What are some points that can be further explored?

    The authors note that gold-standard and entailment judgments are incomplete, and the method relies on existing knowledge and may amplify biases.

    Limitations and Future Directions Noted by the Authors

    • Gold definition: Appendix A writes that factuality depends on whether a claim is entailed by the gold document; Wikipedia pages may not contain all the information the model saw during pretraining, and correct claims not supported by the document are hard to handle. The authors state that future work could expand the range of gold documents considered.
    • Entailment function: Appendix A writes that the entailment function is imperfect, and vaguer claims or claims requiring additional reasoning may be misjudged as unsupported. The authors state that developing better and faster entailment models is an important next step.
    • Pipeline errors: Appendix A writes that sentence splitting, atomization, decontextualization, and merging may all introduce new claims or miss claims, and errors propagate downstream. The authors state that in practice these problems are not frequent, but any step can affect results.
    • Without domain knowledge: Section 5 writes that success requires the evaluated model to have knowledge of the tested entities. If it has no knowledge of a domain, the method may reduce hallucination by abstaining on everything, but will not produce useful output.
    • Social bias: Section 5 writes that training on self-generated data may propagate social bias; when the model knows less about certain gender or racial categories in biographies, it may disproportionately learn to abstain. The authors list teaching the model new factual knowledge and mitigating social bias in self-training as future directions.

    Scope of Experiments

    • The main experiments fine-tune and evaluate Mistral-7B-Instruct-v0.2, Llama-2 7B Chat, Gemma 7B Instruction Tuned; data are Bios, Plots, Medical, with sizes in Table 1. Three random seeds per condition, 5 generations per held-out prompt.
    • Comparisons are no additional fine-tuning, and Gold/Gen with f_ext, f_int, random filtering; training samples are length-aligned by the minimum supported atom count p across the four conditions.
    • The cross-domain results in Table 4 come from Mistral-7B-Instruct-v0.2 and Llama-2-7B-Chat: trained on synthetic data from one domain, tested on the other two domains. The authors write that training sample length was not controlled across domains.
    • Appendix H.2 tests Mistral and Llama-2 on the Wikipedia, no-context split of TriviaQA. Appendix H.3 has two annotators rate detail for 100 Mistral biography, EPISTEMIC TRAINING generations, with Cohen's κ of 0.79.
    • The main metric is judged by MiniCheck against the gold documents. The entailment model comparison uses the biography human annotations of about 3000 examples and 100 entities from Min et al. (2023) (Table 6). The paper does not report agreement between MiniCheck and humans on the full main evaluation set; the abstention heuristic is written as manually spot-checked, without an agreement number.
  6. Summarize the main content of the paper

    The authors state that post-training with self-generated claims the model believes to be true improves long-form factuality more than using only the gold standard.

    The authors study post-training data for long-form generation: how much gold-standard text should be used so that models produce fewer factual errors.

    • Problem: Hallucinations in long-form text can be partially correct and accumulate with generation. Prior work on short-answer questions suggests that correct but unfamiliar knowledge may increase hallucination. This paper asks whether long-form fine-tuning also relies more on the model's existing beliefs rather than the gold-standard facts themselves.
    • Method: Data comes from gold-standard documents or model self-generation (10 per entity). Claims are split into atoms, then filtered with MiniCheck against the gold standard, or with a logistic regression probe on intermediate-layer hidden states. EPISTEMIC TRAINING is self-generation plus an internal probe. Remaining claims are merged, length-controlled by shortest condition, then fine-tuned with LoRA. Evaluation still uses MiniCheck and the gold standard, reporting factuality, detail, and refusal rate.
    • Main results: In Table 2, across three models on Bios, Plots, and Medical, Dgen+f_int achieves the highest factuality, e.g., Mistral's Bios is 76.6%, Plots 70.9%, Medical 68.8%, Llama-2's Bios 65.9%. The authors state an improvement of 12–30 percentage points over training only on gold-standard data. Gemma and Llama-2 on Plots with Gold+f_ext are 21.4 and 25.8, below no fine-tuning's 28.7 and 47.4.
    • Cost and transfer: Detail is much lower than no fine-tuning, and refusal generally increases. Randomly deleting claims can also be above no fine-tuning, but the authors state it is below factuality-based filtering. Cross-domain training can improve factuality in another domain, but the authors state in-domain is better; on TriviaQA, internal filtering is slightly lower than external (Mistral 0.710 vs. 0.729).
    • Authors' conclusion: Post-training can use less gold standard and instead use self-generated claims the model believes to be true; this factuality can transfer across domains. The authors also leave as future work the incomplete gold-standard coverage, entailment errors, refusal without domain knowledge, and the possibility that self-training amplifies social biases.
Read originalarxiv.org