Consistency Models Made Easy

Zhengyang Geng, Ashwini Pokle, William Luo, Justin Lin, J. Zico Kolter
6/20/2024
cs.LGcs.CV

Official code: locuslab/ect (332 stars, last commit 2024-10-13).

Abstract

Consistency models (CMs) offer faster sampling than traditional diffusion models, but their training is resource-intensive. For example, as of 2024, training a state-of-the-art CM on CIFAR-10 takes one week on 8 GPUs. In this work, we propose an effective scheme for training CMs that largely improves the efficiency of building such models. Specifically, by expressing CM trajectories via a particular differential equation, we argue that diffusion models can be viewed as a special case of CMs. We can thus fine-tune a consistency model starting from a pretrained diffusion model and progressively approximate the full consistency condition to stronger degrees over the training process. Our resulting method, which we term Easy Consistency Tuning (ECT), achieves vastly reduced training times while improving upon the quality of previous methods: for example, ECT achieves a 2-step FID of 2.73 on CIFAR10 within 1 hour on a single A100 GPU, matching Consistency Distillation trained for hundreds of GPU hours. Owing to this computational efficiency, we investigate the scaling laws of CMs under ECT, showing that they obey the classic power law scaling, hinting at their ability to improve efficiency and performance at larger scales. Our code (https://github.com/locuslab/ect) is publicly available, making CMs more accessible to the broader community.

View on arXivView PDF

Code Implementations(1)

locuslab/ectOfficial100%

Consistency Models Made Easy

33215Shell, PythonMar 27, 20242 years ago

Similar Papers

Cite this paper

@article{geng2024consistency,
  title  = {Consistency Models Made Easy},
  author = {Zhengyang Geng and Ashwini Pokle and William Luo and Justin Lin and J. Zico Kolter},
  year   = {2024},
  eprint = {2406.14548},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.14548v2},
  journal = {ICLR 2024 2024}
}

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/2406.14548.svg)](https://codeofpaper.com/paper/2406.14548)

Discussion