Fine-tuning Language Models for Factuality

Authors: Katherine Tian, Eric Mitchell, Huaxiu Yao, Christopher D. Manning, Chelsea Finn

Submitted to arXiv on 14 Nov. 2023
License: CC BY 4.0
Abstract

The fluency and creativity of large pre-trained language models (LLMs) have led to their widespread use, sometimes even as a replacement for traditional search engines. Yet language models are prone to making convincing but factually inaccurate claims, often referred to as 'hallucinations.' These errors can inadvertently spread misinformation or harmfully perpetuate misconceptions. Further, manual fact-checking of model responses is a time-consuming process, making human factuality labels expensive to acquire. In this work, we fine-tune language models to be more factual, without human labeling and targeting more open-ended generation settings than past work. We leverage two key recent innovations in NLP to do so. First, several recent works have proposed methods for judging the factuality of open-ended text by measuring consistency with an external knowledge base or simply a large model's confidence scores. Second, the direct preference optimization algorithm enables straightforward fine-tuning of language models on objectives other than supervised imitation, using a preference ranking over possible model responses. We show that learning from automatically generated factuality preference rankings, generated either through existing retrieval systems or our novel retrieval-free approach, significantly improves the factuality (percent of generated claims that are correct) of Llama-2 on held-out topics compared with RLHF or decoding strategies targeted at factuality. At 7B scale, compared to Llama-2-chat, we observe 58% and 40% reduction in factual error rate when generating biographies and answering medical questions, respectively.

The papers around it, by date and closeness

Higher is closer to this paper; left is older. Lines join papers close to each other: groups of lines are sub-topics. Select a point to see why it is there. Back to the summary of this paper

How to read this map? Illustrated guide

Closest papers Prior work it builds on Papers that cite it

Papers around this one

Ranked by how close their title and abstract are to this paper’s. Select some to read them together.

