arXiv:2610.28898cs.LGOct 2026

Manuscript Offprint

arXiv:2610.28898

Minimax-Optimal Predictive Flow Matching under Distribution Drift

Aadithya Srikanth, Vaneet Aggarwal

ABSTRACT

Flow matching learns a generative velocity field by regression, but under distribution drift a field must be deployed before the current data arrive. We study this predictive problem for a fixed, possibly nonconvex, neural class, with dynamic regret against the best represented field of each round. We propose DyProd-FM, which refits flow matching on dyadic historical prefixes and selects among the fits with a sleeping Prod master. Without knowing any drift budget, it attains regret O~(min⁡{Nω+1,1+TΩ})\widetilde{O}(\min\{N_\omega + 1, 1 + \sqrt{T\Omega}\}) in the relative velocity risk variation Ω\Omega and O~(min⁡{Nμ+1,1+T1/3Vμ2/3})\widetilde{O}(\min\{N_\mu + 1, 1 + T^{1/3}V_\mu^{2/3}\}) in the target-law variation Vμ=∑tW2(μt+1,μt)V_\mu = \sum_t W_2(\mu_{t+1}, \mu_t), up to approximation and fitting costs. Matching lower bounds for fixed classes show that both rates are optimal in TT and in the budgets up to logarithmic factors. Prior optimal dynamic-regret guarantees rely on a convex decision set with strongly convex or exp-concave losses, whereas our class may be nonconvex and no curvature in its parameters is assumed. The target-law rate rests on a second-order link between the two variations, which the base noise of flow matching provides.

1 Introduction

Flow matching constructs a generative model by regressing a velocity field along a path from a base distribution to a target distribution (Lipman et al., 2023; Liu et al., 2023; Albergo et al., 2025). Its statistical analysis usually fixes the target while observations accumulate. In a changing environment, this separation between training and deployment is insufficient: a field learned from a large historical sample may accurately solve an obsolete regression problem. Conversely, discarding history after every observation forfeits the statistical benefit of repeated sampling. A predictive theory must quantify both effects under the information available when a field is deployed.

We study nonstationary stochastic flow matching with independent, fresh batches. A learner selects one represented field using past batches, then receives the current batch and scores every active candidate. Its benchmark is the best represented field for the current population, which may change every round. Learning rounds, along which the environment changes, are distinct from flow time, along which a selected field generates a sample.

How should drift be measured? The relative velocity risk variation Ω\Omega measures how drift changes the comparison between represented fields. It is class-relative and ignores changes the class cannot see. The target-law variation Vμ=∑tW2(μt+1,μt)V_{\mu} = \sum_t W_2(\mu_{t+1}, \mu_t) measures drift of the generative target itself. It is class-free and estimable from samples. We determine the minimax rate under both measures, up to logarithmic factors, for a fixed class and fixed problem scales.

Three difficulties arise. Historical batches are independent but heterogeneous, so one common comparator need not fit all past velocities. Historical fitting attains O(1/n)O(1/n) with nn examples, but standard online selection adds order T\sqrt{T} regret and erases this gain. First-order conversion of target drift into risk drift discards squared-loss curvature and yields only TVμ\sqrt{TV_\mu}. We must resolve all three for a nonconvex class without parameter-curvature assumptions. Section 5 resolves them in turn through historical estimation (Section 5.1), fast selection (Section 5.2), and drift transfer followed by horizon partitions (Sections 5.3–5.5).

∗^{*}Correspondence to: srikan18@purdue.edu.