Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Improving and generalizing flow-based generative models with minibatch optimal transport

About

Continuous normalizing flows (CNFs) are an attractive generative modeling technique, but they have been held back by limitations in their simulation-based maximum likelihood training. We introduce the generalized conditional flow matching (CFM) technique, a family of simulation-free training objectives for CNFs. CFM features a stable regression objective like that used to train the stochastic flow in diffusion models but enjoys the efficient inference of deterministic flow models. In contrast to both diffusion models and prior CNF training algorithms, CFM does not require the source distribution to be Gaussian or require evaluation of its density. A variant of our objective is optimal transport CFM (OT-CFM), which creates simpler flows that are more stable to train and lead to faster inference, as evaluated in our experiments. Furthermore, we show that when the true OT plan is available, our OT-CFM method approximates dynamic OT. Training CNFs with CFM improves results on a variety of conditional and unconditional generation tasks, such as inferring single cell dynamics, unsupervised image translation, and Schr\"odinger bridge inference.

Alexander Tong, Kilian Fatras, Nikolay Malkin, Guillaume Huguet, Yanlei Zhang, Jarrid Rector-Brooks, Guy Wolf, Yoshua Bengio• 2023

Related benchmarks

TaskDatasetResultRank
Unconditional Image GenerationCIFAR-10 unconditional
FID4.49
159
Class-conditional Image GenerationImageNet 64x64
FID5.36
126
Image GenerationCIFAR-10
FID4.4
95
Anomaly DetectionSMAP (test)
Precision89.3
35
Intermediate distribution restorationSingle-cell data (intermediate time points ti for i in {1, 2, 3})
W1 Score0.79
15
Image-to-Image TranslationHandbags to Shoes (test)
FID12.7
9
Image-to-Image TranslationCelebA Male to Female (test)
FID11.55
9
Generative ModelingDarcy flow 1024 samples (test)
Relative Error4.159
7
Generative Flow ModelingDynamic Stall (test)
RE11.02
5
Generative Flow ModelingKolmogorov Flow (test)
IT98.75
4
Showing 10 of 10 rows

Other info

Follow for update