arXiv:2610.41949cs.AIOct 2026

Manuscript Offprint

arXiv:2610.41949

Optimizing Stochastic Policy Geometry for Few-Step Flow Reinforcement Learning

Zhuguanyu Wu, Congjia Chen, Ruihao Gong, Yang Yong, Shiqiao Gu, Yi Xu, Xianglong Liu

ABSTRACT

Few-step flow models generate samples through a handful of large denoising transitions. Applying GRPO to such models requires introducing stochasticity into the denoising transitions, and when a single transition spans a wide range of noise levels, the choice of the resulting stochastic policy becomes a major factor in optimization. Recent constructions constrain the policy to preserve the target flow coefficients, but this constraint admits a family of policies and offers no criterion for choosing among them. We introduce Geo-FSRL (Geometry-Optimized Few-Step Reinforcement Learning), built on a selection principle: at a fixed conditioning state and timestep pair, choose the admissible policy that minimizes the conditional KL divergence induced by any given nonzero velocity-output update. Within a coefficient-preserving family of isotropic Gaussian transitions, this criterion reduces to minimizing a single scalar geometry factor that determines the conditional KL for every velocity-output update. The same factor governs velocity-space Fisher information and conditional transition log-likelihood-ratio variance. We derive the unique closed-form optimizer within this family, shared across all nonzero update magnitudes and directions, with transition coefficients determined by both the source and target noise levels. Because the minimized geometry factor still varies across timesteps, we further adopt gradient-scale matching from prior work and derive closed-form policy-gradient and KL weights that normalize explicit score scales and reference-KL curvature. Geo-FSRL trains on the original few-step schedule and retains the deterministic solver at inference. Our method achieves higher final reward scores than Flow-GRPO and Flow-CPS on both image generation and video generation models under the 4-step setting. Code is available at https://github.com/ModelTC/LightX2V/tree/main/lightx2v_rl

1 INTRODUCTION

Reinforcement learning (RL) is increasingly used to post-train diffusion and flow models for visual generation, improving visual quality and prompt alignment through reward feedback (Black et al., 2024; Xue et al., 2025; Liu et al., 2025). A common formulation treats denoising as a sequence of decisions, with intermediate latents as states and rewards assigned to generated samples. For deterministic flow samplers, Flow-GRPO and DanceGRPO introduce stochastic transitions to support exploration and likelihood-ratio optimization (Liu et al., 2025; Xue et al., 2025). Meanwhile, distillation compresses generation into a few denoising steps (Yin et al., 2024; Contributors, 2025; Wu et al., 2026; Fan et al., 2026), motivating RL methods that retain this efficient inference schedule. Each transition then spans a wide interval of noise levels, making the finite-step stochastic policy an important design choice.

Large transitions expose differences between stochastic constructions. The standard Euler-Maruyama transition used by Flow-GRPO generally does not satisfy Flow-CPS's coefficient-preserving constraint (Liu et al., 2025; Wang & Yu, 2025). Flow-CPS enforces this constraint by

∗^{*}Equal Contribution.

†^{\dagger}Corresponding author.

constructing transitions directly at the target noise level (Wang & Yu, 2025). We adopt the same constraint, which fixes the sum of the squared noise coefficients while allowing different splits between predicted noise carried over from the current state and fresh Gaussian noise. Flow-CPS specifies this split through a single normalized stochasticity parameter shared across timesteps and tuned empirically. The constraint thus defines an admissible family but leaves a policy-selection question: which transition should serve as the training policy?

To answer this question, we introduce Geo-FSRL (Geometry-Optimized Few-Step Reinforcement Learning), motivated by the distinction between the distributions used for policy optimization and the velocity predictions used for generation. GRPO moderates updates through likelihood-ratio clipping and reference-policy regularization, both defined on stochastic transition distributions, whereas deterministic inference depends on velocity predictions. Within the coefficient-preserving isotropic Gaussian family, the same velocity-output update can induce different changes in the transition distribution depending on the noise split. We therefore propose the following selection principle: at a fixed conditioning state and timestep pair, choose the admissible policy that minimizes the conditional KL divergence induced by any given nonzero velocity-output update.

To characterize this criterion, we identify a scalar geometry factor that determines the conditional KL for a prescribed velocity-output update. Its square quantifies policy sensitivity, measuring how strongly the stochastic transition distribution responds to changes in the velocity prediction. The same factor governs velocity-space Fisher information and conditional log-likelihood-ratio variance under the old policy. This characterization holds for finite updates and yields the same minimizing coefficients for all nonzero update magnitudes and directions, before reward-based optimization determines which updates to take.

The resulting problem has a unique closed-form solution, with coefficients determined by both source and target noise levels. Under rectified-flow parameterization, it recovers the one-step SDE-DPM-Solver++ transition (Lu et al., 2022), providing a geometric optimality characterization of an existing sampling rule. At a fixed target noise level, the minimized geometry factor increases with the transition span, so larger transitions remain more sensitive to the same velocity update even under the optimal split. To account for the remaining variation across timesteps, we follow the gradient-scale matching principle of Team et al. (2025) to derive policy-gradient and KL weights that normalize explicit score scales and reference-KL curvature.

We evaluate Geo-FSRL on four-step distilled Qwen-Image (Wu et al., 2025; Contributors, 2025) and Wan2.1 (Wan et al., 2025) models for image and video generation. It attains higher final reward scores than Flow-GRPO and Flow-CPS in the main comparisons while retaining the original deterministic inference schedule.

Our contributions are summarized as follows:

  • We propose selecting stochastic policies by minimizing conditional KL for a given nonzero velocity-output update, reducing the problem to scalar optimization within a coefficient-preserving isotropic Gaussian family.
  • We derive the unique closed-form optimizer within this family, shared across all nonzero update magnitudes and directions, and characterize how the minimum geometry factor depends on the transition span at a fixed target noise level.
  • We develop Geo-FSRL by combining the selected transition with closed-form policy-gradient and KL weights from gradient-scale matching, and demonstrate higher final reward scores than Flow-GRPO and Flow-CPS on four-step image and video models.

References (72)