Minimizing Trajectory Curvature of ODE-based Generative Models

Sangyun Lee, Beomsu Kim, Jong Chul Ye
1/27/2023
cs.LGcs.AIcs.CV

Official code: sangyun884/fast-ode (91 stars, last commit 2025-02-14).

Abstract

Recent ODE/SDE-based generative models, such as diffusion models, rectified flows, and flow matching, define a generative process as a time reversal of a fixed forward process. Even though these models show impressive performance on large-scale datasets, numerical simulation requires multiple evaluations of a neural network, leading to a slow sampling speed. We attribute the reason to the high curvature of the learned generative trajectories, as it is directly related to the truncation error of a numerical solver. Based on the relationship between the forward process and the curvature, here we present an efficient method of training the forward process to minimize the curvature of generative trajectories without any ODE/SDE simulation. Experiments show that our method achieves a lower curvature than previous models and, therefore, decreased sampling costs while maintaining competitive performance. Code is available at https://github.com/sangyun884/fast-ode.

View on arXivView PDF

Code Implementations(1)

Official PyTorch implementation for the paper Minimizing Trajectory Curvature of ODE-based Generative Models, ICML 2023

916PythonJan 27, 20231 years ago
diffusion-modelsgenerative-modelsneural-odescore-based-generative-models

Similar Papers

Cite this paper

@article{lee2023minimizing,
  title  = {Minimizing Trajectory Curvature of ODE-based Generative Models},
  author = {Sangyun Lee and Beomsu Kim and Jong Chul Ye},
  year   = {2023},
  eprint = {2301.12003},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.12003v3},
  journal = {ICML 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2301.12003.svg)](https://codeofpaper.com/paper/2301.12003)

Discussion