Towards Trustworthy Conversational Agents: A New Method for Hallucination Detection in NLG

Conversational agents, powered by Large Language Models (LLMS) have seen significant advancements, enabling them to produce coherent and contextually relevant text. However, a major challenge remains in the form of Hallucination, where the LLMs generate content that is fabricated and factually incorrect. This issue is especially critical in domains that require high factual accuracy, where it is essential to ensure the reliability and trustworthiness of LLM-generated content. This paper provides a novel metric based method towards detection of hallucinations in natural language generation. The method combines three complementary components: Jaccard similarity for entity-level alignment, natural language inference for semantic consistency, and a normalized perplexity measure for fluency. The integration of these components through a weighted average produces a hallucination metric where a high value indicates a potential occurrence of hallucination. This metric increases the reliability of LLM-generated content. The method’s effectiveness is evaluated on benchmark datasets (BEGIN and FEVER), which demonstrates improved performance in hallucination detection. The evaluation results indicate that the proposed method provides a balanced approach to identifying hallucinations, offering a promising solution for more trustworthy conversational agents.

Authors

Institutions

Publication Details

Journal
Procedia Computer Science
Published
2025-01-01
DOI
https://doi.org/10.1016/j.procs.2025.09.651
Primary Topic
Mental Health via Writing
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Towards Trustworthy Conversational Agents: A New Method for Hallucination Detection in NLG

Saiful Anwar Che Ghani, Anne Håkansson, Oleksii Pasichnyi
Procedia Computer Science
Mental Health via Writing
article

Towards Trustworthy Conversational Agents: A New Method for Hallucination Detection in NLG

Saiful Anwar Che Ghani, Anne Håkansson, Oleksii Pasichnyi
article en

Abstract

Conversational agents, powered by Large Language Models (LLMS) have seen significant advancements, enabling them to produce coherent and contextually relevant text. However, a major challenge remains in the form of Hallucination, where the LLMs generate content that is fabricated and factually incorrect. This issue is especially critical in domains that require high factual accuracy, where it is essential to ensure the reliability and trustworthiness of LLM-generated content. This paper provides a novel metric based method towards detection of hallucinations in natural language generation. The method combines three complementary components: Jaccard similarity for entity-level alignment, natural language inference for semantic consistency, and a normalized perplexity measure for fluency. The integration of these components through a weighted average produces a hallucination metric where a high value indicates a potential occurrence of hallucination. This metric increases the reliability of LLM-generated content. The method’s effectiveness is evaluated on benchmark datasets (BEGIN and FEVER), which demonstrates improved performance in hallucination detection. The evaluation results indicate that the proposed method provides a balanced approach to identifying hallucinations, offering a promising solution for more trustworthy conversational agents.

Procedia Computer ScienceVol. 270
KTH Royal Institute of Technology (SE)
Openalex Percentile: Top 62%
Mental Health via Writing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Towards Trustworthy Conversational Agents: A New Method for Hallucination Detection in NLG — Saiful Anwar Che Ghani, Anne Håkansson, et al. · Procedia Computer Science (2025) | TGRS Research Map | TGRS