Preserving Pretrained CFG Structure in RL for Diffusion Models with Conditional Contrast Regularization

Yunfei Zheng, Xiaolong Wang, Dandan Zheng, Xianjun Deng, Shenghao Liu +3 more
11/20/2026
cs.LGcs.AIcs.CV
diffusion-flowrl

No confident code implementation found for this paper.

Abstract

Reinforcement Learning (RL) has become an important component in the post-training of diffusion models. In practice, however, standard RL often improves the target reward without reliably preserving holistic generation quality, leading to unstable reward-quality trade-offs that we view as a form of reward hacking.

Show full abstract

Since Classifier-Free Guidance (CFG) is known to improve visual clarity, prompt alignment, and perceptual quality in generation, we investigate whether its underlying structure can serve as a useful prior during RL. We present a unified geometric view that interprets both CFG and RL as correction vectors in a common prediction space, and identify the projection of the RL-induced correction onto the pretrained CFG correction as a useful diagnostic of quality-related structural preservation. Geometric analysis and rotation intervention further show that the pretrained CFG direction carries information useful for generation quality that reward-driven RL updates do not necessarily preserve. Based on this insight, we propose Conditional Contrast Regularization (CCR), which uses the frozen reference model's conditional contrast as a local structural prior during RL. Experiments across multiple reward settings and backbones show that CCR more consistently preserves generation quality while maintaining competitive reward, yielding a better reward-quality trade-off than standard RL and generic regularization methods.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zheng2026preserving,
  title  = {Preserving Pretrained CFG Structure in RL for Diffusion Models with Conditional Contrast Regularization},
  author = {Yunfei Zheng and Xiaolong Wang and Dandan Zheng and Xianjun Deng and Shenghao Liu and Wei Xiang and Yuqian Li and Laurence Tianruo Yang},
  year   = {2026},
  eprint = {2611.27288},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.27288v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.27288.svg)](https://codeofpaper.com/paper/2611.27288)

Discussion