Variational Flow Maps: Make Some Noise for One-Step Conditional Generation
Organizations: Department of Statistics, University of Oxford · California Institute of Technology · University of Toronto · NVIDIA
Abstract
Flow maps enable high-quality image generation in a single forward pass. However, unlike iterative diffusion models, their lack of an explicit sampling trajectory impedes incorporating external constraints for conditional generation and solving inverse problems. We put forth Variational Flow Maps, a framework for conditional sampling that shifts the perspective of conditioning from "guiding a sampling path", to that of "learning the proper initial noise". Specifically, given an observation, we seek to learn a noise adapter model that outputs a noise distribution, so that after mapping to the data space via flow map, the samples respect the observation and data prior. To this end, we develop a principled variational objective that jointly trains the noise adapter and the flow map, improving noise-data alignment, such that sampling from complex data posterior is achieved with a simple adapter. Experiments on various inverse problems show that VFMs produce well-calibrated conditional samples in a single (or few) steps. For ImageNet, VFM attains competitive fidelity while accelerating the sampling by orders of magnitude compared to alternative iterative diffusion/flow models. Code is available at https://github.com/abbasmammadov/VFM
Figures & tables
| Task | Method | NFE | PSNR ( ) | SSIM ( ) | LPIPS ( ) | FID ( ) | MMD ( ) | CRPS DINO ( ) | CRPS Inc ( ) | Time (s) ( ) |
|---|---|---|---|---|---|---|---|---|---|---|
| Inpaint (box) | Latent DPS | 250 2 | 22.80 | 0.704 | 0.349 | 62.89 | 0.132 | 0.511 | 0.389 | 7.223 |
| Latent DAPS | 250 2 | 23.98 | 0.707 | 0.348 | – | – | 0.468 | 0.365 | 43.93 | |
| PSLD | 250 2 | 22.61 | 0.699 | 0.346 | 67.22 | 0.153 | 0.536 | 0.435 | 10.07 | |
| MPGD | 250 2 | 22.76 | 0.705 | 0.350 | 62.35 | 0.132 | 0.510 | 0.388 | 7.487 | |
| FlowChef | 250 2 | 22.80 | 0.704 | 0.349 | 63.20 | 0.133 | 0.512 | 0.389 | 7.612 | |
| FlowDPS | 250 2 | 23.21 | 0.706 | 0.364 | 75.62 | 0.166 | 0.606 | 0.482 | 14.47 |
Appendix figures & tables18 assets
Supplementary material from the paper’s appendix.
Appendix
| Task | Method | NFE | PSNR ( ) | SSIM ( ) | LPIPS ( ) | FID ( ) | MMD ( ) | CRPS DINO ( ) | CRPS Inc ( ) | Time (s) ( ) |
|---|---|---|---|---|---|---|---|---|---|---|
| Inpaint (random) | Latent DPS | 250 2 | 26.01 | 0.721 | 0.337 | 55.81 | 0.113 | 0.472 | 0.363 | 7.2164 |
| Latent DAPS | 250 2 | 25.09 | 0.671 | 0.384 | – | – | 0.474 | 0.356 | 44.347 | |
| PSLD | 250 2 | 25.63 | 0.713 | 0.338 | 56.13 | 0.123 | 0.462 | 0.386 | 10.286 | |
| MPGD | 250 2 | 26.03 | 0.720 | 0.339 | 55.82 | 0.112 | 0.470 | 0.363 | 7.3512 | |
| FlowChef | 250 2 | 26.01 | 0.720 | 0.338 | 55.73 | 0.111 | 0.471 | 0.364 | 7.3885 | |
| FlowDPS | 250 2 | 25.80 | 0.729 | 0.344 | 62.62 | 0.139 | 0.557 | 0.453 | 14.054 |
Conditional Generative Modeling
Conditional generative modeling learns to produce data distributions steered by labels, inputs, text, or physical and structural constraints.
See all 387 papers