Introduction
Large Language Models (LLMs) are increasingly used for information retrieval and content generation, yet they frequently struggle with factual accuracy. This research investigates the fundamental tension between creativity and truth, identifying a core trade-off: decoding strategies that prioritize diverse, non-repetitive text often do so at the expense of factuality. Specifically, the paper identifies two primary failure modes: the "Babbler" problem, where sampling-based strategies generate engaging but hallucinatory text, and the "Broken Record" problem, where likelihood-based strategies like Beam Search produce factual but repetitive content.
Methodology
To quantify "verifiability"—the degree to which generated claims are supported by a reliable knowledge base—the authors developed an automated pipeline. This system prompts models with Wikipedia prefixes, processes the generated text into standalone claims via coreference resolution, and verifies these claims using a fact-checking system trained on the FEVER dataset.
Central to this study is the introduction of Delayed Beam Search (DELAYEDBS). This hybrid strategy attempts to bridge the gap between sampling and beam search by injecting randomness at the beginning of a sentence (the first $L$ tokens) to ensure variety, before switching to standard Beam Search to maintain factual consistency for the remainder of the sequence.
Key Results: The Factuality-Repetition Trade-off
The evaluation utilized metrics such as Unique Supports Per Generation (USPG) and Unique Supports Per unique Verified (USPV). The results confirmed a clear inverse relationship between text diversity and truthfulness.
- Beam Search (BS): Remained the "truth king," achieving the highest precision for factual statements but suffering from the lowest diversity scores (4-gram proportion ~26%).
- Sampling (Top-k/Top-p): Provided high diversity (4-gram proportion ~61-64%) but significantly lower verifiability (SPG ~13%).
- Delayed Beam Search (DBS): Successfully balanced these competing goals. It nearly doubled the distinct 4-grams of standard Beam Search while maintaining a high verifiability score (USPG 12.74), outperforming standard sampling methods.
- n-gram Blocking ($BS_b$): Interestingly, simply preventing the model from repeating phrases proved to be a powerful baseline, achieving the highest USPG (15.28) by forcing the model to find novel factual expressions.
Furthermore, the choice of training data played a significant role. Models trained on the CCNews corpus generally exhibited better verifiability than those trained on Wikipedia itself, likely due to the larger and more varied factual assertions present in news data.
Discussion and Future Work
While the automated pipeline provides a robust framework for relative comparisons, it is limited by the recall of the fact-checker and a strict reliance on Wikipedia as the sole source of truth. Future research could expand this analysis to complex, multi-claim sentences and long-form narrative consistency. The study underscores that stochasticity in specific token positions—such as the middle of a named entity—is a primary driver of hallucinations, suggesting that more surgical interventions in the decoding process could further enhance the reliability of LLMs.
Summary updated