Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

HICD: Hallucination-Inducing via Attention Dispersion for Contrastive Decoding to Mitigate Hallucinations in Large Language Models

About

Large Language Models (LLMs) often generate hallucinations, producing outputs that are contextually inaccurate or factually incorrect. We introduce HICD, a novel method designed to induce hallucinations for contrastive decoding to mitigate hallucinations. Unlike existing contrastive decoding methods, HICD selects attention heads crucial to the model's prediction as inducing heads, then induces hallucinations by dispersing attention of these inducing heads and compares the hallucinated outputs with the original outputs to obtain the final result. Our approach significantly improves performance on tasks requiring contextual faithfulness, such as context completion, reading comprehension, and question answering. It also improves factuality in tasks requiring accurate knowledge recall. We demonstrate that our inducing heads selection and attention dispersion method leads to more "contrast-effective" hallucinations for contrastive decoding, outperforming other hallucination-inducing methods. Our findings provide a promising strategy for reducing hallucinations by inducing hallucinations in a controlled manner, enhancing the performance of LLMs in a wide range of tasks.

Xinyan Jiang, Hang Ye, Yongxin Zhu, Xiaoying Zheng, Zikang Chen, Jun Gong• 2025

Related benchmarks

TaskDatasetResultRank
Commonsense ReasoningHellaSwag
Accuracy87.1
1460
Question AnsweringOpenBookQA
Accuracy63.4
465
Reading ComprehensionRACE high
Accuracy46.68
295
Reading ComprehensionRACE mid
Accuracy59.96
196
Sentence CompletionHellaSwag
Accuracy84.33
133
Multiple-ChoiceTruthfulQA
MC1 Accuracy49.75
83
Factuality EvaluationTruthfulQA
MC149.75
40
Factuality EvaluationFACTOR--
18
Factual ConsistencyFACTOR
Factual Consistency (Wiki)64.43
14
Open-ended generationNQ entity-swapped (test)
Exact Match73.73
12
Showing 10 of 13 rows

Other info

Code

Follow for update