Explicit Regularization for Flow Matching
Abstract
Learning the underlying probability distribution from samples is a core problem in statistics and applied mathematics. Generative models based on diffusion and flow matching learn a velocity field whose flow transports a known distribution to the data distribution. They produce novel, realistic samples, although the empirical learning problem is ill posed near the data distribution. Its minimizer transports the samples onto the training data, and small perturbations of the data change the velocity field strongly near the end of the flow. The observed generalization is often attributed to implicit regularization by the network parameterization, early stopping of the training, and the time integration during sampling. Explicit regularization has advanced the theory and computation of many inverse problems and has recently been proposed to prevent memorization in generative models. With a regularizer on the magnitude of the velocity, however, the field approaches the memorizing velocity unless the regularization parameter grows to infinity fast enough, and it then stays bounded by a constant that is small only for large parameters. We show that penalizing the derivatives of order of the velocity renders the -dimensional empirical problem well posed uniformly in time if and the training points are in general position. Our experiments in one and two dimensions discretize the velocity with splines and use direct solvers for the regularized least-squares problems to exclude optimization error. Refining the discretization in space and time changes the error of the Hessian-regularized flows only marginally, whereas without the regularizer the error tends to that of memorization. These flows generalize, with errors comparable to or lower than those of well-tuned kernel density estimates.
Create a lesson
Metadata
- Categories
- cs.LG, cs.NA, math.NA
- Comments
- 40 pages (main text pp. 1-24, references pp. 24-26, appendices A-C pp. 27-40), 4 figures, 11 tables
Related papers
FMSNO: Scaling Surface Neural Operators by Learned Flow Matching Reparametrisation
Shared title terminologycs.LGVasilii Liamin, Oleg Bakhteev, Vladimir Vanovskiy
Flow Matching for Sampled-Data Control of Angular Distributions
Shared title terminologycs.LGXin Mao, Anqi Dong, Hongteng Xu et al.
Residual-Tail-Informed Flow Matching for Time Series Anomaly Detection
Shared title terminologycs.LGShyam Sundar Saravanan, Tie Luo, Sanjay Madria
Two-Stage Post-Training for Flow-Based Embodied Foundation Models
Shared title terminologycs.LGJiaming Zhang, Yao Lyu, Haoning Wang et al.
Byte Patches versus BPE at Matched Data: A Matched-Twin Comparison at 350M Parameters
Shared title terminologycs.LGAsadullah Maliyawala, Andrej Lisal
Flagging Batch Shift in Flow Cytometry using Jeffreys Divergence between Gaussian Mixtures
Shared title terminologycs.LGJonathan Legrand, Aguirre Mimoun, Audrey Bidet et al.