Diversity-Oriented Fine-Tuning for Uncertainty-Based Hallucination Detection
Abstract
Existing hallucination detection methods are typically conducted at the inference stage, without making any modifications to the model itself. In this paper, we are interested in exploring fine-tuning strategies that enhance the detectability of hallucinations in the resulting model. Focusing on semantic-entropy-based detection, we observe that many erroneous outputs remain undetected because the model produces nearly identical incorrect answers across multiple runs. To address this, we propose diversity-oriented fine-tuning to encourage more varied generations. We introduce two specific strategies: one based on Supervised Fine-Tuning (SFT) and the other on Direct Preference Optimization (DPO). Extensive experiments are conducted to evaluate our approach and analyze the behavior of the models before and after fine-tuning. We find that after adopting our fine-tuning methods, the models become less likely to produce low semantic entropy responses for hallucinated answers, thereby improving the effectiveness of hallucination detection, eventually yielding results better than or comparable with state of the art methods. The code will be publicly released.
Create a lesson
Metadata
- Categories
- cs.AI, cs.CV
Related papers
InstructReplay: Replaying Assistant Turns to Preserve General Behavior During Factual Fine-Tuning
Shared title terminologycs.AIXiaofeng Shi, Qian Kou, Hua Zhou
A Systematic Evaluation of Trajectory Data Curation for LoRA Fine-Tuning of Code Agents
Shared title terminologycs.AIYunze Han
SATQuest: A Verifier for Logical Reasoning Evaluation and Reinforcement Fine-Tuning of LLMs
Shared title terminologycs.AIYanxiao Zhao, Yaqian Li, Zihao Bo et al.
CRAFT: Clustering Rubrics to Diagnose Weak LLM Capabilities and Generate Targeted Fine-Tuning Data
Shared title terminologycs.AIVipul Gupta, Zihao Wang, Razvan-Gabriel Dumitru et al.
Long-Context Fine-Tuning with Limited VRAM
Shared title terminologycs.AIVladimir Fedosov, Aleksandr Sazhin, Artemiy Grinenko et al.
Dynamic Reasoning in Next-Gen Detection and Response: An Empirical Study of LLM Triage, Reinforcement Tuning, and Adversarial Evasion
Shared title terminologycs.AIJeremy Canale