Learning to Reason for Factuality

Xilun Chen, Ilia Kulikov, Vincent-Pierre Berges, Barlas Oguz, Rulin Shao, Gargi Ghosh, Wen-tau Yih

Introduction

Reasoning Large Language Models (R-LLMs), such as OpenAI’s o1 and DeepSeek-R1, have significantly advanced complex reasoning tasks through "Long Chain-of-Thought" (CoT) processes. However, these models often struggle with factuality. While they excel at logic and math, they generate substantially more hallucinations than their non-reasoning counterparts on long-form factuality benchmarks. This paper introduces a novel online Reinforcement Learning (RL) framework that uses a multi-faceted reward function—balancing precision, detail, and relevance—to train models to "think" before they speak, reducing hallucinations by 23.1 percentage points without sacrificing helpfulness.

The "Hallucination Tax" in Reasoning LLMs

The AI community has recently embraced R-LLMs for their ability to solve complex problems by reasoning step-by-step. Yet, there is a hidden "hallucination tax": these models often prioritize logical consistency over factual accuracy. The authors found that popular R-LLMs like DeepSeek-R1 and QwQ-32B exhibit hallucination rates 10 to 13 percentage points higher than their non-reasoning base models on long-form factual tasks.

Fixing this issue introduces a significant challenge in reward design. In domains like math or coding, rewards are easily verifiable (e.g., the code executes successfully or the final equation matches the answer key). Factuality, however, is difficult to verify in real-time. Existing automatic evaluation frameworks like FActScore are too slow for the thousands of iterations required by online RL. Furthermore, if a model is rewarded solely for being factual, it quickly learns to "reward hack"—producing extremely short, vague, or irrelevant answers to minimize the risk of making a verifiable error.

A Novel Framework for Factual Reasoning

To overcome these challenges, the authors propose the first online RL recipe specifically tailored for long-form factuality. Their approach relies on three core pillars:

1. Multi-Component Reward Function

To prevent reward hacking, the reward function is designed as a weighted sum of three critical elements:

  • Factual Precision: The ratio of supported claims to total claims, measured using a smoothed version of VeriScore.
  • Detail Level: A logarithmic reward based on the number of correct facts provided. This encourages the model to be comprehensive rather than evasive.
  • Answer Relevance: An LLM-as-a-judge component that compares the response to a reference prompt, ensuring the model does not drift into irrelevant, "Wikipedia-style" tangents just to state true facts.

2. Scalable VeriScore

The original VeriScore metric takes approximately two minutes per response, making it impractical for online RL. By parallelizing claim extraction, batching LLM requests, and utilizing asynchronous API calls for web searches, the authors achieved a 30x speedup. This optimization brings verification down to under five seconds per response—fast enough to support online RL rollouts.

3. Online RL via GRPO

The framework utilizes Group Relative Policy Optimization (GRPO), the same on-policy algorithm behind DeepSeek-R1. GRPO proves more effective than offline methods like Direct Preference Optimization (DPO) for teaching models complex, multi-step reasoning strategies.

Experimental Setup and Key Insights

The model was evaluated across six diverse long-form factuality benchmarks: LongFact, FAVA, AlpacaFact, Biography, FactBench, and FACTORY (a new, human-verified benchmark where frontier LLMs currently achieve only ~40% precision).

Through these evaluations, several key insights emerged:

  • Factual CoT is Unique: Unlike mathematical CoT, which focuses on calculation and backtracking, "factual CoT" relies on synthesis, explanation, and definition. The model learns to internally "double-check" dates, names, and events in its thought block before committing them to the final output.
  • The Precision-Detail Trade-off: Supervised Fine-Tuning (SFT) alone can improve precision, but it typically destroys detail (causing a 25% drop in informativeness). This RL approach is the first to simultaneously improve both metrics.
  • Relevance as a Guardrail: Without the relevance reward, models tend to answer specific questions with broad, safe facts—technically true, but entirely unhelpful to the user.

Results

The factual reasoning model, built on Llama-3.1-8B, demonstrated remarkable improvements:

  • Hallucination Reduction: The model achieved an average reduction of 23.1 percentage points in hallucination rates across all benchmarks.
  • Increased Informativeness: Rather than becoming overly cautious, the model became more detailed, showing a 23% increase in the number of factual statements per response.
  • Helpfulness Maintained: In head-to-head "LLM-as-a-judge" evaluations using GPT-4o, the new model maintained a >50% win rate against the base model, proving that factuality gains did not compromise conversational quality.

Limitations and Future Directions

While highly effective, the approach has limitations. The training and evaluation pipelines rely heavily on LLM-based judges (VeriScore and GPT-4o). Although the authors used different models for training and evaluation to mitigate bias, some judge-specific preferences may remain. Additionally, due to high costs, the study lacks a final human-in-the-loop verification stage.

Looking forward, the authors point to "agentic factual reasoning" as the next frontier. This would allow the model to actively query a search engine during its Chain-of-Thought process, retrieving facts it realizes it does not know before formulating a final answer.

Summary updated

BibTeX
@inproceedings{chen2026learning,
  author = {Xilun Chen and Ilia Kulikov and Vincent-Pierre Berges and Barlas Oguz and Rulin Shao and Gargi Ghosh and Wen-tau Yih},
  title = {{Learning to Reason for Factuality}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=byZ7DoyDNd},
}
Figure