Localizing Factual Inconsistencies in Attributable Text Generation

Arie Cattan, Paul Roit, Shiyue Zhang, David Wan, Roee Aharoni +3 more
10/9/2024
cs.CL

No official code found. Best implementation: ariecattan/qasem_consistency (0 stars, Apache-2.0, last commit 2025-07-31).

Abstract

There has been an increasing interest in detecting hallucinations in model-generated texts, both manually and automatically, at varying levels of granularity. However, most existing methods fail to precisely pinpoint the errors. In this work, we introduce QASemConsistency, a new formalism for localizing factual inconsistencies in attributable text generation, at a fine-grained level. Drawing inspiration from Neo-Davidsonian formal semantics, we propose decomposing the generated text into minimal predicate-argument level propositions, expressed as simple question-answer (QA) pairs, and assess whether each individual QA pair is supported by a trusted reference text. As each QA pair corresponds to a single semantic relation between a predicate and an argument, QASemConsistency effectively localizes the unsupported information. We first demonstrate the effectiveness of the QASemConsistency methodology for human annotation, by collecting crowdsourced annotations of granular consistency errors, while achieving a substantial inter-annotator agreement. This benchmark includes more than 3K instances spanning various tasks of attributable text generation. We also show that QASemConsistency yields factual consistency scores that correlate well with human judgments. Finally, we implement several methods for automatically detecting localized factual inconsistencies, with both supervised entailment models and LLMs.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Code + dataset for the paper: Localizing Factual Inconsistencies in Attributable Text Generation

00Sep 15, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{cattan2024localizing,
  title  = {Localizing Factual Inconsistencies in Attributable Text Generation},
  author = {Arie Cattan and Paul Roit and Shiyue Zhang and David Wan and Roee Aharoni and Idan Szpektor and Mohit Bansal and Ido Dagan},
  year   = {2024},
  eprint = {2410.07473},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.07473v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.07473.svg)](https://codeofpaper.com/paper/2410.07473)

Discussion