Flow Matching (FM) trains on source-target couplings, which define its training paths and velocity targets. Independent coupling can lead to curved trajectories, while minibatch Optimal Transport (OT) encourages straighter flows by minimizing squared Euclidean transport costs. Recent methods use the model's prediction error to guide coupling selection. However, neither criterion directly assesses how a coupling contributes to model learning. We present counterexamples in which two couplings have identical marginals, geometric costs, and prediction errors at every flow time, yet lead to different learning effects. To address this, we propose GOT-FM, a gradient-aware coupling framework whose transport cost measures how changing the coupling affects an FM loss after an optimizer update. To make this cost tractable, we differentiate the post-update loss with respect to the coupling, which yields one cost per source-target pair, and use it to rank a finite pool of feasible couplings. We experimentally demonstrate that GOT-FM consistently improves image quality in few-step generation.
翻译:暂无翻译