Simple ReFlow: Improved Techniques for Fast Flow Models

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Kim, Beomsu, Hsieh, Yu-Guan, Klein, Michal, Cuturi, Marco, Ye, Jong Chul, Kawar, Bahjat, Thornton, James
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866910643893829632
author Kim, Beomsu
Hsieh, Yu-Guan
Klein, Michal
Cuturi, Marco
Ye, Jong Chul
Kawar, Bahjat
Thornton, James
author_facet Kim, Beomsu
Hsieh, Yu-Guan
Klein, Michal
Cuturi, Marco
Ye, Jong Chul
Kawar, Bahjat
Thornton, James
contents Diffusion and flow-matching models achieve remarkable generative performance but at the cost of many sampling steps, this slows inference and limits applicability to time-critical tasks. The ReFlow procedure can accelerate sampling by straightening generation trajectories. However, ReFlow is an iterative procedure, typically requiring training on simulated data, and results in reduced sample quality. To mitigate sample deterioration, we examine the design space of ReFlow and highlight potential pitfalls in prior heuristic practices. We then propose seven improvements for training dynamics, learning and inference, which are verified with thorough ablation studies on CIFAR10 $32 \times 32$, AFHQv2 $64 \times 64$, and FFHQ $64 \times 64$. Combining all our techniques, we achieve state-of-the-art FID scores (without / with guidance, resp.) for fast generation via neural ODEs: $2.23$ / $1.98$ on CIFAR10, $2.30$ / $1.91$ on AFHQv2, $2.84$ / $2.67$ on FFHQ, and $3.49$ / $1.74$ on ImageNet-64, all with merely $9$ neural function evaluations.
format Preprint
id arxiv_https___arxiv_org_abs_2410_07815
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Simple ReFlow: Improved Techniques for Fast Flow Models
Kim, Beomsu
Hsieh, Yu-Guan
Klein, Michal
Cuturi, Marco
Ye, Jong Chul
Kawar, Bahjat
Thornton, James
Machine Learning
Computer Vision and Pattern Recognition
Diffusion and flow-matching models achieve remarkable generative performance but at the cost of many sampling steps, this slows inference and limits applicability to time-critical tasks. The ReFlow procedure can accelerate sampling by straightening generation trajectories. However, ReFlow is an iterative procedure, typically requiring training on simulated data, and results in reduced sample quality. To mitigate sample deterioration, we examine the design space of ReFlow and highlight potential pitfalls in prior heuristic practices. We then propose seven improvements for training dynamics, learning and inference, which are verified with thorough ablation studies on CIFAR10 $32 \times 32$, AFHQv2 $64 \times 64$, and FFHQ $64 \times 64$. Combining all our techniques, we achieve state-of-the-art FID scores (without / with guidance, resp.) for fast generation via neural ODEs: $2.23$ / $1.98$ on CIFAR10, $2.30$ / $1.91$ on AFHQv2, $2.84$ / $2.67$ on FFHQ, and $3.49$ / $1.74$ on ImageNet-64, all with merely $9$ neural function evaluations.
title Simple ReFlow: Improved Techniques for Fast Flow Models
topic Machine Learning
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2410.07815