TL;DR
PRECISE is a new stochastic sampler designed specifically for the reinforcement learning (RL) post-training of flow-matching models. By combining a logSNR-derived exploration schedule with a novel "frozen clean-latent posterior mean" approximation, it eliminates the excess discretization noise and marginal distribution biases plaguing prior samplers. This allows models to achieve state-of-the-art prompt alignment while slashing wall-clock training time by 13% to 53%.
What Problem Does This Paper Address?
Post-training text-to-image generators using reinforcement learning (like GRPO or DDPO) has become the standard way to maximize prompt alignment and aesthetic quality. For flow-matching models, which natively use deterministic Ordinary Differential Equations (ODEs) for sampling, RL requires turning this trajectory into a stochastic policy by injecting noise—effectively converting the ODE into a Stochastic Differential Equation (SDE).
However, online RL is computationally expensive, forcing practitioners to use a very low Number of Function Evaluations (NFE), typically between 6 and 30 steps. In this extreme low-NFE regime, existing stochastic samplers break down:
- Euler-style samplers freeze the velocity and score within a discrete step, ignoring how injected noise alters the latent state mid-step. This introduces massive excess discretization noise.
- Coefficient-Preserving Samplers (CPS) try to fix this but suffer from covariance contraction, which discards residual uncertainty and biases the final image distribution.
Methods
PRECISE deconstructs stochastic sampler design into two core components:
- LogSNR-Derived Exploration Schedule: The authors analyze denoising progress using the log signal-to-noise ratio (logSNR). They derive a time-varying noise schedule $\varepsilon_t = \eta \sqrt{\frac{t}{1-t}}$ that keeps the ratio of score-driven progress to velocity-driven progress constant. This injects more noise where the model can safely recover and less noise where extra randomness would destabilize the trajectory.
- Frozen Clean-Latent Posterior Mean Approximation: To solve the discretization issue, PRECISE introduces a clever local approximation. Instead of freezing the velocity or score during a finite step, it freezes the predicted clean-latent posterior mean $\hat{z}_0(t) = \mathbb{E}[z_0 \mid z_t]$. Because estimating $\hat{z}_0(t)$ is inherently a denoising task, it is geometrically much more stable under noise injection than the raw score or velocity. Under this assumption, the SDE becomes linear, yielding an exact, closed-form transition rule that remains strictly SDE-consistent.
Datasets
The authors evaluated their method using the following prompt datasets and reward models:
- GenEval: A synthetic, object-centric prompt benchmark used for rule-based optimization tasks.
- Pick-a-Pic: Used for model-based rewards. The training captions were filtered to unique prompts containing at least six words, with 2,048 captions held out exclusively for evaluation.
- Reward Models: PickScore, CLIPScore, and HPSv2.1 were optimized during training, while ImageReward, UnifiedReward v2, and LAION-Aesthetics Predictor V1 were used as held-out evaluation metrics.
Key Insights and Ideas
- The Stability of $\hat{z}_0$: The core "aha moment" is that while fresh noise drastically shifts the noisy latent state $z_t$, it barely moves the denoiser's underlying prediction of the clean image $\hat{z}_0$. Empirical validation on Stable Diffusion 3.5 shows this ratio stays well below 1.0 across the entire logSNR range.
- Why CPS Fails: The paper mathematically proves that coefficient-preserving rules contract the covariance matrix for non-degenerate data distributions. On a toy double-ring distribution, this manifests as a persistent inward bias toward the center ring, failing to converge even as the number of steps ($N$) scales up to 1280.
- Coupled Design Axes: Sampler design for RL cannot treat exploration and discretization independently. High exploration noise exacerbates discretization errors, meaning a sampler must be mathematically consistent with its continuous SDE to prevent the policy from drifting off the data manifold.
Key Results
PRECISE was rigorously tested on Stable Diffusion 3.5 Medium and FLUX.2 Klein 4B Base.
- Faster Convergence: PRECISE consistently reached target reward thresholds much faster than prior methods, requiring 14% to 22% fewer iterations in 10-NFE setups and 13% to 53% fewer iterations in 30-NFE setups.
- State-of-the-Art Performance: It achieved the highest final training rewards across PickScore, CLIPScore, and HPSv2.1, while remaining highly competitive or superior on held-out metrics.
- Robustness to Low Budgets: In extreme low-NFE regimes (down to just 6 steps), standard samplers like Flow-GRPO collapsed due to noise accumulation, whereas PRECISE maintained stable, high-quality image generation.
Limitations and Future Work
While PRECISE delivers substantial wall-clock speedups and stability, the authors note a few areas for extension:
- Local Approximation Dependency: The closed-form transition relies on the assumption that the posterior mean is locally constant over a single step. While this holds true empirically for image generation, highly chaotic trajectories or alternative modalities might test the limits of this assumption.
- Reward Model Biases: As with all RLHF/RLAIF methods, the sampler is still bound by the quality and potential biases of the underlying reward models used during post-training.
Future work could explore applying the PRECISE framework to video generation models or scaling it up to larger rectified flow architectures.
Summary updated