Introduction
Consistency Models (CMs) have emerged as a high-efficiency alternative to traditional Diffusion Models (DMs), offering the ability to generate high-quality samples in as few as one or two inference steps. While DMs rely on an iterative denoising process that can require hundreds of steps, CMs learn a consistency function that maps any point on a noise-to-data trajectory directly to the data manifold. However, the performance of CMs is heavily dependent on the "discretization" of this trajectory during training. Traditionally, researchers have had to manually tune discretization schedules—a process that is both computationally expensive and dataset-specific.
This paper introduces Adaptive Discretization for Consistency Models (ADCMs), a framework that automates this process. By treating discretization as a constrained optimization problem, ADCMs dynamically calculate optimal training steps, reducing training budgets by up to 75% while achieving state-of-the-art results.
The Discretization Dilemma
To train a Consistency Model, the objective is to ensure that two adjacent points on a noise trajectory map to the same endpoint. The distance between these points, known as the discretization step ($\Delta t$), presents a critical trade-off:
- Trainability: If the step size is too large, the mapping becomes overly complex, making it difficult for the neural network to converge on a solution.
- Stability: If the step size is too small, the training process becomes susceptible to noise and numerical instability, often leading to divergence.
Historically, finding the "sweet spot" required extensive trial and error. ADCMs eliminate this manual intervention by allowing the model to adjust its own "gearbox" during training.
Methodology: The ADCM Framework
The authors reframe the selection of $\Delta t$ as a balance between two competing objectives:
- Local Consistency ($\mathcal{L}_{local}$): This term ensures the model's output remains stable between nearby points, promoting ease of training.
- Global Consistency ($\mathcal{L}_{global}$): This term monitors the denoising error, ensuring the model's predictions remain aligned with the ground truth data.
By applying a Lagrange multiplier ($\lambda$) to balance these forces and utilizing the Gauss-Newton method, the authors derive a closed-form analytical solution for the optimal step size. Under this framework, the step size is no longer a fixed hyperparameter but a dynamic value calculated based on:
- The Jacobian of the network (measuring the model's sensitivity at a specific point).
- The current denoising error.
- The linear correlation between the trajectory direction and the target.
Additionally, the framework includes an Adaptive Weighting Function that automatically down-weights training samples with excessively high denoising errors, further stabilizing the learning process.
Key Theoretical and Practical Insights
A Unified Theory of Discretization
A significant contribution of this work is the demonstration that previous discretization methods—such as those used in EDM or iCT—are actually special cases of the ADCM framework. By setting the Lagrange multiplier $\lambda$ to specific extremes (0 or infinity), one can recover these earlier, less flexible schedules.
Sensitivity-Aware Training
ADCMs reveal that the optimal step size is inversely proportional to the magnitude of the Jacobian. When the model's output is highly sensitive to changes in input, the framework automatically reduces the step size to ensure precision. Conversely, when the target is stable, it takes larger steps to accelerate learning.
Minimal Computational Overhead
Despite the underlying mathematical complexity, the calculation of adaptive steps is highly efficient. The authors report that ADCM adds only approximately 4% to the total training time, a negligible cost given the resulting gains in convergence speed.
Empirical Evaluation
The authors evaluated ADCMs across several standard benchmarks, including CIFAR-10, ImageNet 64x64, and ImageNet 512x512.
- CIFAR-10 Efficiency: ADCMs achieved a 1-step FID (Fréchet Inception Distance) of 3.16 using only 12.8 million training images. This represents a massive improvement over previous efficient models like ECM, which required 51.2 million images to reach a higher (worse) FID of 3.60.
- ImageNet Performance: On ImageNet 64x64, the model achieved a 1-step FID of 3.49, utilizing a fraction of the data required by deep iCT models (which often exceed 400 million images).
- Robustness: The method proved highly adaptable, working "out-of-the-box" for Flow Matching variants without requiring manual tuning of the noise trajectory.
Conclusion and Future Work
ADCMs represent a significant step forward in making Consistency Models more accessible and efficient. By automating the discretization process, the framework removes a major bottleneck in generative model training.
While the current work focuses on Consistency Training (CT) from scratch, future research may explore applying these adaptive techniques to Consistency Distillation (CD), where a pre-trained teacher model is used. Although the introduction of the Lagrange multiplier $\lambda$ remains a parameter to be set, its stability across different tasks suggests that ADCM is a robust solution for the next generation of fast generative models.
Summary updated