Reinforcing Few-step Generators via Reward-Tilted Distribution Matching

Yushi Huang, Xiangxin Zhou, Ruoyu Wang, Chi Zhang, Jun Zhang +1 more
5/25/2026
13 citations
cs.CV
rlrlhf-rlvr-dpodistillation

Official code: Harahan/RTDMD (50 stars, Python, Apache-2.0, last commit 2026-06-06).

Abstract

Recent advances in few-step diffusion distillation have enabled efficient image generation, yet aligning these models with human preferences remains challenging. We propose Reward-Tilted Distribution Matching Distillation (RTDMD), a two-stage framework that unifies distribution matching distillation with reward-guided reinforcement learning for few-step flow generators.

Show full abstract

We show that minimizing the KL divergence to a reward-tilted teacher distribution naturally decomposes into a distribution matching term and a reward maximization term. In the first stage, we introduce Ambient-Consistent Distribution Matching Distillation (AC-DMD), which performs subinterval-wise distribution matching and augments the fake score objective with a consistency regularizer to help the fake score model track the shifting generator distribution under limited updates. In the second stage, we jointly optimize both terms: for the reward maximization term, we derive a hybrid policy gradient that combines a GRPO-style estimator for the stochastic intermediate transitions with direct reward backpropagation through the deterministic final step, and further introduce step-subset GRPO (SubGRPO) to reduce variance. Experiments on SD3, SD3.5, and FLUX.2 demonstrate that RTDMD establishes new state-of-the-art results across preference, aesthetic, and compositional metrics with only 4 inference steps, outperforming previous few-step text-to-image generation methods. Code and models are available at https://github.com/Harahan/RTDMD.

View on arXivView PDF

Code Implementations(1)

Harahan/RTDMDOfficial100%
Apache-2.0

[arXiv 2026] This is the official PyTorch implementation of "RTDMD: Reinforcing Few-step Generators via Reward-Tilted Distribution Matching".

500Python, ShellMay 25, 20265 months agoApache-2.0
dmdfluxflux2-kleingrporeinforcement-learning+2 more

Similar Papers

Cite this paper

@article{huang2026reinforcing,
  title  = {Reinforcing Few-step Generators via Reward-Tilted Distribution Matching},
  author = {Yushi Huang and Xiangxin Zhou and Ruoyu Wang and Chi Zhang and Jun Zhang and Tianyu Pang},
  year   = {2026},
  eprint = {2605.26108},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.26108v3}
}

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/2605.26108.svg)](https://codeofpaper.com/paper/2605.26108)

Discussion