RAGognizer: Hallucination-Aware Fine-Tuning via Detection Head Integration
Fabian Ridder, Laurin Lessel, Malte Schilling

TL;DR
This paper introduces RAGognizer, a fine-tuning method that integrates hallucination detection into LLMs, significantly reducing hallucinations while maintaining response quality.
Contribution
It presents a novel dataset and a joint training approach that improves hallucination detection and generation quality in retrieval-augmented language models.
Findings
Achieves state-of-the-art token-level hallucination detection.
Reduces hallucination rates during generation.
Maintains language quality and relevance.
Abstract
Retrieval-Augmented Generation (RAG) is widely used to augment the input to Large Language Models (LLMs) with external information, such as recent or domain-specific knowledge. Nonetheless, current models still produce closed-domain hallucinations and generate content that is unsupported by the retrieved context. Current detection approaches typically treat hallucination as a post-hoc problem, relying on black-box consistency checks or probes over frozen internal representations. In this work, we demonstrate that hallucination detection based on internal state representation can also serve as a direct training signal. We introduce RAGognize, a dataset of naturally occurring closed-domain hallucinations with token-level annotations, and RAGognizer, a hallucination-aware fine-tuning approach that integrates a lightweight detection head into an LLM, allowing for the joint optimization of…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
