TL;DR
BézierFlow is a lightweight training method that accelerates diffusion and flow models by optimizing the sampling trajectory itself using Bézier curves. It achieves a 2–3× performance boost in few-step generation (under 10 steps) with just 15 minutes of training, significantly outperforming traditional timestep-optimization methods.
The Challenge of Few-Step Generation
While diffusion and flow models produce stunning images, they are notoriously slow, often requiring hundreds of sequential steps to generate a single sample. Researchers have traditionally tried two main ways to fix this:
- Distillation: Training a new, faster model to mimic a slow one. This works well but is computationally expensive, often requiring hundreds or thousands of GPU hours.
- Lightweight Timestep Learning: Keeping the model fixed and simply finding the "optimal" times to take steps. This is fast to train (minutes) but limited because it only optimizes points along a pre-defined path.
The core challenge is expanding the search space beyond just picking discrete timesteps without incurring the massive costs of full model distillation. BézierFlow tackles this by allowing the sampling trajectory itself to be transformed and optimized.
Methods: Parameterizing Trajectories with Bézier Curves
The central innovation of BézierFlow is the use of Bézier functions to parameterize the "scheduler" of a Stochastic Interpolant (SI) framework.
In the SI framework, the path from noise to data is governed by coefficient functions (often denoted as $\alpha$ and $\sigma$). To make this path optimizable while remaining mathematically valid, the authors represent these functions as 1D Bézier curves.
This choice is highly effective because Bézier curves naturally satisfy three critical requirements for generation:
- Boundary Conditions: By fixing the first and last control points, the start (noise) and end (data) distributions remain unchanged.
- Differentiability: Bézier curves are infinitely differentiable, allowing for the stable calculation of velocity fields.
- Monotonicity: By enforcing a non-decreasing order on the interior control points, the authors ensure a strictly increasing signal-to-noise ratio (SNR), which is vital for stable sampling.
The training uses a teacher-forcing distillation approach. A high-quality "teacher" (using 50+ steps) generates a target, and the "student" (using 3–10 steps) tries to match that output by optimizing the Bézier control points. Because only a few dozen parameters are being learned, training takes only about 15 minutes on a single GPU.
Datasets and Evaluation
The authors evaluated BézierFlow across a wide variety of models and domains to prove its versatility:
- Diffusion Models: CIFAR-10, FFHQ (64x64), and AFHQv2 (64x64) using the EDM framework.
- Flow Models: CIFAR-10 (ReFlow), ImageNet (256x256, FlowDCN), and high-resolution text-to-image generation with Stable Diffusion v3.5 (MS-COCO).
- Beyond 2D Images: 3D Point Cloud generation (ShapeNet) and Unconditional Layout Generation (RICO).
Key Insights
- Trajectory > Timesteps: The "aha moment" of the paper is realizing that discrete timesteps are just a subset of a continuous trajectory. By optimizing the continuous path, you explore a much broader search space than previous methods, leading to better results with the exact same number of steps.
- Mathematical "Free Lunch": Using Bézier curves isn't just an aesthetic choice; it's a way to bake hard mathematical constraints (like monotonicity) directly into the parameterization. This makes the optimization much more stable than "Bespoke Solvers" that try to learn derivatives separately.
- Cross-Dataset Transfer: Surprisingly, a trajectory optimized for one dataset (like CIFAR-10) performs remarkably well when transferred to a completely different dataset (like FFHQ) without any retraining. This suggests that "optimal paths" share universal characteristics across different data distributions.
Key Results
- Efficiency: BézierFlow achieves results comparable to state-of-the-art distillation methods while requiring only ~0.13% of the training time (15 minutes vs. 8 days).
- Quality Gains: On CIFAR-10 with 4 steps, BézierFlow achieved an FID of 9.55, significantly beating the previous best lightweight method (LD3) at 12.04.
- Visual Fidelity: Qualitative results show that at very low step counts (NFE=6), BézierFlow produces much sharper details and fewer artifacts than competing methods, which often produce blurry or "melted" features at those speeds.
- Scalability: The method successfully improved Stable Diffusion v3.5, proving it works for large-scale, 2.5B parameter foundational models.
Limitations and Future Work
- NFE=1 Limit: Like all trajectory-learning methods, BézierFlow cannot be applied to 1-step generation, as there is no "path" to optimize with only a single function evaluation.
- Basis Functions: While Bézier curves are effective, the authors suggest that exploring other basis functions (like B-splines) might provide even more expressiveness for complex trajectories.
- Teacher Dependency: The student's performance is ultimately capped by the quality of the teacher's solver. If the teacher's 50-step output is flawed, the student will learn those flaws.
Summary updated