Manuscript Offprint

arXiv:2611.08240

FewStepRL: Fine-tuning Few-step Diffusion Models with Reinforcement Learning

Haitao Lin, Minsi Ren, Yang Li, Xingtong Ge, Zheyuan Hu, Peiyan Hu, Tailin Wu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Haitao Lin1,⋆,†^{1,\star,\dagger}, Minsi Ren2,⋆^{2,\star}, Yang Li1,†^{1,\dagger}, Xingtong Ge1^{1}, Zheyuan Hu1^{1}, Peiyan Hu2,3^{2,3}, Tailin Wu2,‡^{2,\ddagger}

Affiliation: 1^{1}Tencent Hunyuan, 2^{2} Westlake University, 3^{3} University of Chinese Academy of Sciences

*Equal contribution; †Project Leader; ‡Corresponding author: wtailin@westlake.edu.cn

Abstract. Reinforcement learning (RL) has become a standard post-training method for diffusion models, but most RL objectives roll out the current policy at every iteration, and with a many-step sampler these rollouts typically dominate the cost of training. Few-step models cut this cost, yet they model an average velocity over an interval, whereas existing RL objectives are built for an instantaneous velocity with a many-step sampler. We adapt RL objectives to few-step models systematically in three phases, namely a transformation, a decomposition and an adaptation. The transformation to x-space expresses each objective we consider through a common policy prediction, at the clean end by default and at an explicitly marked level for transition or flow-map objectives, so that objectives stated over densities, velocities or rewards become comparable. The decomposition writes the gradient of each of these objectives as the sum of a self-regression toward a reference and a reward augmentation, so that a method reduces, at the gradient level, to a choice of anchors and weights. The adaptation computes each anchor from a few-step model at the end of its transport or along its tangent, with the instantaneous velocity recovered from the network itself or from an auxiliary network. This yields few-step versions of FlowGRPO, AWM, DiffusionNFT, DiffusionOPSD and ReFL in one modular codebase. In our experiments, reward-gradient-based methods are the most effective where the reward is differentiable and its gradient affordable; otherwise DiffusionNFT-style methods generally reach high rewards in relatively few iterations despite a sometimes higher per-iteration cost. Extra inference steps show no systematic aggregate benefit in our experiments, although selected outputs visibly improve with two to four times as many sampling steps as in training.

Project Page: fewsteprl.page

Code: fewsteprl-sd35 (images), fewsteprl-wan21 (videos)

Checkpoints: Hugging Face (coming soon)

Contents

1 Introduction 3
2 Background 5
3 Preliminaries 6
3.1 Few-step Diffusion Models with On-Policy Distillation ..... 6
3.2 Reinforcement Learning for Diffusion Models ..... 8
4 Framework 10
4.1 Transformation to x-space ..... 11
4.2 The Decoupled Loss Decomposition ..... 12
4.3 Adaptation to Few-Step Models ..... 17
5 Implementation 23
5.1 A General Training Step ..... 24
5.2 Introduction to the Key Stages ..... 25
5.3 FewStepGRPO: Replaying Stored Trajectories ..... 30
5.4 FewStepAWM: MeanFlowAWM and DMDAWM ..... 32
5.5 FewStepNFT: MeanFlowNFT and DMDNFT ..... 34
5.6 FewStepOPSD: Extended Reward Augmentation and ReFL ..... 35
5.7 Cost of an Outer Iteration ..... 38
6 Experiment 38
6.1 Setup on Image Generation ..... 39
6.2 Setup on Video Generation ..... 40
6.3 Main Results on Image Generation ..... 42
6.4 Main Results on Video Generation ..... 47
6.5 Test-Time Scaling Analysis ..... 48
6.6 Practical Guidance ..... 50
7 Conclusion 52

1 Introduction

Diffusion models and their flow-matching counterparts generate data by integrating a learned transport from noise to samples, and have become a dominant approach to image and video synthesis (Ho et al., 2020; Song et al., 2021b; Lipman et al., 2023; Liu et al., 2023; Rombach et al., 2022; Esser et al., 2024). Because the learned field is accurate only locally, sampling typically takes tens of network evaluations (Song et al., 2021a).

Few-step models remove most of this cost by learning the transport over long intervals directly. Consistency models and MeanFlow, which models the average velocity over an interval, and on-policy distilled flow maps such as DMD and AnyFlow generate in one to four evaluations (Song et al., 2023; Geng et al., 2025, 2026; Yin et al., 2024b; Gu et al., 2026).