Closest papers

  1. Very close Same question
    Long-form factuality in large language models
    Jerry Wei, Chengrun Yang, Xinying Song et al. · 2024 · Computation and Language · cited 192 times · AI summary available

    Long-form factuality in large language models benchmarks and evaluates factual accuracy in open-ended generations, while this paper trains models to improve it.

    Abstract

    Large language models (LLMs) often generate content that contains factual errors when responding to fact-seeking prompts on open-ended topics. To benchmark a model's long-form factuality in open domains, we first use GPT-4 to generate LongFact, a prompt set comprising thousands of questions spanning 38 topics. We then propose that LLM agents can be used as automated evaluators for long-form factuality through a method which we call Search-Augmented Factuality Evaluator (SAFE). SAFE utilizes an LLM to break down a long-form response into a set of individual facts and to evaluate the accuracy of each fact using a multi-step reasoning process comprising sending search queries to Google Search a…

  2. Very close Review Cites this paper
    Factuality of Large Language Models: A Survey
    Yu-Xia Wang, Ming-Han Wang, Muhammad Arslan Manzoor et al. · 2024 · Conference on Empirical Methods in Natural Language Processing · cited 126 times · Not summarized yet

    Factuality of Large Language Models: A Survey reviews research on evaluating and improving LLM factuality, including this paper.

    Abstract

    Large language models (LLMs), especially when instruction-tuned for chat, have become part of our daily lives, freeing people from the process of searching, extracting, and integrating information from multiple sources by offering a straightforward answer to a variety of questions in a single place. Unfortunately, in many cases, LLM responses are factually incorrect, which limits their applicability in real-world scenarios. As a result, research on evaluating and improving the factuality of LLMs has attracted a lot of research attention recently. In this survey, we critically analyze existing work with the aim to identify the major challenges and their associated causes, pointing out to pote…

  3. Very close Another approach to the problem Cites this paper Uses this paper in depth
    Self-Alignment for Factuality: Mitigating Hallucinations in LLMs via Self-Evaluation
    Xiao-Ying Zhang, Baolin Peng, Ye Tian et al. · 2024 · Annual Meeting of the Association for Computational Linguistics · cited 129 times · Not summarized yet

    Self-Alignment for Factuality uses a model’s internal self-evaluation to steer responses toward factuality, rather than automatically generated preference rankings.

    Abstract

    Despite showing increasingly human-like abilities, large language models (LLMs) often struggle with factual inaccuracies, i.e."hallucinations", even when they hold relevant knowledge. To address these hallucinations, current approaches typically necessitate high-quality human factuality annotations. In this work, we explore Self-Alignment for Factuality, where we leverage the self-evaluation capability of an LLM to provide training signals that steer the model towards factuality. Specifically, we incorporate Self-Eval, a self-evaluation component, to prompt an LLM to validate the factuality of its own generated responses solely based on its internal knowledge. Additionally, we design Self-Kn…

  4. Very close Review
    Hallucination to truth: a review of fact-checking and factuality evaluation in large language models
    Subhey Sadi Rahman, Md. Adnanul Islam, Md. Mahbub Alam et al. · 2025 · Artificial Intelligence Review · cited 59 times · Not summarized yet

    Hallucination to truth reviews fact-checking and factuality evaluation methods for LLM-generated content.

    Abstract

    Large language models (LLMs) are trained on vast and diverse internet corpora that often include inaccurate or misleading content. Consequently, LLMs can generate misinformation, making robust fact-checking essential. This review systematically analyzes how LLM-generated content is evaluated for factual accuracy by exploring key challenges such as hallucinations, dataset limitations, and the reliability of evaluation metrics. The review emphasizes the need for strong fact-checking frameworks that integrate advanced prompting strategies, domain-specific fine-tuning, and retrieval-augmented generation (RAG) methods. It proposes five research questions that guide the analysis of the recent lite…

  5. Very close Same question Cites this paper
    The Curious Case of Factuality Finetuning: Models' Internal Beliefs Can Improve Factuality
    Benjamin Newman, Abhilasha Ravichander, Jaehun Jung et al. · 2025 · arXiv.org · preprint, not peer reviewed · cited 3 times · Not summarized yet

    The Curious Case of Factuality Finetuning studies how fine-tuning data affects hallucinations in long-form generation, rather than ranking responses by factuality.

    Abstract

    Language models are prone to hallucination - generating text that is factually incorrect. Finetuning models on high-quality factual information can potentially reduce hallucination, but concerns remain; obtaining factual gold data can be expensive and training on correct but unfamiliar data may potentially lead to even more downstream hallucination. What data should practitioners finetune on to mitigate hallucinations in language models? In this work, we study the relationship between the factuality of finetuning data and the prevalence of hallucinations in long-form generation tasks. Counterintuitively, we find that finetuning on factual gold data is not as helpful as finetuning on model-ge…

  6. Very close Broader context
    Language Models Hallucinate, but May Excel at Fact Verification
    Jian Guan, Jesse Dodge, David Wadden et al. · 2023 · North American Chapter of the Association for Computational Linguistics · cited 68 times · Not summarized yet

    Language Models Hallucinate, but May Excel at Fact Verification investigates hallucinations and LLMs as fact verifiers, rather than fine-tuning for factuality.

    Abstract

    Recent progress in natural language processing (NLP) owes much to remarkable advances in large language models (LLMs). Nevertheless, LLMs frequently “hallucinate,” resulting in non-factual outputs. Our carefully-designed human evaluation substantiates the serious hallucination issue, revealing that even GPT-3.5 produces factual outputs less than 25% of the time. This underscores the importance of fact verifiers in order to measure and incentivize progress. Our systematic investigation affirms that LLMs can be repurposed as effective fact verifiers with strong correlations with human judgments. Surprisingly, FLAN-T5-11B , the least factual generator in our study, performs the best as a fact v…

  7. Very close Same question
    FactBench: A Dynamic Benchmark for In-the-Wild Language Model Factuality Evaluation
    Farima Fatahi Bayat, Lechen Zhang, Sheza Munir et al. · 2024 · Annual Meeting of the Association for Computational Linguistics · cited 34 times · Not summarized yet

    FactBench evaluates factuality in real-world LM interactions using web evidence, while this paper seeks to improve generated factuality.

    Abstract

    The rapid adoption of language models (LMs) across diverse applications has raised concerns about their factuality, i.e., their consistency with real-world facts. We first present VERIFY (Verification and Evidence RetrIeval for FactualitY evaluation), a pipeline to evaluate LMs' factuality in real-world user interactions. VERIFY considers the verifiability of LM-generated content and categorizes content units as supported, unsupported, or undecidable based on Web-retrieved evidence. Importantly, factuality judgment by VERIFY correlates better with human evaluations than existing methods. Using VERIFY, we identify"hallucination prompts"across diverse topics, i.e., those eliciting the highest …

  8. Very close Another approach to the problem
    Minimizing Factual Inconsistency and Hallucination in Large Language Models
    Muneeswaran Irulandi, Shreya Saxena, Siva Prasad et al. · 2023 · arXiv.org · preprint, not peer reviewed · cited 10 times · Not summarized yet

    Minimizing Factual Inconsistency and Hallucination uses rationale generation, verification, and refinement to reduce errors, rather than preference fine-tuning.

    Abstract

    Large Language Models (LLMs) are widely used in critical fields such as healthcare, education, and finance due to their remarkable proficiency in various language-related tasks. However, LLMs are prone to generating factually incorrect responses or"hallucinations,"which can lead to a loss of credibility and trust among users. To address this issue, we propose a multi-stage framework that generates the rationale first, verifies and refines incorrect ones, and uses them as supporting references to generate the answer. The generated rationale enhances the transparency of the answer and our framework provides insights into how the model arrived at this answer, by using this rationale and the ref…

