Hallucination Detection: Robustly Discerning Reliable Answers in Large Language Models

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Chen, Yuyan, Fu, Qiang, Yuan, Yichen, Wen, Zhihao, Fan, Ge, Liu, Dayiheng, Zhang, Dongmei, Li, Zhixu, Xiao, Yanghua
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866914859462950912
author Chen, Yuyan
Fu, Qiang
Yuan, Yichen
Wen, Zhihao
Fan, Ge
Liu, Dayiheng
Zhang, Dongmei
Li, Zhixu
Xiao, Yanghua
author_facet Chen, Yuyan
Fu, Qiang
Yuan, Yichen
Wen, Zhihao
Fan, Ge
Liu, Dayiheng
Zhang, Dongmei
Li, Zhixu
Xiao, Yanghua
contents Large Language Models (LLMs) have gained widespread adoption in various natural language processing tasks, including question answering and dialogue systems. However, a major drawback of LLMs is the issue of hallucination, where they generate unfaithful or inconsistent content that deviates from the input source, leading to severe consequences. In this paper, we propose a robust discriminator named RelD to effectively detect hallucination in LLMs' generated answers. RelD is trained on the constructed RelQA, a bilingual question-answering dialogue dataset along with answers generated by LLMs and a comprehensive set of metrics. Our experimental results demonstrate that the proposed RelD successfully detects hallucination in the answers generated by diverse LLMs. Moreover, it performs well in distinguishing hallucination in LLMs' generated answers from both in-distribution and out-of-distribution datasets. Additionally, we also conduct a thorough analysis of the types of hallucinations that occur and present valuable insights. This research significantly contributes to the detection of reliable answers generated by LLMs and holds noteworthy implications for mitigating hallucination in the future work.
format Preprint
id arxiv_https___arxiv_org_abs_2407_04121
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Hallucination Detection: Robustly Discerning Reliable Answers in Large Language Models
Chen, Yuyan
Fu, Qiang
Yuan, Yichen
Wen, Zhihao
Fan, Ge
Liu, Dayiheng
Zhang, Dongmei
Li, Zhixu
Xiao, Yanghua
Computation and Language
Artificial Intelligence
Large Language Models (LLMs) have gained widespread adoption in various natural language processing tasks, including question answering and dialogue systems. However, a major drawback of LLMs is the issue of hallucination, where they generate unfaithful or inconsistent content that deviates from the input source, leading to severe consequences. In this paper, we propose a robust discriminator named RelD to effectively detect hallucination in LLMs' generated answers. RelD is trained on the constructed RelQA, a bilingual question-answering dialogue dataset along with answers generated by LLMs and a comprehensive set of metrics. Our experimental results demonstrate that the proposed RelD successfully detects hallucination in the answers generated by diverse LLMs. Moreover, it performs well in distinguishing hallucination in LLMs' generated answers from both in-distribution and out-of-distribution datasets. Additionally, we also conduct a thorough analysis of the types of hallucinations that occur and present valuable insights. This research significantly contributes to the detection of reliable answers generated by LLMs and holds noteworthy implications for mitigating hallucination in the future work.
title Hallucination Detection: Robustly Discerning Reliable Answers in Large Language Models
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2407.04121