KnowHalu: Hallucination Detection via Multi-Form Knowledge Based Factual Checking

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Zhang, Jiawei, Xu, Chejian, Gai, Yu, Lecue, Freddy, Song, Dawn, Li, Bo
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866914740529266688
author Zhang, Jiawei
Xu, Chejian
Gai, Yu
Lecue, Freddy
Song, Dawn
Li, Bo
author_facet Zhang, Jiawei
Xu, Chejian
Gai, Yu
Lecue, Freddy
Song, Dawn
Li, Bo
contents This paper introduces KnowHalu, a novel approach for detecting hallucinations in text generated by large language models (LLMs), utilizing step-wise reasoning, multi-formulation query, multi-form knowledge for factual checking, and fusion-based detection mechanism. As LLMs are increasingly applied across various domains, ensuring that their outputs are not hallucinated is critical. Recognizing the limitations of existing approaches that either rely on the self-consistency check of LLMs or perform post-hoc fact-checking without considering the complexity of queries or the form of knowledge, KnowHalu proposes a two-phase process for hallucination detection. In the first phase, it identifies non-fabrication hallucinations--responses that, while factually correct, are irrelevant or non-specific to the query. The second phase, multi-form based factual checking, contains five key steps: reasoning and query decomposition, knowledge retrieval, knowledge optimization, judgment generation, and judgment aggregation. Our extensive evaluations demonstrate that KnowHalu significantly outperforms SOTA baselines in detecting hallucinations across diverse tasks, e.g., improving by 15.65% in QA tasks and 5.50% in summarization tasks, highlighting its effectiveness and versatility in detecting hallucinations in LLM-generated content.
format Preprint
id arxiv_https___arxiv_org_abs_2404_02935
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle KnowHalu: Hallucination Detection via Multi-Form Knowledge Based Factual Checking
Zhang, Jiawei
Xu, Chejian
Gai, Yu
Lecue, Freddy
Song, Dawn
Li, Bo
Computation and Language
Artificial Intelligence
Machine Learning
This paper introduces KnowHalu, a novel approach for detecting hallucinations in text generated by large language models (LLMs), utilizing step-wise reasoning, multi-formulation query, multi-form knowledge for factual checking, and fusion-based detection mechanism. As LLMs are increasingly applied across various domains, ensuring that their outputs are not hallucinated is critical. Recognizing the limitations of existing approaches that either rely on the self-consistency check of LLMs or perform post-hoc fact-checking without considering the complexity of queries or the form of knowledge, KnowHalu proposes a two-phase process for hallucination detection. In the first phase, it identifies non-fabrication hallucinations--responses that, while factually correct, are irrelevant or non-specific to the query. The second phase, multi-form based factual checking, contains five key steps: reasoning and query decomposition, knowledge retrieval, knowledge optimization, judgment generation, and judgment aggregation. Our extensive evaluations demonstrate that KnowHalu significantly outperforms SOTA baselines in detecting hallucinations across diverse tasks, e.g., improving by 15.65% in QA tasks and 5.50% in summarization tasks, highlighting its effectiveness and versatility in detecting hallucinations in LLM-generated content.
title KnowHalu: Hallucination Detection via Multi-Form Knowledge Based Factual Checking
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2404.02935