Prior work it builds on

  1. Close Groundwork for this paper Used in depth by this paper
    FActScore: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generation
    Sewon Min, Kalpesh Krishna, Xinxi Lyu et al. · 2023 · Conference on Empirical Methods in Natural Language Processing · cited 1,948 times · Not summarized yet

    FActScore measures factual precision by checking atomic claims against knowledge sources, a factuality evaluation approach used to inform this paper’s work.

    Abstract

    Evaluating the factuality of long-form text generated by large language models (LMs) is non-trivial because (1) generations often contain a mixture of supported and unsupported pieces of information, making binary judgments of quality inadequate, and (2) human evaluation is time-consuming and costly. In this paper, we introduce FACTSCORE, a new evaluation that breaks a generation into a series of atomic facts and computes the percentage of atomic facts supported by a reliable knowledge source. We conduct an extensive human evaluation to obtain FACTSCOREs of people biographies generated by several state-of-the-art commercial LMs -- InstructGPT, ChatGPT, and the retrieval-augmented PerplexityA…

  2. Very close Another approach to the problem
    Check Your Facts and Try Again: Improving Large Language Models with External Knowledge and Automated Feedback
    Baolin Peng, Michel Galley, Pengcheng He et al. · 2023 · Computation and Language · preprint, not peer reviewed · cited 562 times · AI summary available

    Check Your Facts and Try Again grounds and revises responses using external knowledge and automated feedback, rather than fine-tuning on factuality preferences.

    Abstract

    Large language models (LLMs), such as ChatGPT, are able to generate human-like, fluent responses for many downstream tasks, e.g., task-oriented dialog and question answering. However, applying LLMs to real-world, mission-critical applications remains challenging mainly due to their tendency to generate hallucinations and inability to use external knowledge.This paper proposes a LLM-Augmenter system, which augments a black-box LLM with a set of plug-and-play modules. Our system makes the LLM generate responses grounded in consolidated external knowledge, e.g., stored in task-specific databases. It also iteratively revises LLM prompts to improve model responses using feedback generated by util…

  3. Close Another approach to the problem
    Chain-of-Verification Reduces Hallucination in Large Language Models
    Shehzaad Dhuliawala, Mojtaba Komeili, Jing Xu et al. · 2023 · Computation and Language · cited 659 times · AI summary available

    Chain-of-Verification reduces hallucinations by having models draft, devise checks, and verify answers, rather than fine-tuning on preference rankings.

    Abstract

    Generation of plausible yet incorrect factual information, termed hallucination, is an unsolved issue in large language models. We study the ability of language models to deliberate on the responses they give in order to correct their mistakes. We develop the Chain-of-Verification (CoVe) method whereby the model first (i) drafts an initial response; then (ii) plans verification questions to fact-check its draft; (iii) answers those questions independently so the answers are not biased by other responses; and (iv) generates its final verified response. In experiments, we show CoVe decreases hallucinations across a variety of tasks, from list-based questions from Wikidata, closed book MultiSpa…

  4. Close Another approach to the problem
    DoLa: Decoding by Contrasting Layers Improves Factuality in Large Language Models
    Yung-Sung Chuang, Yujia Xie, Hong-Yin Luo et al. · 2023 · International Conference on Learning Representations · cited 499 times · Not summarized yet

    DoLa targets factuality through layer-contrast decoding without fine-tuning, one of the decoding approaches this paper compares against.

    Abstract

    Despite their impressive capabilities, large language models (LLMs) are prone to hallucinations, i.e., generating content that deviates from facts seen during pretraining. We propose a simple decoding strategy for reducing hallucinations with pretrained LLMs that does not require conditioning on retrieved external knowledge nor additional fine-tuning. Our approach obtains the next-token distribution by contrasting the differences in logits obtained from projecting the later layers versus earlier layers to the vocabulary space, exploiting the fact that factual knowledge in an LLMs has generally been shown to be localized to particular transformer layers. We find that this Decoding by Contrast…

  5. Close Broader context
    When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memories
    Alex Troy Mallen, Akari Asai, Victor Zhong et al. · 2022 · Annual Meeting of the Association for Computational Linguistics · cited 1,634 times · Not summarized yet

    When Not to Trust Language Models studies factual knowledge recall and retrieval augmentation, addressing knowledge limitations related to factual errors.

    Abstract

    Despite their impressive performance on diverse tasks, large language models (LMs) still struggle with tasks requiring rich world knowledge, implying the difficulty of encoding a wealth of world knowledge in their parameters. This paper aims to understand LMs’ strengths and limitations in memorizing factual knowledge, by conducting large-scale knowledge probing experiments on two open-domain entity-centric QA datasets: PopQA, our new dataset with 14k questions about long-tail entities, and EntityQuestions, a widely used open-domain QA dataset. We find that LMs struggle with less popular factual knowledge, and that retrieval augmentation helps significantly in these cases. Scaling, on the oth…

