Token Preference Optimization with Self-Calibrated Visual-Anchored Rewards for Hallucination Mitigation

Jihao Gu, Yingyao Wang, Meng Cao, Pi Bu, Jun Song, Yancheng He, Shilong Li, Bo Zheng · OpenReview

Abstract

Direct Preference Optimization (DPO) has been demonstrated to be highly effective in mitigating hallucinations in Large Vision Language Models (LVLMs) by aligning their outputs more closely with human preferences. Despite the recent progress, existing methods suffer from two drawbacks: 1) Lack of scalable token-level rewards; and 2) Neglect of visual-anchored tokens. To this end, we propose a novel Token Preference Optimization model with self-calibrated rewards (dubbed as TPO), which adaptively attends to visual-correlated tokens without fine-grained annotations. Specifically, we introduce a token-level visual-anchored reward as the difference of the logistic distributions of generated tokens conditioned on the raw image and the corrupted one. In addition, to highlight the informative visual-anchored tokens, a visual-aware training objective is proposed to enhance more accurate token-level optimization. Extensive experimental results have manifested the state-of-the-art performance of the proposed TPO.

Introduction

Large Vision Language Models (LVLMs) like LLaVA or Qwen often suffer from "hallucinations," where they describe details not present in the visual input. While alignment techniques like Direct Preference Optimization (DPO) attempt to mitigate this by using preference pairs, they often provide coarse, sentence-level rewards. This makes it difficult for the model to pinpoint exactly which token caused the hallucination. Furthermore, standard methods often fail to distinguish between purely linguistic tokens (e.g., "the", "is") and "visual-anchored" tokens (e.g., "striped", "red") that directly depend on image content.

Comparison of visual-anchored rewards between standard models and TPO, highlighting how TPO focuses on tokens grounded in visual evidence.

Methodology

The proposed Token Preference Optimization (TPO) framework addresses these issues by generating scalable, token-level rewards automatically through a self-calibration process.

1. Identifying Visual-Anchored Tokens

TPO utilizes a "noise probe" to identify which words depend on the image. For every generated response, the model calculates the probability of each token twice: once with the original image ($v$) and once with a corrupted version ($v_c$). If the probability of a token changes significantly when the image is blurred or noisy, that token is considered visually anchored.

2. Self-Calibrated Rewards and Optimization

Instead of fixed values, TPO calculates a contrastive score based on the difference in these probabilities. This score is then used in a self-calibration process to adjust rewards:

  • Positive samples (correct answers) receive higher rewards for their visual-anchored tokens.
  • Negative samples (hallucinations) are penalized more heavily on those same tokens.
The TPO framework architecture, illustrating the noise-based token identification and self-calibration process.

TPO integrates these token-wise rewards directly into the DPO loss function, forcing the model to prioritize visual evidence over internal language priors for the most informative parts of a sentence.

Experimental Setup and Results

The researchers evaluated TPO across several specialized benchmarks including AMBER, MMHal-Bench, and HallusionBench. They utilized the RLHF-V (5K) dataset for training, notably without requiring the fine-grained human segment annotations that the dataset usually demands.

Key Findings

  • Hallucination Mitigation: TPO achieved a 20.4% absolute improvement in F1 score on the AMBER benchmark over the base LLaVA-1.5 model. On MMHal-Bench, it significantly reduced the hallucination rate while improving informativeness.
  • Robustness to Illusions: Significant gains were observed on the "Hard" set of HallusionBench, suggesting the model learns to rely on actual visual pixels rather than common-sense guessing.
  • General Performance: Unlike some alignment methods that suffer from an "alignment tax," TPO maintained or slightly improved performance on general benchmarks like MMBench and SEED Bench.

Conclusion

TPO represents a significant advancement in LVLM alignment by shifting toward "self-aware" models that can identify which parts of their output are grounded in visual reality. By leveraging noise-based probes and self-calibrated rewards, TPO provides a scalable solution to hallucination without the need for expensive, fine-grained human annotations.

Summary updated

BibTeX
@misc{gu2024token,
  author = {Jihao Gu and Yingyao Wang and Meng Cao and Pi Bu and Jun Song and Yancheng He and Shilong Li and Bo Zheng},
  title = {{Token Preference Optimization with Self-Calibrated Visual-Anchored Rewards for Hallucination Mitigation}},
  year = {2024},
  eprint = {2412.14487},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.14487},
}
Figure