[Paper Review] Minimizing Trajectory Curvature of ODE-based Generative Models
This paper proposes a method to minimize trajectory curvature in ODE-based generative models by training the forward process to reduce intersections between trajectories, leading to lower truncation error and faster sampling. By formulating the problem as a time-conditional β-VAE, the approach achieves significantly lower FID scores (e.g., 18.74 vs. 37.19 at 5 NFEs) without requiring ODE simulation during training.
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.
Motivation & Objective
- To address the high sampling cost in ODE-based generative models, which stems from high trajectory curvature and associated truncation error in numerical solvers.
- To investigate the relationship between forward trajectory intersections and reverse trajectory curvature in rectified flow and ODE/SDE-based models.
- To develop a training method that minimizes trajectory curvature without requiring ODE simulation during training.
- To enable faster sampling with fewer function evaluations while maintaining competitive generative performance.
- To provide a complementary, efficient alternative to existing acceleration techniques for ODE-based generative models.
Proposed method
- The method trains the forward process to minimize the degree of intersection between forward trajectories, which correlates with reverse trajectory curvature.
- It formulates the forward process as a time-conditional decoder in a β-VAE framework, where the latent code is conditioned on time and input data.
- The model is trained using a variational objective that penalizes high intersection through a KL divergence term scaled by β.
- The curvature reduction is achieved implicitly by encouraging forward trajectories to diverge, preventing them from converging toward a common path.
- The method does not require ODE simulation during training, making it computationally efficient and scalable.
- The approach is compatible with existing ODE/SDE-based models and can be combined with other acceleration techniques.
Experimental results
Research questions
- RQ1How does the intersection of forward trajectories relate to the curvature of the reverse generative trajectory in ODE-based models?
- RQ2Can reducing forward trajectory intersections lead to lower curvature in the reverse process without ODE simulation?
- RQ3To what extent can curvature minimization improve sampling efficiency with fewer function evaluations?
- RQ4How does the proposed method compare to baseline ODE-based models in terms of FID and sample quality under limited sampling budgets?
- RQ5Can the method be generalized to different architectures and datasets without retraining?
Key findings
- The proposed method achieved an FID score of 18.74 on CIFAR-10 with only 5 function evaluations (NFE), significantly outperforming the baseline’s 37.19 under the same conditions.
- Even with full ODE simulation using the RK45 solver, the method with β=20 achieved superior sample quality across all NFE settings.
- The method reduced trajectory curvature more effectively than previous models, leading to lower truncation error in numerical solvers.
- The approach demonstrated improved distillation performance, generating high-quality one-step student models with lower distillation error.
- The method is robust across datasets, showing consistent improvements on MNIST, CIFAR-10, and CelebAHQ (64×64).
- A high β value (e.g., 20) consistently outperformed the baseline across all sampling budgets, reducing the need for manual hyperparameter tuning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.