Papers that cite it

  1. Very close Builds on this paper Uses this paper in depth
    Learning to Reason for Factuality
    Xi-Lun Chen, Ilia Kulikov, Vincent-Pierre Berges et al. · 2025 · arXiv.org · preprint, not peer reviewed · cited 24 times · Not summarized yet

    Learning to Reason for Factuality uses FActScore-derived preference data in offline reinforcement learning and cites this paper.

    Abstract

    Reasoning Large Language Models (R-LLMs) have significantly advanced complex reasoning tasks but often struggle with factuality, generating substantially more hallucinations than their non-reasoning counterparts on long-form factuality benchmarks. However, extending online Reinforcement Learning (RL), a key component in recent R-LLM advancements, to the long-form factuality setting poses several unique challenges due to the lack of reliable verification methods. Previous work has utilized automatic factuality evaluation frameworks such as FActScore to curate preference data in the offline RL setting, yet we find that directly leveraging such methods as the reward in online RL leads to reward…

  2. Very close Builds on this paper Uses this paper in depth
    Improving Model Factuality with Fine-grained Critique-based Evaluator
    Yi-Qing Xie, Wen-Xuan Zhou, Pradyot Prakash et al. · 2024 · Annual Meeting of the Association for Computational Linguistics · cited 20 times · Not summarized yet

    Improving Model Factuality with Fine-grained Critique-based Evaluator uses evaluator feedback to construct training data and cites this paper.

    Abstract

    Factuality evaluation aims to detect factual errors produced by language models (LMs) and hence guide the development of more factual models. Towards this goal, we train a factuality evaluator, FenCE, that provides LM generators with claim-level factuality feedback. We conduct data augmentation on a combination of public judgment datasets to train FenCE to (1) generate textual critiques along with scores and (2) make claim-level judgment based on diverse source documents obtained by various tools. We then present a framework that leverages FenCE to improve the factuality of LM generators by constructing training data. Specifically, we generate a set of candidate responses, leverage FenCE to …

  3. Very close Builds on this paper Uses this paper in depth
    Exploring the Generalizability of Factual Hallucination Mitigation via Enhancing Precise Knowledge Utilization
    Si-Yuan Zhang, Yi-Chi Zhang, Yin-Peng Dong et al. · 2025 · Conference on Empirical Methods in Natural Language Processing · cited 4 times · Not summarized yet

    Exploring the Generalizability of Factual Hallucination Mitigation fine-tunes models on self-generated factual responses and cites this paper.

    Abstract

    Large Language Models (LLMs) often struggle to align their responses with objective facts, resulting in the issue of factual hallucinations, which can be difficult to detect and mislead users without relevant knowledge. Although post-training techniques have been employed to mitigate the issue, existing methods usually suffer from poor generalization and trade-offs in other different capabilities. In this paper, we propose to address these by directly augmenting LLM's fundamental ability to precisely leverage its knowledge and introduce PKUE (Precise Knowledge Utilization Enhancement), which fine-tunes the model on self-generated responses to precise and simple factual questions through pref…

  4. Very close Builds on this paper
    FactAlign: Long-form Factuality Alignment of Large Language Models
    Chao-Wei Huang, Yun-Nung Chen · 2024 · Conference on Empirical Methods in Natural Language Processing · cited 18 times · Not summarized yet

    FactAlign proposes sentence-level factuality alignment for long-form responses and cites this paper.

    Abstract

    Large language models have demonstrated significant potential as the next-generation information access engines. However, their reliability is hindered by issues of hallucination and generating non-factual content. This is particularly problematic in long-form responses, where assessing and ensuring factual accuracy is complex. In this paper, we address this gap by proposing FactAlign, a novel alignment framework designed to enhance the factuality of LLMs' long-form responses while maintaining their helpfulness. We introduce fKTO, a fine-grained, sentence-level alignment algorithm that extends the Kahneman-Tversky Optimization (KTO) alignment method. Leveraging recent advances in automatic f…

  5. Very close Builds on this paper
    Fine-tuning Large Language Models for Improving Factuality in Legal Question Answering
    Yinghao Hu, Leilei Gan, Wenyi Xiao et al. · 2025 · International Conference on Computational Linguistics · cited 42 times · Not summarized yet

    Fine-tuning Large Language Models for Improving Factuality in Legal Question Answering applies iterative preference optimization to legal QA and cites this paper.

    Abstract

    Hallucination, or the generation of incorrect or fabricated information, remains a critical challenge in large language models (LLMs), particularly in high-stake domains such as legal question answering (QA). In order to mitigate the hallucination rate in legal QA, we first introduce a benchmark called LegalHalBench and three automatic metrics to evaluate the common hallucinations when LLMs answer legal questions. We then propose a hallucination mitigation method that integrates behavior cloning and a novel Hard Sample-aware Iterative Direct Preference Optimization (HIPO). We conduct extensive real-data experiments to validate the effectiveness of our approach. Our results demonstrate remark…

How are these papers found?

We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.

Updated on 4 November 2026.

The illustrated guide to the papers around a paper