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)|May 18, 2023
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.

研究の動機と目的

  • Diffusion probability models (DPMs) の追加のトレーニングや事前学習済み教師なしで、サンプリングを Faster にする動機付け。
  • Catch-Up Distillation を導入して、現在のモーメント出力と前のモーメント出力を整列させつつ、グラウンドトゥルースにも一致させる。
  • 連続時間および Runge-Kutta ベースの戦略を検討し、安定性を損なわず加速を最大化する。

提案手法

  • 速度推定器がグラウンドトゥルースと前のモーメント出力(キャッチアップ)に一致するように、ODE トレーニングを再定式化する。
  • Runge-Kutta ベースの多段整列蒸留を用いて、複数の中間ステップから情報を伝播させる。
  • 再parameterized ノイズエンコーダと最小限の蒸留損失(MSE と KL の項を組み合わせ)によるグラウンドトゥル supervision を組み込む。
  • EMA 非使用のキャッチアップサンプリング、ランダムステップサイズ、UNet ベースの速度モデルにおける動的スキップ接続など、設計空間を探索する。
  • サンプリング速度とサンプル品質のバランスを取る RK12/RK23/RK34 の変種を提供し、Rectified Flow、CD、PD のベースラインと比較する。

実験結果

リサーチクエスチョン

  • RQ1事前学習済みウェイトなしで、単一の学習セッションでキャッチアップ蒸留は加速サンプリングを実現できるか?
  • RQ2連続時間拡散モデルの多段整列蒸留を最も適切に実現する Runge-Kutta ベースの戦略は何か?
  • RQ3設計選択(ランダムなステップサイズ、EMA の使用、ダイナミックスキップ接続)は安定性とサンプル品質にどう影響するか?
  • RQ4CUD は CIFAR-10、MNIST、ImageNet-64 などの標準データセット上で、従来のワンセッション・ツーセッション蒸留手法と比較してどうか?

主な発見

  • CUD は事前学習済み重みなしで単一の学習セッションにおいて加速サンプリングを達成する。
  • CIFAR-10 で、Runge-Kutta 23 + Euler 15 ステップの組み合わせは FID 2.80、IS 9.36 を達成し、同等のステップ予算下でいくつかのベースラインを上回る。
  • 15ステップと1セッション学習で CIFAR-10 は FID 2.80(RK23+Euler 15)、追加学習を伴う1ステップサンプリングは FID 3.37、イテレーション 620k(バッチサイズ 128)に達するのに対し、Consistency Distillation は 2.1M イテレーションを必要(バッチ 256)。
  • トレーニングモデルをキャッチアップサンプリングに使用すること(EMA ではない)と、非固定ステップサイズ(均等または規則)と動的スキップ接続を組み合わせる ablation は、特に少ステップのシナリオで性能を大幅に向上させる。
  • Runge-Kutta の次数は影響を与え:RK23 は CIFAR-10/MNIST で最良のトレードオフを示すことが多く、RK34 はいくつかのケースで最も強い加速を提供し、MNIST は RK34 から大きな恩恵を受ける。
  • 本手法は、少ステップ生成において従来の one-shot 系(例:DPM-solver-2、DDIM 系)よりも優れており、サンプル品質も概ね保つ。

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。