CLJun 11, 2024

A Probabilistic Framework for LLM Hallucination Detection via Belief Tree Propagation

arXiv:2406.06950v225 citationsHas Code
AI Analysis

This addresses hallucination detection in LLMs, an incremental improvement over existing self-consistency methods by better structuring statements and using continuous beliefs.

The paper tackles LLM hallucination detection by proposing Belief Tree Propagation (BTProp), a probabilistic framework that structures logically related statements into belief trees and integrates continuous belief scores via a hidden Markov tree model, achieving 3%-9% improvements over baselines on multiple benchmarks.

This paper focuses on the task of hallucination detection, which aims to determine the truthfulness of LLM-generated statements. To address this problem, a popular class of methods utilize the LLM's self-consistencies in its beliefs in a set of logically related augmented statements generated by the LLM, which does not require external knowledge databases and can work with both white-box and black-box LLMs. However, in many existing approaches, the augmented statements tend to be very monotone and unstructured, which makes it difficult to integrate meaningful information from the LLM beliefs in these statements. Also, many methods work with the binarized version of the LLM's belief, instead of the continuous version, which significantly loses information. To overcome these limitations, in this paper, we propose Belief Tree Propagation (BTProp), a probabilistic framework for LLM hallucination detection. BTProp introduces a belief tree of logically related statements by recursively decomposing a parent statement into child statements with three decomposition strategies, and builds a hidden Markov tree model to integrate the LLM's belief scores in these statements in a principled way. Experiment results show that our method improves baselines by 3%-9% (evaluated by AUROC and AUC-PR) on multiple hallucination detection benchmarks. Code is available at https://github.com/UCSB-NLP-Chang/BTProp.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes