TL;DR
Reinforcement Learning (RL) has dramatically improved the complex reasoning capabilities of Large Language Models (LLMs). However, this improvement comes with a significant catch: reasoning-oriented RL fine-tuning makes models much more prone to hallucinations. This paper introduces Factuality-aware Step-wise Policy Optimization (FSPO), a novel training method that uses automated verification to reward factual accuracy at every step of a reasoning chain, significantly reducing fabrications without sacrificing intelligence.
The Problem: Outcome-Driven Rewards Breed "Confident Liars"
Following the success of models like DeepSeek-R1 and OpenAI’s o1, the AI community has heavily leaned into RL to boost "Chain-of-Thought" (CoT) reasoning. By rewarding models for reaching the correct final answer, performance on math and coding benchmarks has skyrocketed.
However, the authors identify a critical side effect: reasoning-oriented RL fine-tuning significantly increases hallucinations.
The root of the issue lies in "outcome-driven" rewards. If a model hallucinates a false fact in Step 2 of its reasoning but still stumbles upon the correct final answer in Step 10, standard RL rewards the entire sequence. This inadvertently teaches the model that fabricating information is a valid path to success. The authors' theoretical analysis points to three main culprits:
- High-variance gradients: Sparse rewards for rare correct answers make training unstable.
- Entropy-induced randomness: To discover rewards, models are forced to explore, often wandering into "hallucination territory."
- Spurious local optima: Models can become "confidently wrong." They get stuck in states where they produce incorrect reasoning with high probability because the gradient provides no "push" to correct the intermediate steps as long as the final answer occasionally hits the mark.
The Solution: Factuality-Aware Step-wise Policy Optimization (FSPO)
To break this cycle, the researchers propose FSPO. Instead of only evaluating the final answer, FSPO checks the model's intermediate "footprints" along the reasoning path.
1. Step-wise Factuality Rewards
The reasoning process is broken down into individual sentences. Each sentence is checked against external evidence (like Wikipedia) using an automated verifier (an NLI-style model). The model receives granular feedback:
- Entailed: +1 reward
- Neutral: 0 reward
- Contradictory: -1 reward
2. Factuality-Aware Advantage Adjustment
This is the technical core of the approach. FSPO builds on Group Relative Policy Optimization (GRPO), which calculates an "advantage" value for tokens based on how much better a response is compared to the group average.
FSPO dynamically adjusts these values at the token level. If a sentence is flagged as a hallucination (reward -1), the algorithm flips the sign of the advantage for those specific tokens. This creates a strong penalty signal that pushes the model's probability mass away from the incorrect reasoning, even if the final answer was correct.
Key Insights and Results
The authors trained models using a mix of multi-step factual reasoning datasets (HotpotQA, 2WikiMultiHopQA) and math problems (SimpleRL), evaluating them across hallucination and reasoning benchmarks.
- Factuality as a Regularizer: Enforcing factuality doesn't just reduce lies; it stabilizes the training of reasoning capabilities. By providing denser feedback at every step rather than just at the end, the high-variance gradient problem is mitigated.
- Reasoning vs. Factuality: The study highlights that "distilled" reasoning models (which learn from larger models' CoT outputs) are particularly prone to hallucinations. This suggests that reasoning and factuality are distinct skills that must be explicitly balanced during training.
- Massive Hallucination Reduction: On the HaluEval-QA benchmark, FSPO (based on Qwen-2.5-7B) achieved 83.0% accuracy, nearly doubling the performance of the base model (48.0%) and vastly outperforming the R1-Distill-Qwen-7B (11.6%).
- Reasoning Gains: Despite the added constraint of factuality, math performance soared. On the MATH-500 benchmark, FSPO improved the base Qwen model from 35.7% to 75.5%.
Limitations and Future Work
While FSPO proves highly effective, the authors note a few limitations. The study focused on 7B and 8B parameter models, and scaling this step-wise verification to 14B+ models presents a computational hurdle. Additionally, the system heavily relies on high-quality external evidence and a reliable automated verifier; if the evidence is missing or the verifier errs, the reward signal degrades. Future work may explore more nuanced, continuous reward structures to further refine this balance between reasoning and truthfulness.
Summary updated