ConsistentRFT: Reducing Visual Hallucinations in Flow-based Reinforcement Fine-Tuning
Xiaofeng Tan, Jun Liu, Yuanting Fan, Bin-Bin Gao, Xi Jiang, Xiaochen Chen, Jinlong Peng, Chengjie Wang, Hongsong Wang, Feng Zheng
TL;DR
This work analyzes visual hallucinations that arise when refining flow-based diffusion models with reinforcement signals. It identifies limited exploration and trajectory imitation as root causes and proposes ConsistentRFT, a framework combining Dynamic Granularity Rollout (DGR) and Consistent Policy Gradient Optimization (CPGO) to balance global semantics with local details and to preserve cross-step velocity consistency. A Visual Hallucination Evaluator (VH-Evaluator) couples low-level artifact metrics with high-level multimodal judgments to quantify hallucinations. Empirical results demonstrate substantial reductions in hallucinations (up to 49% for low-level and 38% for high-level) and improved out-of-domain performance (+5.1%) on FLUX1.dev, outperforming SoTA baselines and demonstrating compatibility with online DPO, DDPO, and GRPO variants. The method offers a practical path to more reliable, semantics-consistent image generation under reinforcement fine-tuning in flow-based models.
Abstract
Reinforcement Fine-Tuning (RFT) on flow-based models is crucial for preference alignment. However, they often introduce visual hallucinations like over-optimized details and semantic misalignment. This work preliminarily explores why visual hallucinations arise and how to reduce them. We first investigate RFT methods from a unified perspective, and reveal the core problems stemming from two aspects, exploration and exploitation: (1) limited exploration during stochastic differential equation (SDE) rollouts, leading to an over-emphasis on local details at the expense of global semantics, and (2) trajectory imitation process inherent in policy gradient methods, distorting the model's foundational vector field and its cross-step consistency. Building on this, we propose ConsistentRFT, a general framework to mitigate these hallucinations. Specifically, we design a Dynamic Granularity Rollout (DGR) mechanism to balance exploration between global semantics and local details by dynamically scheduling different noise sources. We then introduce a Consistent Policy Gradient Optimization (CPGO) that preserves the model's consistency by aligning the current policy with a more stable prior. Extensive experiments demonstrate that ConsistentRFT significantly mitigates visual hallucinations, achieving average reductions of 49\% for low-level and 38\% for high-level perceptual hallucinations. Furthermore, ConsistentRFT outperforms other RFT methods on out-of-domain metrics, showing an improvement of 5.1\% (v.s. the baseline's decrease of -0.4\%) over FLUX1.dev. This is \href{https://xiaofeng-tan.github.io/projects/ConsistentRFT}{Project Page}.
