Fast and Accurate Factual Inconsistency Detection Over Long Documents

Barrett Martin Lattimer, Patrick Chen, Xinyuan Zhang, Yi Yang
10/19/2023
cs.CLcs.AI

No official code found. Best implementation: asappresearch/scale-score (22 stars, last commit 2024-01-05).

Abstract

Generative AI models exhibit remarkable potential; however, hallucinations across various tasks present a significant challenge, particularly for longer inputs that current approaches struggle to address effectively. We introduce SCALE (Source Chunking Approach for Large-scale inconsistency Evaluation), a task-agnostic model for detecting factual inconsistencies using a novel chunking strategy. Specifically, SCALE is a Natural Language Inference (NLI) based model that uses large text chunks to condition over long texts. This approach achieves state-of-the-art performance in factual inconsistency detection for diverse tasks and long inputs. Additionally, we leverage the chunking mechanism and employ a novel algorithm to explain SCALE's decisions through relevant source sentence retrieval. Our evaluations reveal that SCALE outperforms existing methods on both standard benchmarks and a new long-form dialogue dataset ScreenEval we constructed. Moreover, SCALE surpasses competitive systems in efficiency and model explanation evaluations. We have released our code and data publicly to GitHub.

View on arXivView PDF

Code Implementations(1)

221Python, Jupyter NotebookOct 18, 20232 years ago

Similar Papers

Cite this paper

@article{lattimer2023fast,
  title  = {Fast and Accurate Factual Inconsistency Detection Over Long Documents},
  author = {Barrett Martin Lattimer and Patrick Chen and Xinyuan Zhang and Yi Yang},
  year   = {2023},
  eprint = {2310.13189},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.13189v2}
}

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/2310.13189.svg)](https://codeofpaper.com/paper/2310.13189)

Discussion