Search papers, labs, and topics across Lattice.
This paper introduces FlowBP, a novel framework for reward backpropagation in text-to-image flow matching models that addresses the limitations of traditional methods by treating the backward trajectory as a design object. By utilizing a no-gradient cached rollout for sampling and constructing a lightweight backward surrogate, FlowBP effectively mitigates issues related to activation storage and gradient inflation. The proposed variants—FlowBP-Sparse, FlowBP-Bridge, and FlowBP-Lagrange—demonstrate improved performance over direct-gradient baselines across multiple metrics, showcasing their potential for enhancing model alignment with human preferences.
FlowBP redefines reward backpropagation by transforming the backward trajectory into a design object, leading to significant improvements in model alignment with human preferences.
Aligning text-to-image flow matching models with human preferences via direct reward backpropagation is sample-efficient but hampered by two well-known pathologies: activations cannot be stored across the full sampling trajectory at modern model scale, and chained Jacobian products across steps inflate the reward gradient as it travels back to early indices. Connector-based methods, such as LeapAlign, address these issues by replacing the full backward trajectory with a short pinned path, highlighting a useful decoupling between sampling and optimization. However, the quality of the resulting gradient depends on how accurately this short path approximates the full rollout, especially over long intervals. We propose FlowBP, a unified surrogate-trajectory framework that treats the backward trajectory itself as the design object. FlowBP keeps a no-gradient cached rollout for sampling, then builds a lightweight backward surrogate from cached and selectively re-forwarded velocities. This view separates four choices: the reward-model input, active set, integration weights, and bridge coupling, and recovers prior direct-gradient methods as particular settings. Within this framework, we instantiate three variants: FlowBP-Sparse uses sparse Euler reconstruction, FlowBP-Bridge adds controlled bridge coupling, and FlowBP-Lagrange raises the order of leap quadrature. All three bound memory by the active-set size and limit gradient chaining to at most one Jacobian factor. Across SD3.5-M, FLUX.1-dev, and FLUX.2-Klein-base on preference, quality, and compositional metrics, the three variants improve over direct-gradient baselines on most metrics.