SAC3: Reliable Hallucination Detection in Black-Box Language Models via Semantic-aware Cross-check Consistency
Jiaxin Zhang, Zhuohang Li, Kamalika Das, Bradley A. Malin, Sricharan Kumar
TL;DR
This paper shows that relying solely on self-consistency to detect language model hallucinations is insufficient, revealing both question-level and model-level failure modes. It introduces SAC3, a semantic-aware cross-checking framework that combines semantically equivalent question perturbations with cross-model verifier checks, organized into three stages and a composite scoring system. Across classification and open-domain QA benchmarks, SAC3 significantly outperforms self-consistency baselines, delivering high AUROC and robust performance under varying thresholds and model types. The approach offers a practical, parallelizable method for improving factuality assessments of black-box LMs with potential for broad application in QA and generation tasks.
Abstract
Hallucination detection is a critical step toward understanding the trustworthiness of modern language models (LMs). To achieve this goal, we re-examine existing detection approaches based on the self-consistency of LMs and uncover two types of hallucinations resulting from 1) question-level and 2) model-level, which cannot be effectively identified through self-consistency check alone. Building upon this discovery, we propose a novel sampling-based method, i.e., semantic-aware cross-check consistency (SAC3) that expands on the principle of self-consistency checking. Our SAC3 approach incorporates additional mechanisms to detect both question-level and model-level hallucinations by leveraging advances including semantically equivalent question perturbation and cross-model response consistency checking. Through extensive and systematic empirical analysis, we demonstrate that SAC3 outperforms the state of the art in detecting both non-factual and factual statements across multiple question-answering and open-domain generation benchmarks.
