Skip to main content
QUICK REVIEW

[논문 리뷰] Catch-Up Distillation: You Only Need to Train Once for Accelerating Sampling

Shitong Shao, Xu Dai|arXiv (Cornell University)|2023. 05. 18.
Machine Learning and Data ClassificationComputer Science인용 수 8
한 줄 요약

Catch-Up Distillation (CUD)은 Runge-Kutta 기반 다단계 증류를 사용하여 속도 추정기의 현재 출력이 이전 출력에 따라 잡히도록 만들어, 사전 학습 가중치 없이 단일 학습 세션에서 확산 샘플링을 가속합니다.

ABSTRACT

Diffusion Probability Models (DPMs) have made impressive advancements in various machine learning domains. However, achieving high-quality synthetic samples typically involves performing a large number of sampling steps, which impedes the possibility of real-time sample synthesis. Traditional accelerated sampling algorithms via knowledge distillation rely on pre-trained model weights and discrete time step scenarios, necessitating additional training sessions to achieve their goals. To address these issues, we propose the Catch-Up Distillation (CUD), which encourages the current moment output of the velocity estimation model ``catch up'' with its previous moment output. Specifically, CUD adjusts the original Ordinary Differential Equation (ODE) training objective to align the current moment output with both the ground truth label and the previous moment output, utilizing Runge-Kutta-based multi-step alignment distillation for precise ODE estimation while preventing asynchronous updates. Furthermore, we investigate the design space for CUDs under continuous time-step scenarios and analyze how to determine the suitable strategies. To demonstrate CUD's effectiveness, we conduct thorough ablation and comparison experiments on CIFAR-10, MNIST, and ImageNet-64. On CIFAR-10, we obtain a FID of 2.80 by sampling in 15 steps under one-session training and the new state-of-the-art FID of 3.37 by sampling in one step with additional training. This latter result necessitated only 620k iterations with a batch size of 128, in contrast to Consistency Distillation, which demanded 2100k iterations with a larger batch size of 256. Our code is released at https://anonymous.4open.science/r/Catch-Up-Distillation-E31F.

연구 동기 및 목표

  • 추가 학습이나 사전 학습 교사 없이 확산 확률 모델(DPMs)의 샘플링 속도 향상을 촉진한다.
  • 현재 모멘트 출력과 이전 모멘트 출력을 정렬하고 동시에 실제 정답과 일치시키기 위해 Catch-Up Distillation를 도입한다.
  • 안정성을 해치지 않으면서 가속화를 극대화하기 위해 연속 시간 및 Runge-Kutta 기반 전략을 탐색한다.

제안 방법

  • 속도 추정기가 실제 정답과 이전 모멘트 출력(캐치업) 모두에 맞추도록 ODE 학습을 재정의한다.
  • 다중 중간 단계로부터 정보를 전달하기 위해 Runge-Kutta 기반 다단계 정렬 증류를 사용한다.
  • 재매개변수화된 잡음 인코더와 MSE와 KL 항을 결합한 최소 증류 손실을 통해 실제 정답 감독을 통합한다.
  • 비 EMA 캐치업 샘플링, 임의의 스텝 크기, 동적 건너뛰기 연결 등과 같은 전략으로 UNet 기반 속도 모델에서 설계 공간을 탐색한다.
  • 샘플링 속도와 샘플 품질의 균형을 맞추기 위한 RK12/RK23/RK34 변형을 제공하고, Rectified Flow, CD, PD 베이스라인과 비교한다.

실험 결과

연구 질문

  • RQ1 Catch-Up Distillation이 사전 학습 가중치 없이 단일 학습 세션에서 가속화된 샘플링을 가능하게 할 수 있는가?
  • RQ2연속 시간 확산 모델용 다단계 정렬 증류를 가장 잘 가능하게 하는 Runge-Kutta 기반 전략은 무엇인가?
  • RQ3설계 선택(무작위 스텝 크기, EMA 사용, 동적 건너뛰기 연결)이 안정성과 샘플 품질에 어떤 영향을 미치는가?
  • RQ4CUD가 표준 데이터셋(CIFAR-10, MNIST, ImageNet-64)에서 기존의 one-session 및 two-session 증류 방법 대비 어떤 성능을 보이는가?

주요 결과

  • CUD는 사전 학습 가중치 없이 단일 학습 세션에서 샘플링 가속화를 달성합니다.
  • CIFAR-10에서 RK23 + Euler 15 스텝의 CUD는 FID 2.80 및 IS 9.36를 달성하며, 유사한 스텝 예산에서 여러 베이스라인을 능가합니다.
  • CIFAR-10에서 15 스텝의 단일 세션 학습은 FID 2.80 (RK23+Euler 15)에 도달하는 반면, 추가 학습이 포함된 한 스텝 샘플링은 620k 반복에서 FID 3.37(배치 크기 128)을 달성합니다. 반면 Consistency Distillation은 배치 256에서 2.1M 반복이 필요합니다.
  • 분해 실험은 캐치 업 샘플링에 학습 모델(EMA 아님)을 사용하고 고정되지 않은 스텝 크기(균일 또는 규칙)와 동적 건너뛰기 연결을 함께 사용할 때 특히 몇 단계 환경에서 성능을 크게 향상시킵니다.
  • Runge-Kutta 차수는(CIFAR-10/MNIST에서) RK23가 종종 최적의 타협을 제공하고, RK34가 일부 경우에서 가장 강한 가속화를 제공하며, MNIST는 RK34에서 상당히 이익을 얻습니다.
  • 이 방법은 몇 단계 생성에서 이전의 one-session 방법들(DPM-solver-2, DDIM 변형 등)보다 우수한 성능을 보이며, 합리적인 샘플 품질을 유지합니다.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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