TL;DR
This survey provides a comprehensive overview of the challenges and solutions related to ensuring the factual accuracy of Large Language Models (LLMs). It critically analyzes existing research on evaluating and improving LLM factuality, highlighting key issues and suggesting future research directions to make LLMs more reliable sources of information.
What Problem Does This Paper Address?
LLMs, while incredibly useful for providing quick answers, often generate factually incorrect information, limiting their trustworthiness in real-world applications. This phenomenon, known as hallucination or factual error, stems from LLMs' inherent nature of learning language distributions rather than factual truths. The paper addresses the critical need to understand, evaluate, and mitigate these factual inaccuracies to unlock the full potential of LLMs as reliable assistants. It aims to bridge the gap in existing surveys by offering an in-depth analysis of recent advancements and fundamental challenges in LLM factuality.
Methods
This survey categorizes existing research into several key areas:
- Evaluation: The paper discusses various methods for evaluating LLM factuality, ranging from human annotation to automated fact-checkers. It highlights the challenges in evaluating open-ended text generation due to the lack of definitive gold standards and the complexity of assessing nuanced factual claims. Datasets are categorized based on the type of answer space and difficulty of automatic quantification.
- Improvement: Strategies for enhancing LLM factuality are explored across different stages of the LLM lifecycle:
- Pre-training: Focuses on curating high-quality training data and using techniques like retrieval augmentation to inject factual knowledge.
- Fine-tuning (SFT) and Reinforcement Learning from Human Feedback (RLHF): Explores methods like knowledge injection, behavioral fine-tuning, and addressing issues like sycophancy to align LLM outputs with factual accuracy.
- Inference: Investigates optimizing decoding strategies (e.g., factual-nucleus sampling) and leveraging techniques like in-context learning (ICL) and self-reasoning (e.g., multi-agent debate) to improve factuality at generation time.
- Retrieval Augmentation (RA): Discusses how integrating external knowledge sources can anchor LLM responses in factual information, both during training and inference.
- Multimodal Factuality: The survey also touches upon factuality in multimodal LLMs, categorizing issues into existence, attribute, and relationship factuality.
Datasets
The paper discusses several datasets used for evaluating LLM factuality, categorizing them into four types:
- Type I: Open-domain, free-form, long-term responses: Examples include FactScore-Bio, HaluEval, and FreshQA. These often rely on human annotation or automated fact-checkers.
- Type II: Yes/No answer: Datasets like Snowball are used for binary classification.
- Type III: Short-term or list of entities answer: Examples include Wiki-category List and Multispan QA, evaluated using exact match or listing metrics.
- Type IV: Multiple Choice QA: Datasets like HotpotQA, StrategyQA, and MMLU are used for multi-class classification.
The paper notes that many Type I datasets are generated by LLMs like ChatGPT, and some are specifically designed for factuality evaluation (e.g., FactScore-Bio, Factool-QA, FELM-WK, HaluEval, FreshQA, SelfAware).
Key Insights and Ideas
- Factuality vs. Hallucination: While often used interchangeably, hallucination refers to content that is baseless or untruthful, not necessarily factually incorrect. Factuality errors are specifically about inaccurate information. An LLM can be factually correct but still hallucinate by being off-topic or overly detailed.
- The Challenge of Open-Ended Generation: Evaluating factuality in free-form text is significantly harder than in multiple-choice or short-answer formats due to the vast output space and lack of definitive correct answers.
- Automated Fact-Checkers are Imperfect: While promising, automated fact-checkers still struggle with accuracy, with even state-of-the-art systems achieving limited F1 scores in identifying false claims. This highlights a "chicken and egg" problem where evaluating fact-checkers themselves is challenging.
- Multimodal Factuality is Emerging: Research is expanding to address factual consistency in LLMs that process images, with specific challenges related to object existence, attributes, and relationships.
- LLMs Learn Distributions, Not Facts: A fundamental challenge is that LLMs are trained to predict the next token based on language distributions, not to explicitly learn and verify factual knowledge.
Key Results
The paper is a survey, so it doesn't present new experimental results. Instead, it synthesizes findings from numerous studies. Key qualitative findings include:
- Instruction-tuned LLMs can generate factually incorrect responses, limiting their utility.
- Various methods exist for improving factuality, spanning pre-training, fine-tuning, and inference-time strategies.
- Retrieval augmentation shows promise in grounding LLM responses in external knowledge.
- Evaluating LLM factuality automatically remains a significant hurdle, especially for long-form, open-ended generations.
Limitations and Future Work
- Limitations:
- The survey acknowledges that despite extensive literature review, some studies might have been omitted due to the rapid evolution of the field.
- The discussion on factuality in vision-language models is brief, suggesting a need for more in-depth exploration.
- Comprehensive discussions on models incorporating other modalities (video, speech) are also needed.
- Future Work:
- Mitigation in Inference: Developing anchors to guide LLM decoding towards factually correct paths, and exploring the effectiveness of iterative detection and correction.
- Better Retrieval Algorithms: Improving retrieval techniques to handle unreliable information (e.g., fake news) and enhance the accuracy of retrieved knowledge for LLMs.
- Efficient and Accurate Fact-Checkers: Developing more robust and cost-efficient fact-checkers, potentially using smaller, task-specific models instead of relying solely on large LLMs like GPT-4.
- Unified Evaluation Framework: The need for a standardized evaluation framework with consistent datasets and metrics to enable fair comparisons across different factuality enhancement methods.
- Multimodal and Cross-Modal Factuality: Further research into factuality in multimodal settings and models that integrate multiple modalities.
Summary updated