Abstract
Large Language Models (LLMs) frequently exhibit a "knowing vs. telling" gap, where they generate factually incorrect responses despite possessing the correct information within their internal weights. This paper introduces a Self-Alignment for Factuality framework designed to bridge this gap. By enabling models to identify their own inaccuracies through self-evaluation and fine-tuning via Direct Preference Optimization (DPO), the framework significantly reduces hallucinations without requiring expensive human-annotated data.
Introduction
A persistent challenge in LLM development is the phenomenon of hallucinations—responses that are fluent but factually wrong. Traditional mitigation strategies often rely on Reinforcement Learning from Human Feedback (RLHF), which is resource-intensive and difficult to scale. The proposed framework shifts the burden of alignment from humans to the model itself, leveraging the insight that LLMs are often better at evaluating the factuality of a statement than generating a truthful one from scratch.
Methodology
The researchers propose a three-step pipeline for self-alignment that utilizes the model's internal knowledge to refine its output policy.
1. Response Sampling
For any given prompt, the model generates multiple candidate responses. This diversity allows the framework to compare high-factuality outputs against those containing hallucinations.
2. Factuality Estimation (SELF-EVAL)
To evaluate long-form text, the model decomposes responses into "atomic claims." Each claim is converted into a question, which the model then answers based on its internal knowledge.
Crucially, the authors identify a Calibration Bottleneck: raw LLMs are often overconfident in their errors. To address this, they implement SK-TUNING (Self-Knowledge Tuning). The model is pre-calibrated on a large set of True/False questions derived from Wikipedia, ensuring its confidence scores accurately reflect the probability of factual correctness.
3. DPO Alignment
Using the factuality scores from the evaluation phase, the model ranks its own generated responses. It then applies Direct Preference Optimization (DPO) to fine-tune its policy, learning to prefer truthful claims over hallucinated ones.
Experimental Results
The framework was evaluated across several knowledge-intensive tasks, demonstrating significant improvements in factual precision:
- TruthfulQA: Llama-7B’s accuracy in multiple-choice question answering improved from 25.60% to 45.48%.
- BioGEN: In long-form biography generation, the FActScore (a metric for factual precision) increased by approximately 8% for Llama-7B and 6% for Llama2-7B.
- Comparative Performance: The self-alignment method outperformed existing techniques such as Inference-time Intervention (ITI) and Decoding by Contrasting Layers (DoLa), which require more complex runtime interventions.
Discussion and Insights
A key finding is that Self-Evaluation is inherently easier than Generation. By breaking down complex responses into testable units, the model acts as its own fact-checker. Furthermore, this method demonstrates that internal knowledge is often sufficient for alignment; unlike Retrieval-Augmented Generation (RAG), this framework does not require external internet access to improve truthfulness.
Limitations and Future Work
While effective for 7B-parameter models, future research is needed to determine how this scales to larger architectures (e.g., 70B+) and how it interacts with models already tuned via RLHF. Additionally, if a model lacks the necessary information entirely, self-evaluation cannot fill that void. Future iterations may focus on teaching models to express uncertainty or state "I don't know" when internal confidence is low.
Summary updated