A framework to synthetically generate fine-grained hallucinated data

The emergence of large language models (LLMs) has transformed natural language processing (NLP), enabling significant advances in text generation and comprehension. However, LLMs often produce hallucinated content-text that is unverifiable, incorrect, or inconsistent with the input-which is especially problematic in high-stakes domains like medicine, law, and finance. While prior research has examined hallucinations in isolated tasks or models, a systematic, fine-grained understanding of hallucination types across critical domains remains lacking. In this work, we develop a methodology to synthetically generate hallucinated question-answer instances categorized into five distinct types: Factual Inconsistency, Factual Fabrication, Logical Inconsistency, Instruction Inconsistency, and Context Inconsistency. To enable this, we construct a benchmark dataset comprising 52,646 hallucinated instances from the medical, legal, and finance domains, using domain-specific datasets (MedQuAD, LegalQAv1, FIQA) for four hallucination types, and datasets with explicit context (CUAD-QA, PubMedQA) for context inconsistency. We evaluate multiple open- and closed-source LLMs on hallucination detection, finding that off-the-shelf models struggle to accurately detect hallucinated content. Fine-tuning LLMs on our dataset leads to significant performance improvements, boosting detection accuracy by 15.8%, 11.4%, and 11.6% in the medical, legal, and finance domains respectively. Our results highlight the importance of structured hallucination training data for building more reliable LLM-based systems.

Authors

Institutions

Publication Details

Journal
Language Resources and Evaluation
Published
2025-09-27
DOI
https://doi.org/10.1007/s10579-025-09864-x
Citations
1
Primary Topic
Data Visualization and Analytics
Type
article
Field-Weighted Citation Impact
1.28
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A framework to synthetically generate fine-grained hallucinated data

Dishank Aggarwal, Pushpak Bhattacharyya, Naveen Badathala, Ashita Saxena
1 citations
Language Resources and Evaluation
Data Visualization and Analytics
1.28
article

A framework to synthetically generate fine-grained hallucinated data

Dishank Aggarwal, Pushpak Bhattacharyya, Naveen Badathala, Ashita Saxena
article en
1 citations

Abstract

The emergence of large language models (LLMs) has transformed natural language processing (NLP), enabling significant advances in text generation and comprehension. However, LLMs often produce hallucinated content-text that is unverifiable, incorrect, or inconsistent with the input-which is especially problematic in high-stakes domains like medicine, law, and finance. While prior research has examined hallucinations in isolated tasks or models, a systematic, fine-grained understanding of hallucination types across critical domains remains lacking. In this work, we develop a methodology to synthetically generate hallucinated question-answer instances categorized into five distinct types: Factual Inconsistency, Factual Fabrication, Logical Inconsistency, Instruction Inconsistency, and Context Inconsistency. To enable this, we construct a benchmark dataset comprising 52,646 hallucinated instances from the medical, legal, and finance domains, using domain-specific datasets (MedQuAD, LegalQAv1, FIQA) for four hallucination types, and datasets with explicit context (CUAD-QA, PubMedQA) for context inconsistency. We evaluate multiple open- and closed-source LLMs on hallucination detection, finding that off-the-shelf models struggle to accurately detect hallucinated content. Fine-tuning LLMs on our dataset leads to significant performance improvements, boosting detection accuracy by 15.8%, 11.4%, and 11.6% in the medical, legal, and finance domains respectively. Our results highlight the importance of structured hallucination training data for building more reliable LLM-based systems.

Language Resources and EvaluationVol. 59(4)
Indian Institute of Technology Bombay (IN)
Openalex Percentile: Top 15%
Data Visualization and Analytics
1.28
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.