Introduction: The Challenge of Hallucination
Large Language Models (LLMs) frequently suffer from "hallucinations," generating information that is factually incorrect or unsupported by the source context. While techniques like "Self-Consistency" have successfully mitigated this in tasks with discrete answers (e.g., multiple-choice math problems), they are difficult to apply to open-response tasks like summarization, where there is no single "correct" string to aggregate via majority vote.
This research addresses the problem by leveraging a key intuition: while an LLM is an unreliable narrator, it is inconsistently unreliable. Hallucinations tend to vary across different stochastic samples, whereas factual truths are more likely to remain consistent. The authors propose a novel decoding strategy called Sample & Select to extract this consensus factuality during the generation process.
The Sample & Select Methodology
Unlike standard decoding methods that generate a full response in a single pass, Sample & Select operates iteratively on a sentence-by-sentence basis. This approach ensures that each factual step is verified before the model proceeds to the next.
The process follows four distinct steps:
- Sampling: The LLM generates $n$ candidate sentences (typically $n=5$) using nucleus sampling.
- Grammar Filtering: Candidates are passed through a lightweight grammar check to ensure basic structural integrity (e.g., containing a subject and a verb).
- Scoring (Consensus Voting): Each candidate is scored based on "token overlap" with the other candidates. This acts as a proxy for consensus; details appearing in multiple samples are deemed more likely to be factual.
- Selection & Re-conditioning: The highest-scoring sentence is selected and appended to the prompt. Crucially, the model is then re-conditioned on this specific choice to generate the subsequent sentence.
Ablation studies confirmed that this "re-conditioning" is essential. Without it—a method termed "Independent" selection—the coherence and factuality of the overall output drop significantly because the model loses the specific factual path established in previous sentences.
Experimental Evaluation
The strategy was evaluated using Llama 2 (13B chat) and Mistral-7B-Instruct-v0.2 across two primary benchmarks:
- CNN/Daily Mail: Standard news summarization.
- XSum: Extreme abstractive summarization.
- FRANK Benchmark: A subset of the above datasets featuring human-verified factuality labels.
Key Results and Performance
The Sample & Select method demonstrated a significant leap in factuality metrics without compromising general summary quality (as measured by ROUGE-1 scores).
As shown in the results for the CNN/DM dataset, Sample & Select achieved a SummaC (NLI-based factuality metric) score of .619 with Llama 2, representing a 30% relative improvement over standard greedy decoding (.447) and specialized methods like DoLa (.436). Human validation further supported these findings, with Sample & Select summaries receiving the highest "No Error" rate (.747) and the lowest "Unsupported" rate (.046) among all tested strategies.
Conclusion and Future Directions
Sample & Select offers a computationally efficient way to improve LLM factuality by using simple token-level statistics rather than expensive external evaluator models. While highly effective for grounded tasks like summarization, the authors note that the method's reliance on sentence segmentation and its heuristic nature for less "grounded" creative tasks remain areas for future exploration. Nonetheless, it represents a major step forward in making LLM outputs reliable enough for real-world deployment.
Summary updated