The Hallucination Tax of Reinforcement Finetuning

Linxin Song, Taiwei Shi, Jieyu Zhao

TL;DR

Reinforcement finetuning (RFT), a popular method for improving LLM reasoning, can paradoxically lead to models confidently hallucinating answers to unanswerable questions. This paper introduces "Synthetic Unanswerable Math" (SUM), a dataset and method to train LLMs to recognize and refuse unanswerable questions, significantly reducing hallucinations with minimal impact on performance on solvable tasks.

What Problem Does This Paper Address?

Large Language Models (LLMs) are increasingly being finetuned using Reinforcement Learning (RL) to improve their reasoning abilities. While this "Reinforcement Finetuning" (RFT) has shown great promise, its impact on model trustworthiness, particularly their tendency to "hallucinate" (generate plausible but incorrect information), has been under-explored. The authors identify a specific issue: RFT can degrade an LLM's ability to refuse to answer questions when information is insufficient or ambiguous. This "hallucination tax" means models become more likely to confidently provide incorrect answers rather than admitting they don't know, posing risks in critical applications.

Methods

The core of this work involves two main components:

  1. Synthetic Unanswerable Math (SUM) Dataset: The authors created a new dataset of math problems that are designed to be unanswerable due to missing, ambiguous, or contradictory information. They achieved this by modifying existing math problems (from the DeepScaleR dataset) using specific criteria like "key information deletion" or "unrealistic conditions." This dataset is crucial for teaching models when to abstain.
  2. Augmented RFT Training: They propose a simple yet effective strategy: incorporating a small percentage (e.g., 10%) of SUM data into the standard RFT training process. This encourages LLMs to leverage their computational resources during inference to assess uncertainty and recognize knowledge boundaries, leading to appropriate refusals.

Datasets

  • DeepScaleR: Used as a source for generating unanswerable math problems.
  • SUM (Synthetic Unanswerable Math): A newly introduced dataset of implicitly unanswerable math problems, created by modifying DeepScaleR questions.
  • Evaluation Datasets:
    • Unanswerable: UMWP (math), SelfAware (factual), SUM Test.
  • Answerable: GSM8K, MATH-500, OlympiadBench, AMC23.

Key Insights and Ideas

  • RFT's "Hallucination Tax": The most striking insight is that a technique designed to improve reasoning can actively harm a model's ability to recognize and refuse unanswerable questions, leading to confident hallucinations.
  • The Power of "Not Knowing": Teaching models to explicitly say "I don't know" is not just about avoiding errors; it's about enabling them to reason about their own limitations and uncertainty.
  • Minimal SUM, Maximum Impact: Even a small proportion (10%) of synthetic unanswerable data during RFT training can dramatically improve refusal rates without significantly hurting accuracy on solvable problems.
  • Generalization Beyond Math: The ability to recognize uncertainty, learned from math problems, appears to generalize to other domains, like factual QA.

Key Results

  • Degraded Refusal: Standard RFT training reduced refusal rates on unanswerable tasks by over 80% for some models.
  • SUM Restores Refusal: Augmenting RFT with 10% SUM data substantially increased refusal rates on unanswerable benchmarks (e.g., from ~0.01 to ~0.7-0.8) across multiple LLMs.
  • Minimal Accuracy Trade-off: Accuracy on answerable math tasks decreased only slightly (typically within 0.01-0.05) when using SUM data.
  • Learning Dynamics: Instruction-tuned models showed faster learning curves for refusal when trained with SUM, especially with higher mixing ratios.

Limitations and Future Work

  • Domain Specificity: The current work focuses on math and factual QA. Further evaluation is needed to see if these benefits generalize to other domains like commonsense reasoning or clinical decision-making.
  • Mixing Ratio Trade-off: While SUM improves refusal, very high mixing ratios (e.g., 50%) can lead to a noticeable decrease in accuracy on answerable tasks, suggesting a need for careful calibration.
  • SUM Dataset Quality: The quality of the SUM dataset relies on the LLM's editing heuristics and human verification. Future work could involve broader reviewer diversity and formal annotation guidelines.
  • Future Directions: The authors suggest exploring curriculum learning or adaptive reward shaping for dynamic balancing of refusal and correctness, and investigating how different instruction tuning methods affect hallucination/abstention.

Summary updated

BibTeX
@inproceedings{song2025hallucination,
  author = {Linxin Song and Taiwei Shi and Jieyu Zhao},
  title = {{The Hallucination Tax of Reinforcement Finetuning}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2025},
}
Figure