Elucidating the Preconditioning in Consistency Distillation
Kaiwen Zheng, Guande He, Jianfei Chen, Fan Bao, Jun Zhu
TL;DR
This work analyzes the design of preconditioning for consistency distillation in diffusion models, connecting preconditioning to discretizations of the teacher PF-ODE. It introduces Analytic-Precond, an analytically computed preconditioning that minimizes the consistency gap by selecting $l_t$ and $s_t$ from the generalized ODE framework, yielding more aligned trajectory jumpers. Empirically, Analytic-Precond delivers 2×–3× training acceleration for CTMs in multi-step generation and improves trajectory alignment, with comparable performance to prior preconditionings in CMs. The method is efficient to compute (sub-1% training time) and demonstrates strong speed-quality trade-offs across CIFAR-10, FFHQ-64, and ImageNet-64, while acknowledging modest final FID gains and potential misuse concerns of faster generative systems.
Abstract
Consistency distillation is a prevalent way for accelerating diffusion models adopted in consistency (trajectory) models, in which a student model is trained to traverse backward on the probability flow (PF) ordinary differential equation (ODE) trajectory determined by the teacher model. Preconditioning is a vital technique for stabilizing consistency distillation, by linear combining the input data and the network output with pre-defined coefficients as the consistency function. It imposes the boundary condition of consistency functions without restricting the form and expressiveness of the neural network. However, previous preconditionings are hand-crafted and may be suboptimal choices. In this work, we offer the first theoretical insights into the preconditioning in consistency distillation, by elucidating its design criteria and the connection to the teacher ODE trajectory. Based on these analyses, we further propose a principled way dubbed \textit{Analytic-Precond} to analytically optimize the preconditioning according to the consistency gap (defined as the gap between the teacher denoiser and the optimal student denoiser) on a generalized teacher ODE. We demonstrate that Analytic-Precond can facilitate the learning of trajectory jumpers, enhance the alignment of the student trajectory with the teacher's, and achieve $2\times$ to $3\times$ training acceleration of consistency trajectory models in multi-step generation across various datasets.
