Skip to main content
QUICK REVIEW

[논문 리뷰] Accelerating Diffusion Models via Early Stop of the Diffusion Process

Zhaoyang Lyu, Xudong XU|arXiv (Cornell University)|2022. 05. 25.
Generative Adversarial Networks and Image SynthesisComputer Science인용 수 37
한 줄 요약

본 논문은 비가우시안 중간 상태에서 소거를 시작하고 선택적으로 사전 학습된 생성기(GAN/VAE)를 사용해 샘플링을 가속화하면서 품질을 향상시키는 조기 중지 확산 모델인 ES-DDPM을 제시한다.

ABSTRACT

Denoising Diffusion Probabilistic Models (DDPMs) have achieved impressive performance on various generation tasks. By modeling the reverse process of gradually diffusing the data distribution into a Gaussian distribution, generating a sample in DDPMs can be regarded as iteratively denoising a randomly sampled Gaussian noise. However, in practice DDPMs often need hundreds even thousands of denoising steps to obtain a high-quality sample from the Gaussian noise, leading to extremely low inference efficiency. In this work, we propose a principled acceleration strategy, referred to as Early-Stopped DDPM (ES-DDPM), for DDPMs. The key idea is to stop the diffusion process early where only the few initial diffusing steps are considered and the reverse denoising process starts from a non-Gaussian distribution. By further adopting a powerful pre-trained generative model, such as GAN and VAE, in ES-DDPM, sampling from the target non-Gaussian distribution can be efficiently achieved by diffusing samples obtained from the pre-trained generative model. In this way, the number of required denoising steps is significantly reduced. In the meantime, the sample quality of ES-DDPM also improves substantially, outperforming both the vanilla DDPM and the adopted pre-trained generative model. On extensive experiments across CIFAR-10, CelebA, ImageNet, LSUN-Bedroom and LSUN-Cat, ES-DDPM obtains promising acceleration effect and performance improvement over representative baseline methods. Moreover, ES-DDPM also demonstrates several attractive properties, including being orthogonal to existing acceleration methods, as well as simultaneously enabling both global semantic and local pixel-level control in image generation.

연구 동기 및 목표

  • 확률적 기초를 해치지 않으면서 DDPM의 속도 향상을 추진한다.
  • 비가우시안 중간 상태에서 시작하도록 원칙에 맞는 조기 중지 확산 전략을 제안한다.
  • ES-DDPM을 사전 학습된 생성기와 결합시켜 샘플 품질과 효율을 향상시키는 방법을 보인다.
  • 기존 가속기와 직교하다는 점과 제어 가능한 생성과의 호환성을 입증한다.
  • 학습 시 이점과 전역 의미 제어 및 국부 픽셀 수준 제어 가능성 탐구한다.

제안 방법

  • 가우시안 노이즈에 도달하기 전에 시간 T′에서 중지되는 부분 확산 과정을 정의한다.
  • 샘플링이 p(z)에서 시작되고 디코더 p_φ(x^{T′}|z)가 작동하도록 x^{T′}를 잠재 변수 z로 인코딩한다 q_ψ(z|x^0).
  • 공동 변분 목표 L_VAE(인코더/디코더)와 L_DDPM(역과정의 남은 부분 t≤T′)을 형식화한다.
  • q(x^{T′}|x^0)가 평균 √ᾱ_t x^0, 분산 (1−ᾱ_t) I인 가우시안에 근접함을 보여주고 VAE 항을 안내한다.
  • 사전 학습된 생성기(GAN/VAE)와 ES-DDPM을 결합하여 f_φ(z)로 x^{T′}를 생성한 후 ES-DDPM으로 T′단계 소거를 수행한다.
  • 다른 가속 방법들(DDIM, TR)과 GAN/StyleGAN2를 통한 제어 가능한 생성과의 호환성을 시연한다.

실험 결과

연구 질문

  • RQ1조기 중지된 확산 과정이 제거 단계 수를 줄이면서 샘플 품질을 유지하거나 향상시킬 수 있는가?
  • RQ2사전 학습된 생성기(GAN/VAE)를 어떻게 통합해 역 확산의 비가우시안 시작점을 제공할 수 있는가?
  • RQ3ES-DDPM이 기존 가속 전략을 보완하고 GANs/VAEs와 결합했을 때 제어 가능한 생성을 가능하게 하는가?
  • RQ4전체 DDPM과 비교했을 때 ES-DDPM을 사용할 때의 학습 시간 및 샘플링 시간의 트레이드오프는 무엇인가?
  • RQ5표준 벤치마크(CIFAR-10, CelebA, ImageNet, LSUN)에서 FID/IS/sFID 및 Recall 측면에서 ES-DDPM의 성능은 어떠한가?
  • RQ6강력한 생성기와 결합했을 때 ES-DDPM이 전역 의미 제어와 국부 픽셀 수준 정제를 어느 정도까지 모두 향상시킬 수 있는가?

주요 결과

  • ES-DDPM은 샘플 품질을 개선하거나 일치시키면서 소거 단계 수를 크게 줄여(최고의 경우 1000에서 100까지).
  • 강력한 생성기(예: StyleGAN2)와의 결합은 CelebA, LSUN 등에서 더 적은 단계로도 일반 DDPM보다 더 나은 FID를 보인다.
  • 이 방법은 기존 가속 방법과 직교하며 DDIM이나 Timestep-Respacing 같은 방법과 결합 시 샘플링 속도를 더 향상시킬 수 있다.
  • 해당 방법은 생성기를 통한 전역 의미 제어와 확산 소거를 통한 국부 픽셀 수준 정제를 모두 가능하게 한다.
  • 학습 시간 이점이 관찰되며, 사전 학습된 생성기와 결합할 때 전체 DDPM보다 수렴이 빨라질 수 있다(StyleGAN2 같은 보조 모델 학습 시간 포함).
  • 다중 범주 데이터셋에서 T′를 증가시키면 Recall이 향상되지만 전체 길이의 DDPM을 능가하려면 더 많은 단계가 필요할 수 있고, 단일 범주 데이터셋은 품질과 효율성 모두에서 강력한 이점을 본다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.