TL;DR
Aligning massive image-generating flow models (like FLUX) with human preferences usually involves injecting artificial noise, solving expensive backward equations across dozens of steps, and risking "reward hacking"—where models churn out overly flashy, repetitive images just to please a scoring algorithm. This paper strips away the randomness and formulates fine-tuning as a deterministic control problem, introducing a clever shortcut that focuses computation only on the final, most impactful moments of image generation. The result is an order-of-magnitude training speedup alongside sharper, more diverse images that stay faithful to the base model's creative range.
What Problem Does This Paper Address?
Modern generative heavyweights like Stable Diffusion 3 and FLUX.2 are built on flow matching. Unlike traditional diffusion models that wrestle with noisy, jagged random walks, flow models learn smooth, straight, deterministic trajectories—ordinary differential equations (ODEs)—that ferry pure noise directly into crisp data.
Yet out of the box, even state-of-the-art base models often miss the mark on prompt adherence and human aesthetic preferences. To fix this, researchers use reward-based post-training (similar to RLHF in language models). Recently, Adjoint Matching emerged as a principled way to steer models toward high rewards using stochastic optimal control—essentially calculating backward in time how a slight nudge in the generation trajectory changes the final image's reward.
However, existing Adjoint Matching has three major headaches when applied to modern flow models:
- Unnatural randomness: It forces naturally deterministic flow models to use stochastic samplers with massive initial noise, slowing down convergence.
- Rigid regularization: Standard methods rely strictly on KL-divergence penalties (equivalent to a quadratic cost on steering effort) to keep the model near its pretrained state, which isn't always flexible enough to prevent mode collapse.
- Brutal compute costs: Integrating the backward "adjoint" ODE across an entire generation trajectory is prohibitively slow and accumulates numerical errors on billion-parameter models.
Methods
The authors overhaul Adjoint Matching specifically for flow architectures through three core innovations:
- Deterministic Control Pipeline: Instead of adding stochastic noise, they keep the base model’s fast ODE sampler intact and learn a deterministic velocity perturbation ($u$) right on top of the pretrained velocity field ($v^{\text{base}}$). At each step, the model regresses this perturbation toward a target derived from a simplified "lean" adjoint ODE solved backward from the terminal reward gradient.
- Truncated Adjoint Computation: Rather than solving the backward adjoint equation all the way from $t=1$ back to $t=0$, they truncate it—only computing gradients and applying control over the final few denoising steps (from an intermediate time $\tau$ to $1$).
- Generalized Polynomial Regularization: Standard KL regularization penalizes the squared norm of the control field ($p=2$). The authors generalize this penalty to any strictly convex, increasing function—specifically exploring higher-order polynomials ($p=4, 6$).

Datasets
No new benchmarks are introduced; the authors evaluate their pipeline using standard datasets paired with two pretrained backbones (675M-parameter SiT-XL/2 and 4B-parameter FLUX.2-Klein):
- ImageNet: The 1,000 standard classes are converted into descriptive text prompts to fine-tune and evaluate class-conditional SiT-XL/2.
- HPDv2 (from HPSv2): Provides the text prompt set used to fine-tune text-to-image generation on FLUX.2-Klein-4B, with HPSv2 serving as the primary training reward model alongside evaluation metrics like ImageReward, Aesthetic Score, CLIPScore, and PickScore.
Key Insights and Ideas
- The homestretch matters most: Why does truncating 80–95% of the backward pass work so well? Through theoretical analysis on toy Gaussian flows, the authors prove that optimal control intensity peaks uniquely in the later stages of the denoising trajectory, where signal-to-noise ratio is high and reward-relevant details crystallize. Skipping early steps saves massive compute and actually improves quality by avoiding error accumulation over long backward integrations.
- Higher-order penalties smooth out steering: Quadratic ($p=2$) penalties overly fixate on the single timestep with the largest gradient. Switching to 4th- or 6th-order polynomial regularization keeps the peak in the same place but flattens and widens the relative control curve—spreading steering effort more evenly across neighboring terminal steps so truncated windows capture richer reward signals.
- Direct differentiation hacks rewards; control preserves modes: Baseline methods that backpropagate directly through rewards (like DRaFT and ReFL) tend to game the reward model—producing overly bright, flashy images that collapse onto a single visual trope. Formulating alignment as regularized trajectory control keeps the underlying distribution intact.
Key Results
- Massive Speedups: On FLUX.2-Klein-4B (20 sampling steps), truncating the adjoint ODE to just the final step (
ODE-AM-1) slashes training iteration time from 345.5 seconds (full 20-step trajectory) down to 32.2 seconds—more than a 10× speedup. On SiT-XL/2 (50 steps), 10-step truncation cuts iteration time nearly in half, from 83.8s to ~47.3s. - Stronger Alignment than Full Trajectories: On SiT-XL/2,
6th ODE-AM-10boosts HPSv2 from the base model's 0.183 to 0.329 (and ImageReward from -0.658 to 0.535), handily beating full-trajectoryODE-AM-50(0.290 HPSv2). - Superior Diversity & Distribution Preservation: On FLUX.2-Klein-4B,
6th ODE-AM-1achieves the top HPSv2 score (0.470 vs. 0.290 base), while4th ODE-AM-3hits the highest ImageReward (1.557 vs. 1.074 base). Crucially, whereas ReFL-5 and DRaFT-1 tank distributional Recall down to 0.002 and 0.010 (signaling severe mode collapse),2nd ODE-AM-1achieves 0.129 Recall and 0.376 Coverage (and6th ODE-AM-3reaches 0.396 Coverage), preserving base-model variety.
Limitations and Future Work
- Deterministic-only theory for general regularizers: Because their deterministic setup bypasses stochastic noise schedules, it no longer samples the exact closed-form "exponentially tilted" distribution of classic KL-RLHF. Furthermore, their higher-order polynomial regularization theory is currently derived only for deterministic dynamics; extending it to stochastic optimal control remains open.
- Manual truncation tuning: The truncation horizon ($n_{\text{truncate}}$) is currently chosen empirically via sweeps. Developing a principled, automated recipe—such as estimating control intensity online during training—is left for future work, alongside extensions to video generation and discrete diffusion models.
Summary updated