Paper Overview
Field: Computer Vision Authors: Zhanhao Liang, Tao Yang, Jie Wu Published: 2025-04-17 arXiv: 2504.13098
Abstract
This paper focuses on the alignment of flow matching models with human preferences. A promising way is fine-tuning by directly backpropagating reward gradients through the differentiable generation process of flow matching. However, backpropagating through long trajectories results in prohibitive memory costs and gradient explosion. Therefore, direct-gradient methods struggle to update early generation steps, which are crucial for determining the global structure of the final image.
Key Contributions of LeapAlign
- Two-step trajectory: Shortens the long sampling trajectory into only two steps by designing two consecutive leaps, each skipping multiple ODE sampling steps and predicting future latents in a single step.
- Randomized leaps: By randomizing the start and end timesteps of the leaps, LeapAlign enables efficient and stable model updates at any generation step.
- Weighted trajectories: Assigns higher training weights to trajectories that are more consistent with long generation paths, making better use of the shortened trajectory.
- Gradient stability: Down-weights large-magnitude gradient terms rather than removing them entirely, as in prior work.
Results
When fine-tuning the Flux model, LeapAlign consistently outperforms state-of-the-art GRPO-based and direct-gradient methods across various metrics, achieving superior image quality and text-image alignment.
*Auto-collected on 2026-04-18.*