A Probabilistic Framework for LLM Hallucination Detection via Belief Tree Propagation

التفاصيل البيبلوغرافية
العنوان: A Probabilistic Framework for LLM Hallucination Detection via Belief Tree Propagation
المؤلفون: Hou, Bairu, Zhang, Yang, Andreas, Jacob, Chang, Shiyu
سنة النشر: 2024
المجموعة: Computer Science
مصطلحات موضوعية: Computer Science - Computation and Language
الوصف: 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.
Comment: 26 pages, 18 figures
نوع الوثيقة: Working Paper
URL الوصول: http://arxiv.org/abs/2406.06950
رقم الأكسشن: edsarx.2406.06950
قاعدة البيانات: arXiv