Step Back to Move Forward: Reflection-Aware Preference Optimization for Visual Generation

Junlong Wu, Jiuzhou Lin, Jia Sun, Boheng Zhang, Huaiqing Wang, Dewen Fan, Houde Liu, Qianqian Gan, Fan Yang, Tingting GaoarXiv 2026

TL;DR

Reinforcement learning from human feedback (RLHF) often fails to align diffusion models because early training samples are uniformly poor, leading to local optima and reward hacking. Reflection-Aware GRPO (RA-GRPO) solves this by introducing a "step back" mechanism during training: it temporarily inverts the diffusion process using a weaker text-guidance estimator to find a corrective path toward high-probability, high-reward data regions. This exploration benefit is then distilled back into the model, yielding superior alignment and visual quality with zero extra cost at inference time.

What Problem Does This Paper Address?

Aligning text-to-image and text-to-video diffusion models with human preferences (like aesthetic quality and prompt faithfulness) is typically done via Reinforcement Learning (RL). A popular approach is Group Relative Policy Optimization (GRPO), which compares a group of outputs generated from the same prompt to determine which paths deserve positive reinforcement.

However, standard RL suffers from a severe cold-start problem. Early in training, the model's outputs are often uniformly low-quality. If every sample in a group is bad, GRPO merely reinforces the "least bad" option rather than exploring genuinely high-quality trajectories. This narrow exploration makes the model highly vulnerable to reward hacking—where the model exploits flaws in the reward function (e.g., over-exaggerating contrast or lighting) instead of generating realistic images.

Methods

RA-GRPO introduces two core mechanisms to break out of the model's current generative manifold during training:

  1. Diffusion Reflection: To actively explore better trajectories, the authors implement a randomized, single-step "forward-backward-forward" loop at a random timestep $t_r$.
  2. Step A (Forward): Project the latent state forward using a strong text-guidance scale.
  3. Step B (Backward): Invert the state back using a weak text-guidance scale. The discrepancy between the weak and strong estimators acts as a first-order correction vector, nudging the trajectory away from suboptimal regions and toward the true data distribution.
  4. Step C (Forward): Resume standard denoising from this rectified state.
  5. Counterfactual Path Synthesis: Directly training the model on these non-monotonic, reflected trajectories would cause a mismatch with the standard one-pass inference pipeline. To fix this, the authors stitch the original trajectory (before the reflection step) together with the high-quality path generated after the reflection step. This creates a "counterfactual history"—the exact path the model should have taken to achieve the high-reward outcome.
Figure 1: Visualization of the proposed RA-GRPO framework. The figure illustrates the key components of the RA-GRPO pipeline, including Diffusion Reflection, Implicit Distillation via Counterfactual Path Synthesis, and Active Exploration. The process involves a probabilistic sampling trajectory, with steps of forward denoising, backward reflection, and counterfactual path synthesis. The system aims to generate high-quality outputs while exploring expanded solution spaces with low computa- tional overhead. Example output: A synthetic oil painting of Cristiano Ronaldo holding a chicken from the 1980s.

The model is then optimized using a joint loss function: the standard GRPO loss plus an advantage-weighted maximum likelihood reflection loss ($\mathcal{L}_{refl}$) applied specifically at the branching timestep $t_r$.

Datasets

The framework was evaluated across both text-to-image (T2I) and text-to-video (T2V) tasks using:

  • HPS v2.1 Benchmark: Used for evaluating human preference alignment in text-to-image generation.
  • VidProM: A large-scale dataset used to curate prompts for the video-level T2V training and evaluation.
  • HPD (Human Preference Dataset): Used for first-frame image-level evaluation within the T2V setup.

Key Insights and Ideas

  • Weak-to-Strong Guidance as Score Correction: The authors realize that the difference between a strongly guided velocity field and a weakly guided one mathematically approximates the missing score correction of the true data manifold. This allows the model to perform targeted, search-based exploration during training.
  • Trajectory-Level Regularization Mitigates Hacking: Instead of replacing a bad sample with an entirely different high-reward sample, RA-GRPO edits the existing trajectory locally. This local anchoring prevents the model from taking unstable, off-manifold deviations just to chase proxy rewards.
  • Inference-Time Efficiency: Because the reflection mechanism is only used to synthesize training targets, the final model retains a standard, fast, one-pass generation process at inference time.

Key Results

The authors evaluated RA-GRPO against strong baselines like DanceGRPO and MixGRPO using FLUX.1-Dev (T2I) and Wan2.1-1.3B (T2V) backbones.

  • Multi-Metric Superiority: When optimizing for HPSv2.1, RA-GRPO achieved the highest score (0.378) while simultaneously outperforming baselines on independent evaluators like PickScore (0.241), CLIPScore (0.369), and ImageReward (1.417).
  • Resilience to Reward Hacking: Baselines optimized purely on proxy rewards often introduced bizarre artifacts (e.g., blurry boundaries, overly dark tones, or extreme local contrast). RA-GRPO maintained natural lighting, clear contours, and superior semantic consistency.
Qualitative comparison showing how RA-GRPO handles complex prompts better than FLUX, DanceGRPO, and MixGRPO.
  • Extension to Video: In T2V tasks (using Wan2.1), RA-GRPO led to substantial gains in visual quality, motion quality, and text alignment, proving that the framework generalizes well to temporal dynamics.

Limitations and Future Work

While highly effective, the performance of RA-GRPO depends on the choice of the reflection ratio $r$ (the fraction of trajectories selected for reflection). The authors found that reflecting every single trajectory ($r=1.0$) actually degraded quality by reducing within-group contrast, settling on $r=0.5$ as the optimal balance.

For future work, the authors suggest exploring more diverse weak-to-strong estimator pairs beyond simple text-guidance scaling to further broaden the framework's applicability.

Summary updated

BibTeX
@misc{wu2026step,
  author = {Junlong Wu and Jiuzhou Lin and Jia Sun and Boheng Zhang and Huaiqing Wang and Dewen Fan and Houde Liu and Qianqian Gan and Fan Yang and Tingting Gao},
  title = {{Step Back to Move Forward: Reflection-Aware Preference Optimization for Visual Generation}},
  year = {2026},
  eprint = {2609.04282},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.04282},
}
Figure