BALTO: Balanced Token-Level Policy Optimization for Hallucination Mitigation

Ning Li, Zixuan Guo, Yan Xu, Wenbo Fei, Yifan Niu, Chang Luo, Yasheng Wang, Weiwen Liu, Yong Yu, Weinan Zhang

TL;DR

BALTO is a novel token-level reinforcement learning framework designed to mitigate localized hallucinations in Large Language Models (LLMs). By introducing a balanced credit assignment mechanism that pairs precise negative penalties for incorrect tokens with compensatory positive rewards for faithful ones, BALTO stabilizes training and prevents models from becoming overly conservative or uninformative.

What Problem Does This Paper Address?

When LLMs are deployed in knowledge-intensive applications like finance, law, or medicine, ensuring factual accuracy is paramount. Reinforcement Learning (RL) is a popular approach to align these models, but standard methods suffer from a granularity mismatch. Most RL frameworks use response-level rewards, assigning a single score to an entire generated text.

However, hallucinations are typically highly localized—a single incorrect date or numerical value embedded within an otherwise perfectly accurate paragraph. A pilot study in the paper highlights this dual pattern: while hallucinated tokens account for less than 3% of a response on average (token-sparse), over 94% of generated response groups contain at least one error (response-prevalent).

Figure 1: Pilot study on FinLLM-Eval with Qwen3-8B. Hallucinations are sparse within individual responses but prevalent across rollouts. The shaded region in (b) marks majority-hallucinating groups.

Applying a blanket penalty to an entire response erroneously punishes correct information. This optimization noise often leads to "reward hacking," where the model learns to generate short, vague, or overly conservative answers simply to minimize the risk of receiving a penalty.

Methods

To bridge this gap, the authors propose BALTO (Balanced Token-level Policy Optimization), which operates in two primary stages:

  1. Fine-Grained Hallucination Token Detection: An LLM-based evaluator extracts checkable factual claims from a response and verifies them against reference documents. Crucially, rather than penalizing an entire sentence, BALTO isolates the minimal erroneous token subset (e.g., just the specific incorrect number or entity).
  2. Balanced Token-Level Credit Assignment: Instead of simply applying negative rewards to bad tokens, BALTO introduces an intra-response zero-sum balancing mechanism:
  3. Hallucinated tokens receive a localized negative advantage ($-1$).
  4. Faithful factual tokens receive a positive compensatory advantage ($N^- / N^+$, where $N^-$ is the number of hallucinated tokens and $N^+$ is the number of faithful tokens).
  5. Neutral tokens (grammar, filler words) receive an advantage of $0$.
Overview of the BALTO framework and its balanced credit assignment mechanism

This mathematical design ensures that the total positive and negative signals within a response perfectly cancel out to zero. Instead of suppressing the response as a whole, it forces the model to redistribute probability mass directly from hallucinated content toward supported content.

Datasets

The framework was evaluated across three diverse QA benchmarks representing different hallucination challenges:

  • ConFiQA (Multi-Conflicts subset): A counterfactual QA dataset featuring conflicting evidence.
  • RAGTruth: A corpus specifically built for analyzing hallucinations in Retrieval-Augmented Generation (RAG) setups.
  • FinLLM-Eval: A high-stakes financial domain dataset requiring precise numerical and factual grounding.

The base models used for the experiments were Qwen3-4B and Qwen3-8B.

Key Insights and Ideas

  • Variance Reduction: The authors mathematically prove that response-level RL gradient variance scales linearly with the full response length ($T$). BALTO compresses this variance to scale only with the number of sparse hallucinated tokens ($N^-$), leading to significantly more stable training trajectories.
  • Overcoming Gradient Starvation: In early training stages when models hallucinate frequently, global rewards are uniformly low, causing standard RL to suffer from "gradient starvation." Because BALTO relies on localized token advantages, it maintains strong local learning signals even during cold-starts.
  • Preventing Divergent Penalties: In late-stage training, standard RL can trigger massive, destabilizing negative updates if a model makes a rare mistake. BALTO’s advantages remain strictly bounded within $[-1, 1]$, ensuring graceful final convergence.

Key Results

BALTO consistently achieved state-of-the-art performance across all six model-benchmark configurations.

Table 1: Main results (%) on ConFiQA, RAGTruth, and FinLLM-Eval using Qwen3-8B and Qwen3- 4B. Bold and underlined scores represent the best and second-best results. [ref.] denotes the reference method for relative metrics, with Info. computed against Base and WR computed against BALTO.
  • Faithfulness vs. Informativeness: BALTO achieved the highest faithfulness scores while maintaining competitive informativeness. It improved the comprehensive Q-Score (Faithfulness $\times$ Informativeness) by an average of 2.7 points (and up to 4.9 points) compared to the strongest post-training baselines.
  • Parameter Efficiency: Analysis showed that BALTO achieved 98% accuracy on RAGTruth by updating only ~12% of the model's parameters, whereas standard response-level methods required updating 17% of parameters to reach a lower faithfulness score (93%).

Limitations and Future Work

The primary limitation of BALTO is its heavy reliance on an external LLM-based evaluator to extract and verify claims. Any biases, inaccuracies, or systematic errors in the evaluator will propagate directly into the token-level training signals.

Additionally, BALTO is explicitly tailored for retrieval-grounded text generation where reference documents are readily available. Extending this balanced token-level approach to open-domain generation, creative writing, or highly subjective tasks remains an open area for future research.

Summary updated

BibTeX
@inproceedings{li2026balto,
  author = {Ning Li and Zixuan Guo and Yan Xu and Wenbo Fei and Yifan Niu and Chang Luo and Yasheng Wang and Weiwen Liu and Yong Yu and Weinan Zhang},
  title = {{BALTO: Balanced Token-Level Policy Optimization for Hallucination Mitigation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=juI26tTO3o},
}
Figure