In flow matching (FM), a velocity model
vθ is trained using a predefined path
gt that connects data and noise samples (e.g.,
gt(x0,x1)=(1−t)x0+tx1). In this work, we study the choice of this path from an optimization perspective by analyzing the variance of stochastic gradients. We consider the class
G(pt,vt⋆) of paths that induce the same marginal distributions
pt and marginal velocity field
vt⋆, and therefore the same FM objective. Our main finding is that the choice of path
gt can fundamentally change the convergence rate of SGD, even when the FM objective remains exactly the same. (i) For a linear velocity model and one-dimensional Gaussian data, we derive a tight bound on the SGD iteration complexity up to logarithmic factors and find an analytically optimal path that minimizes this bound among linear paths inducing the same FM problem. (ii) We then extend the variance analysis to general FM problems and formulate path selection at a fixed
θ as the variance-minimization problem PathOpt
θ, constrained to
gt∈G(pt,vt⋆). We show that this constraint is essential: reducing variance without it can lead to slower convergence. (iii) Since the constraint
gt∈G(pt,vt⋆) cannot generally be verified directly, we derive an equivalent formulation with constraints that can be estimated from samples, allowing paths to be found numerically. Our theoretical results are supported by experiments with Gaussian data, Gaussian mixture models, and real datasets.