Fine-tuning Language Models for Factuality

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

Soumis à arXiv le 14 Nov. 2023
Licence : CC BY 4.0
Résumé scientifique

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.

Les articles autour de lui, par date et par proximité

Plus haut, c’est plus proche de cet article ; à gauche, c’est plus ancien. Les traits relient les articles proches entre eux : les groupes de traits sont des sous-thèmes. Sélectionnez un point pour voir pourquoi il est là. Retour au résumé de cet article

Comment lire cette carte ? Guide illustré

Les articles les plus proches Les travaux antérieurs sur lesquels il s’appuie Les articles qui le citent

Les articles autour de celui-ci

Classés selon la proximité de leur titre et de leur résumé avec ceux de cet article. Sélectionnez-en pour les lire ensemble.

Les articles les plus proches

  1. Très proche
    Long-form factuality in large language models
    Jerry Wei, Chengrun Yang, Xinying Song et al. · 2024 · Computation and Language · cité 192 fois · Résumé IA disponible
    Résumé scientifique

    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. Très proche Cite cet article
    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 · cité 126 fois · Pas encore résumé
    Résumé scientifique

    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. Très proche Cite cet article Utilise cet article en profondeur
    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 · cité 129 fois · Pas encore résumé
    Résumé scientifique

    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. Très proche
    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 · cité 59 fois · Pas encore résumé
    Résumé scientifique

    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. Très proche Cite cet article
    The Curious Case of Factuality Finetuning: Models' Internal Beliefs Can Improve Factuality
    Benjamin Newman, Abhilasha Ravichander, Jaehun Jung et al. · 2025 · arXiv.org · preprint, non relu par les pairs · cité 3 fois · Pas encore résumé
    Résumé scientifique

    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. Très proche
    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 · cité 68 fois · Pas encore résumé
    Résumé scientifique

    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. Très proche
    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 · cité 34 fois · Pas encore résumé
    Résumé scientifique

    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. Très proche
    Minimizing Factual Inconsistency and Hallucination in Large Language Models
    Muneeswaran Irulandi, Shreya Saxena, Siva Prasad et al. · 2023 · arXiv.org · preprint, non relu par les pairs · cité 10 fois · Pas encore résumé
    Résumé scientifique

    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…

Les travaux antérieurs sur lesquels il s’appuie

  1. Proche Utilisé en profondeur par cet article
    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 · cité 1 948 fois · Pas encore résumé
    Résumé scientifique

    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. Très proche
    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, non relu par les pairs · cité 562 fois · Résumé IA disponible
    Résumé scientifique

    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. Proche
    Chain-of-Verification Reduces Hallucination in Large Language Models
    Shehzaad Dhuliawala, Mojtaba Komeili, Jing Xu et al. · 2023 · Computation and Language · cité 659 fois · Résumé IA disponible
    Résumé scientifique

    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. Proche
    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 · cité 499 fois · Pas encore résumé
    Résumé scientifique

    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. Proche
    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 · cité 1 634 fois · Pas encore résumé
    Résumé scientifique

    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…

Les articles qui le citent

  1. Très proche Utilise cet article en profondeur
    Learning to Reason for Factuality
    Xi-Lun Chen, Ilia Kulikov, Vincent-Pierre Berges et al. · 2025 · arXiv.org · preprint, non relu par les pairs · cité 24 fois · Pas encore résumé
    Résumé scientifique

    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. Très proche Utilise cet article en profondeur
    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 · cité 20 fois · Pas encore résumé
    Résumé scientifique

    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. Très proche Utilise cet article en profondeur
    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 · cité 4 fois · Pas encore résumé
    Résumé scientifique

    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. Très proche
    FactAlign: Long-form Factuality Alignment of Large Language Models
    Chao-Wei Huang, Yun-Nung Chen · 2024 · Conference on Empirical Methods in Natural Language Processing · cité 18 fois · Pas encore résumé
    Résumé scientifique

    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. Très proche
    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 · cité 42 fois · Pas encore résumé
    Résumé scientifique

    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…

Comment ces articles sont-ils trouvés ?

Nous comparons le titre et le résumé de cet article avec ceux de tous les articles résumés sur ce site, et avec les articles que Semantic Scholar recommande, ceux qu’il cite et ceux qui le citent (pour un article très cité, ses citations les plus récentes et, depuis OpenAlex, les plus citées). Parmi les travaux antérieurs et les suites, les articles qui s’utilisent en profondeur, une méthode qu’il utilise et les suites très citées remontent un peu. Les niveaux (très proche, proche, apparenté) viennent de la similarité des textes, pas d’un jugement de qualité ; * signale un article sans résumé, comparé par son titre. La phrase sous un article est écrite par une IA à partir des deux résumés : vérifiez-la dans les articles. Un article jugé hors sujet par trois lecteurs quitte la liste.

Mis à jour le 4 novembre 2026.

Le guide illustré des articles autour d’un article