Learning Auxiliary Tasks Improves Reference-Free Hallucination Detection in Open-Domain Long-Form Generation

Chengwei Qin, Wenxuan Zhou, Karthik Abinav Sankararaman, Nanshu Wang, Tengyu Xu, Alexander Radovic, Eryk Helenowski, Arya Talebzadeh, Aditya Tayade, Sinong Wang, Shafiq Joty, Han Fang, Hao Ma

Introduction

Large Language Models (LLMs) frequently generate "hallucinations"—content that is syntactically correct but factually incorrect. While significant progress has been made in detecting these errors in short-form tasks, long-form generation (e.g., biographies, technical essays) presents a more complex challenge. Current detection strategies typically rely on either internal model states (such as token probability) or external search tools (e.g., Google Search). However, internal states often fail to correlate with factuality in long-form contexts, and external tools are computationally expensive and latency-heavy.

This paper introduces RATE-FT (Rationale and Auxiliary Task Enhanced Fine-Tuning), a method designed to improve reference-free hallucination detection. By training models to provide rationales and solve auxiliary tasks, researchers from HKUST, NTU, and Meta demonstrate that LLMs can be taught to "know what they know" without relying on external search at inference time.

The Limitations of Internal States

A common assumption in LLM research is that a model’s internal confidence—measured by token entropy or probability—signals the truthfulness of its output. While this holds for short-form answers, the authors demonstrate that for long-form responses, internal states are often no better than random guessing. A model might exhibit high uncertainty due to linguistic choices or sentence structure rather than a lack of factual knowledge. This "internal state myth" necessitates a more robust approach to self-evaluation.

Methodology: RATE-FT

The proposed RATE-FT framework enhances standard fine-tuning through three primary components:

  1. Rationale Augmentation: Instead of simple binary classification (True/False), the model is trained to generate a "label-rationale." It learns to explain the reasoning behind its factuality judgment based on evidence gathered during the training data construction phase.
  2. Auxiliary QA Task: To deepen the model's factual understanding, the researchers introduce a secondary task. For every claim being evaluated, the model must also answer a related question. For instance, if a claim involves a historical event, the model is trained to answer "When did [Event] occur?" and provide a supporting explanation. This multi-perspective approach forces the model to reconcile its detection capabilities with its generative knowledge.
  3. Hybrid Uncertainty Pipeline: To handle ambiguous cases, the authors implement a pipeline that identifies a "gray zone" in predicted probabilities. If the model is neither highly confident in a claim's truth nor its falsehood, the system flags it as "unknown," allowing for potential delegation to external verification tools if available.

Experimental Setup and Datasets

The researchers evaluated RATE-FT using two major benchmarks:

  • LongFact: A dataset covering 38 domains specifically designed for long-form fact-checking.
  • Biography: A domain-specific dataset used to test the model's ability to generalize to knowledge-heavy, out-of-distribution content.

Training data was generated by decomposing long-form responses into "atomized claims" and verifying them using the Search-Augmented Factuality Evaluator (SAFE) framework, which utilizes multi-step reasoning and Google Search to establish ground truth.

Key Results

RATE-FT demonstrates significant improvements over existing baselines:

  • Accuracy: The method achieved a Balanced Accuracy (BAcc) of 79.6% on LongFact, outperforming standard fine-tuning (76.1%) and prompting-based methods like SelfCheckGPT (69.1%).
  • Generalization: Models fine-tuned on LongFact showed strong performance on the Biography dataset, suggesting that the model learns the underlying nature of hallucination rather than just memorizing specific facts.
  • Efficiency: Despite being trained on rationales, the model is optimized for inference. By placing the "True/False" label at the beginning of the output, the system can perform detection by generating a single token, maintaining low computational overhead.
  • Model Agnostic: The performance gains were consistent across different model architectures, including Llama-3, Mistral, and Qwen.

Conclusion

RATE-FT provides a scalable, reference-free solution for detecting hallucinations in long-form LLM outputs. By leveraging auxiliary tasks and rationales, the method bridges the gap between internal model knowledge and factual accuracy. Future work may involve integrating these detectors into Reinforcement Learning from Human Feedback (RLHF) pipelines to proactively mitigate hallucinations during the generation process.

Summary updated

BibTeX
@inproceedings{qin2025learning,
  author = {Chengwei Qin and Wenxuan Zhou and Karthik Abinav Sankararaman and Nanshu Wang and Tengyu Xu and Alexander Radovic and Eryk Helenowski and Arya Talebzadeh and Aditya Tayade and Sinong Wang and Shafiq Joty and Han Fang and Hao Ma},
  title = {{Learning Auxiliary Tasks Improves Reference-Free Hallucination Detection in Open-Domain Long-Form Generation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
  doi = {10.18653/v1/2025.acl-short.93},
}
Figure