Zero-resource Hallucination Detection for Text Generation via Graph-based Contextual Knowledge Triples Modeling

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Fang, Xinyue, Huang, Zhen, Tian, Zhiliang, Fang, Minghui, Pan, Ziyi, Fang, Quntian, Wen, Zhihua, Pan, Hengyue, Li, Dongsheng
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866916645489868800
author Fang, Xinyue
Huang, Zhen
Tian, Zhiliang
Fang, Minghui
Pan, Ziyi
Fang, Quntian
Wen, Zhihua
Pan, Hengyue
Li, Dongsheng
author_facet Fang, Xinyue
Huang, Zhen
Tian, Zhiliang
Fang, Minghui
Pan, Ziyi
Fang, Quntian
Wen, Zhihua
Pan, Hengyue
Li, Dongsheng
contents LLMs obtain remarkable performance but suffer from hallucinations. Most research on detecting hallucination focuses on the questions with short and concrete correct answers that are easy to check the faithfulness. Hallucination detections for text generation with open-ended answers are more challenging. Some researchers use external knowledge to detect hallucinations in generated texts, but external resources for specific scenarios are hard to access. Recent studies on detecting hallucinations in long text without external resources conduct consistency comparison among multiple sampled outputs. To handle long texts, researchers split long texts into multiple facts and individually compare the consistency of each pairs of facts. However, these methods (1) hardly achieve alignment among multiple facts; (2) overlook dependencies between multiple contextual facts. In this paper, we propose a graph-based context-aware (GCA) hallucination detection for text generations, which aligns knowledge facts and considers the dependencies between contextual knowledge triples in consistency comparison. Particularly, to align multiple facts, we conduct a triple-oriented response segmentation to extract multiple knowledge triples. To model dependencies among contextual knowledge triple (facts), we construct contextual triple into a graph and enhance triples' interactions via message passing and aggregating via RGCN. To avoid the omission of knowledge triples in long text, we conduct a LLM-based reverse verification via reconstructing the knowledge triples. Experiments show that our model enhances hallucination detection and excels all baselines.
format Preprint
id arxiv_https___arxiv_org_abs_2409_11283
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Zero-resource Hallucination Detection for Text Generation via Graph-based Contextual Knowledge Triples Modeling
Fang, Xinyue
Huang, Zhen
Tian, Zhiliang
Fang, Minghui
Pan, Ziyi
Fang, Quntian
Wen, Zhihua
Pan, Hengyue
Li, Dongsheng
Computation and Language
Artificial Intelligence
LLMs obtain remarkable performance but suffer from hallucinations. Most research on detecting hallucination focuses on the questions with short and concrete correct answers that are easy to check the faithfulness. Hallucination detections for text generation with open-ended answers are more challenging. Some researchers use external knowledge to detect hallucinations in generated texts, but external resources for specific scenarios are hard to access. Recent studies on detecting hallucinations in long text without external resources conduct consistency comparison among multiple sampled outputs. To handle long texts, researchers split long texts into multiple facts and individually compare the consistency of each pairs of facts. However, these methods (1) hardly achieve alignment among multiple facts; (2) overlook dependencies between multiple contextual facts. In this paper, we propose a graph-based context-aware (GCA) hallucination detection for text generations, which aligns knowledge facts and considers the dependencies between contextual knowledge triples in consistency comparison. Particularly, to align multiple facts, we conduct a triple-oriented response segmentation to extract multiple knowledge triples. To model dependencies among contextual knowledge triple (facts), we construct contextual triple into a graph and enhance triples' interactions via message passing and aggregating via RGCN. To avoid the omission of knowledge triples in long text, we conduct a LLM-based reverse verification via reconstructing the knowledge triples. Experiments show that our model enhances hallucination detection and excels all baselines.
title Zero-resource Hallucination Detection for Text Generation via Graph-based Contextual Knowledge Triples Modeling
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2409.11283