Skip to main content
QUICK REVIEW

[Paper Review] Improved Techniques for Training Consistency Models

Yang Song, Prafulla Dhariwal|arXiv (Cornell University)|Oct 22, 2023
Generative Adversarial Networks and Image SynthesisComputer Science12 citations
TL;DR

The paper improves consistency training by removing EMA from the teacher, using Pseudo-Huber losses instead of LPIPS, and introducing a lognormal noise schedule and discretization curriculum, achieving stateful FID gains in one and two-step sampling without distillation.

ABSTRACT

Consistency models are a nascent family of generative models that can sample high quality data in one step without the need for adversarial training. Current consistency models achieve optimal sample quality by distilling from pre-trained diffusion models and employing learned metrics such as LPIPS. However, distillation limits the quality of consistency models to that of the pre-trained diffusion model, and LPIPS causes undesirable bias in evaluation. To tackle these challenges, we present improved techniques for consistency training, where consistency models learn directly from data without distillation. We delve into the theory behind consistency training and identify a previously overlooked flaw, which we address by eliminating Exponential Moving Average from the teacher consistency model. To replace learned metrics like LPIPS, we adopt Pseudo-Huber losses from robust statistics. Additionally, we introduce a lognormal noise schedule for the consistency training objective, and propose to double total discretization steps every set number of training iterations. Combined with better hyperparameter tuning, these modifications enable consistency models to achieve FID scores of 2.51 and 3.25 on CIFAR-10 and ImageNet $64 imes 64$ respectively in a single sampling step. These scores mark a 3.5$ imes$ and 4$ imes$ improvement compared to prior consistency training approaches. Through two-step sampling, we further reduce FID scores to 2.24 and 2.77 on these two datasets, surpassing those obtained via distillation in both one-step and two-step settings, while narrowing the gap between consistency models and other state-of-the-art generative models.

Motivation & Objective

  • Motivate improving CT to match or surpass consistency distillation (CD) without relying on pre-trained diffusion models.
  • Eliminate biases and dependencies from learned metrics like LPIPS in training and evaluation.
  • Develop a training curriculum and noise-schedule that boost one-step sampling quality while remaining scalable.
  • Provide a deeper theoretical understanding of CT and address overlooked flaws in prior analysis.

Proposed method

  • Eliminate Exponential Moving Average (EMA) from the teacher network to fix a flaw in prior CT analysis.
  • Replace LPIPS with Pseudo-Huber losses as a robust, metric-free objective for training.
  • Introduce a lognormal distribution-based noise schedule for the CT objective.
  • Adopt a curriculum that doubles total discretization steps at intervals during training to improve data efficiency.
  • Demonstrate that CT with these changes surpasses CD in one-step and two-step sampling on CIFAR-10 and ImageNet 64x64.

Experimental results

Research questions

  • RQ1Can consistency training (CT) achieve higher sample quality than consistency distillation (CD) without relying on diffusion-model pretraining?
  • RQ2Does removing EMA from the teacher network resolve theoretical flaws in CT analysis and improve practical performance?
  • RQ3Do robust losses like Pseudo-Huber and a lognormal noise schedule improve CT without learned metrics like LPIPS?
  • RQ4How do discretization step schedules and training curricula impact one-step and multi-step sampling quality?

Key findings

  • CT with the proposed changes achieves FID scores of 2.51 (CIFAR-10) and 3.25 (ImageNet 64x64) in one sampling step.
  • Two-step sampling improves FID to 2.24 (CIFAR-10) and 2.77 (ImageNet 64x64), surpassing CD in both one-step and two-step settings.
  • Replacing LPIPS with Pseudo-Huber losses eliminates reliance on learned metrics and reduces evaluation bias.
  • A lognormal noise schedule and a discretization-step curriculum substantially improve sample quality and training efficiency.
  • CT methods with these improvements outperform prior CT and rival top diffusion models and GANs without distillation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.