Reinforcement learning (RL) has become a standard post-training method for diffusion models. Fine-tuning against reward models of human preference, text rendering or composition measurably improves the outputs (Black et al., 2024; Fan et al., 2023; Clark et al., 2024; Xu et al., 2023; Liu et al., 2025a; Xue et al., 2026; Zheng et al., 2026a). This gain, however, typically requires samples from the current policy at every iteration and must be protected against reward hacking, in which the policy exploits the reward model instead of improving.

With a many-step sampler, these rollouts typically account for most of the time and memory of training, and more so for long video sequences. A few-step model shrinks this cost, but it models an average velocity over an interval, whereas the RL objectives above are built for an instantaneous velocity or for the transitions of a many-step sampler. Applied directly, they leave open which network evaluation should be differentiated, how the reference policy should be evaluated, and which parts of the interval are trained. Prior work typically resolves these choices for one objective at a time (Huang et al., 2026b,a; Li et al., 2026b); what is, to our knowledge, missing is a systematic way to adapt RL objectives to few-step models. Figure 1 illustrates the effect of leaving them unresolved. Substituting the average velocity of a distilled few-step model for the instantaneous velocity required by FlowGRPO, AWM and DiffusionNFT, i.e., applying the original objective to the distilled model without modification, gives a lower best GenEval2 than the adapted objective derived in this paper in each of the three cases.

This paper builds one in three phases (Figure 2), namely a transformation, a decomposition and an adaptation. The transformation maps each objective to x-space. Under a linear noise schedule, a velocity defines an affine map between noise levels, so each objective we consider can be expressed through a common policy prediction, at the clean end by default and at an explicitly marked level for transition or flow-map objectives. In x-space, objectives stated over densities, velocities or rewards become directly comparable. The decomposition splits the loss gradient. The gradient of every objective we consider is the sum of a self-regression term, which keeps the policy close to a reference, and a reward-augmentation term, which contains the reward, so that, at the gradient level, a method reduces to a choice of anchors and weights. The adaptation extends the anchors to few-step models. We show how each anchor is computed from a few-step model, either at the end of its transport or along the tangent of the trajectory, with the instantaneous velocity recovered from the network itself, as in MeanFlow, or from an auxiliary network, as in DMD.

All methods share one codebase, which is represented by a single training step with several method-specific stages, namely rollout, reward and advantage, anchors and weights, and loss (plus auxiliary fitting and the refresh of the old policy), where each method overrides only the hooks in which it differs (§5). The methods are therefore compared under shared rollout, reward and evaluation code,

Figure

(a) FewStepGRPO ( §5.3§5.3) vs. FlowGRPO

(b) MeanFlowAWM ( §5.4§5.4) vs. AWM

(c) MeanFlowNFT ( §5.5§5.5) vs. DiffusionNFT

Figure 1: Held-out GenEval2 against the RL iteration in the mixed-reward setting of §6.1, from the shared pre-RL few-step checkpoint. Dashed: the original objective applied to the distilled model with the average velocity substituted for the instantaneous velocity (FlowGRPO, AWM, DiffusionNFT). Solid: the corresponding few-step adaptation of this paper (FewStepGRPO, MeanFlowAWM, MeanFlowNFT; §5). Each annotated gap is the adaptation minus the baseline, at the best checkpoint of the baseline and at iteration 400; the two coincide when the baseline is best at iteration 400.

and a new variant is specified mainly by its anchors and weights. Experimentally, we compare seven implementations on image generation with an AnyFlow-distilled SD3.5-Medium (Stability AI, 2024; Gu et al., 2026), under a non-differentiable OCR reward and a differentiable mixed reward, and on video generation with an AnyFlow-distilled Wan2.1-T2V-1.3B (Team Wan et al., 2025; Gu et al., 2026); we further test whether the fine-tuned few-step models improve when sampled with more steps.

The contributions of this paper are as follows.

  • A general view. After the transformation to x-space, the gradients of the RL objectives considered here share one decoupled form, the sum of a self-regression term and a reward-augmentation term, so that their gradients differ only in their anchors and weights.

  • A systematic adaptation to few-step models. Each of these anchors can be computed from an average-velocity model at the end of the transport or along its tangent, which yields few-step versions of FlowGRPO, AWM, DiffusionNFT, DiffusionOPSD and ReFL within one modular codebase.

  • Empirical guidance with experimental analysis. Where the reward is differentiable and its gradient affordable, reward-gradient-based methods are the most effective in our experiments, and ReFL alone is a strong baseline. Otherwise, group-advantage methods apply. Among them, DiffusionNFT-style methods generally reach high rewards in relatively few iterations, even when one iteration is expensive, and DMD-based variants are faster per iteration on image but slower on video, depending on the relative cost of forward and backward passes, and often coincide with larger held-out degradation. Additional inference steps bring little aggregate improvement in generation quality, while visual gains appear in selected outputs with more sampling steps than training.

References (100)