Skip to main content
QUICK REVIEW

[Paper Review] Rome was built in 1776: A Case Study on Factual Correctness in Knowledge-Grounded Response Generation

Sashank Santhanam, Behnam Hedayatnia|arXiv (Cornell University)|Oct 11, 2021
Topic ModelingComputer Science22 citations
TL;DR

This paper proposes a human-annotated framework to classify knowledge-grounded dialog responses into non-verifiable, factually consistent, and hallucinated types, and introduces Conv-FEVER, a synthetic dataset for training factual consistency detectors. Trained on Conv-FEVER, the detector achieves strong performance in identifying factually inconsistent responses, especially when grounded in accurate knowledge, demonstrating the value of curated training data for factual consistency in dialogue systems.

ABSTRACT

Recently neural response generation models have leveraged large pre-trained transformer models and knowledge snippets to generate relevant and informative responses. However, this does not guarantee that generated responses are factually correct. In this paper, we examine factual correctness in knowledge-grounded neural response generation models. We present a human annotation setup to identify three different response types: responses that are factually consistent with respect to the input knowledge, responses that contain hallucinated knowledge, and non-verifiable chitchat style responses. We use this setup to annotate responses generated using different stateof-the-art models, knowledge snippets, and decoding strategies. In addition, to facilitate the development of a factual consistency detector, we automatically create a new corpus called Conv-FEVER that is adapted from the Wizard of Wikipedia dataset and includes factually consistent and inconsistent responses. We demonstrate the benefit of our Conv-FEVER dataset by showing that the models trained on this data perform reasonably well to detect factually inconsistent responses with respect to the provided knowledge through evaluation on our human annotated data. We will release the Conv-FEVER dataset and the human annotated responses.

Motivation & Objective

  • To investigate factual correctness in knowledge-grounded neural response generation, where models may generate factually inconsistent responses despite using retrieved knowledge.
  • To develop a human-annotated benchmark to distinguish non-verifiable, factually consistent, and hallucinated responses in open-domain dialogues.
  • To create a synthetic dataset, Conv-FEVER, by combining real dialog responses with automatically generated inconsistent responses for training factual consistency detectors.
  • To evaluate the effectiveness of the detector on human-annotated data and demonstrate its generalization across different model architectures and knowledge retrieval strategies.
  • To enable future work in using factual consistency as feedback for response generation or re-ranking, while distinguishing consistency from world knowledge correctness.

Proposed method

  • Annotate generated responses into three categories: non-verifiable (no verifiable claim), factually consistent (accurate with input knowledge), and hallucinated (inconsistent with input knowledge).
  • Use two annotation setups: one with public crowdworkers (Factual dataset-crowd) and one with internal annotators (Factual dataset-expert) to improve reliability and inter-annotator agreement.
  • Construct Conv-FEVER by combining real responses from the Wizard of Wikipedia dataset with automatically generated inconsistent responses using a fine-tuned GPT2 model.
  • Train a factual consistency detector using BERT-base on Conv-FEVER, leveraging sentence pair encoding to compare knowledge and response representations.
  • Evaluate the detector on human-annotated data using F1 scores, comparing performance across different model sizes, decoding strategies, and knowledge retrieval configurations.
  • Apply Krippendorff’s alpha to measure inter-annotator agreement and use a threshold-based labeling (≥0.5 for consistent, <0.5 for inconsistent) to standardize predictions.

Experimental results

Research questions

  • RQ1How do state-of-the-art knowledge-grounded response generation models perform in terms of factual consistency when grounded in retrieved knowledge?
  • RQ2To what extent can a factual consistency detector trained on Conv-FEVER detect hallucinated responses in open-domain dialogues?
  • RQ3How does the quality of retrieved knowledge affect the factual consistency of generated responses and the performance of the detection model?
  • RQ4What is the impact of model size and decoding strategy on factual consistency, and how does this correlate with detector performance?
  • RQ5Can factual consistency detection be used as a feedback mechanism to improve response generation or re-ranking in dialogue systems?

Key findings

  • 41.6% of generated responses were classified as non-verifiable, indicating a significant proportion of responses do not make claims that can be evaluated for factual accuracy.
  • The factual consistency detector trained on Conv-FEVER achieved competitive F1 scores on human-annotated data, outperforming models trained only on document-level datasets for the consistent class.
  • Inter-annotator agreement on the expert-annotated dataset reached Krippendorff’s alpha of 0.80 for factual consistency and 0.86 for hallucination, indicating substantial to almost perfect agreement.
  • Detector performance improved with larger models and when using ground-truth knowledge, aligning with higher appropriateness scores in response relevance.
  • NLI models outperformed the BERT-based detector on the inconsistent class due to their ability to predict 'not enough info' more frequently, which was mapped to inconsistency.
  • The detector’s performance was consistent across different configurations, showing robustness when responses were generated with nucleus sampling and ground-truth knowledge.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.