On A Scale From 1 to 5: Quantifying Hallucination in Faithfulness Evaluation
Xiaonan Jing, Srinivas Billa, Danny Godbout
TL;DR
This work tackles measuring hallucination in guided NLG by proposing automated faithfulness evaluation through two complementary approaches: rubric-based LLM scoring and NLI-based entailment evaluation, augmented with synthetic hallucination data. The authors compare multiple LLMs and NLI models across four travel-domain datasets, showing that GPT-4 offers the strongest zero-shot faithfulness judgments while synthetic data can substantially boost NLI performance; they additionally introduce a percentile hallucination metric to visualize sensitivity. A key practical outcome is guidance on deploying faithful NLG systems, highlighting the trade-offs between accuracy, latency, and cost, and proposing a two-stage evaluation workflow. The study also discusses limitations and directions for rubric refinement and broader domain generalization.
Abstract
Hallucination has been a popular topic in natural language generation (NLG). In real-world applications, unfaithful content can result in poor data quality or loss of trust from end users. Thus, it is crucial to fact-check before adopting NLG for production usage, which can be expensive if done manually. In this paper, we investigate automated faithfulness evaluation in guided NLG. We developed a rubric template and used large language models (LLMs) to score the generation on quantifiable scales. We compared popular LLMs as well as widely adopted natural language inference (NLI) models in scoring quality and sensitivity. In addition, we developed methods for the generation of synthetic unfaithful data, as well as heuristics to quantify the percentage of hallucination. Our results on 4 travel-domain industry dataset show that GPT-4 can provide accurate judgement and explanation of whether a source and a generation are factually consistent. Furthermore, we found that tuning NLI models on synthetic data can improve performance. Lastly, we present insights on the latency and cost of deploying such a system.
