Skip to main content
QUICK REVIEW

[論文レビュー] Learning Fast Samplers for Diffusion Models by Differentiating Through Sample Quality

Daniel Watson, William Chan|arXiv (Cornell University)|Feb 11, 2022
Generative Adversarial Networks and Image Synthesis被引用数 23
ひとこと要約

論文は Differentiable Diffusion Sampler Search (DDSS) を導入し、サンプル品質を微分可能にすることで再訓練なしに通常より少ないステップで高品質なディフュージョンサンプリングを実現する、GGDM 系を用いた高速かつ非マルコフ的サンプラーの最適化を行う。

ABSTRACT

Diffusion models have emerged as an expressive family of generative models rivaling GANs in sample quality and autoregressive models in likelihood scores. Standard diffusion models typically require hundreds of forward passes through the model to generate a single high-fidelity sample. We introduce Differentiable Diffusion Sampler Search (DDSS): a method that optimizes fast samplers for any pre-trained diffusion model by differentiating through sample quality scores. We also present Generalized Gaussian Diffusion Models (GGDM), a family of flexible non-Markovian samplers for diffusion models. We show that optimizing the degrees of freedom of GGDM samplers by maximizing sample quality scores via gradient descent leads to improved sample quality. Our optimization procedure backpropagates through the sampling process using the reparametrization trick and gradient rematerialization. DDSS achieves strong results on unconditional image generation across various datasets (e.g., FID scores on LSUN church 128x128 of 11.6 with only 10 inference steps, and 4.82 with 20 steps, compared to 51.1 and 14.9 with strongest DDPM/DDIM baselines). Our method is compatible with any pre-trained diffusion model without fine-tuning or re-training required.

研究の動機と目的

  • 拡張せずに元の拃モデルの再訓練やファインチューニングを行うことなく、拡張 inference ステップ数を減らす動機づけ。
  • 高速サンプラーを探索する微分可能な最適化フレームワークを提案。
  • Generalized Gaussian Diffusion Model (GGDM) を柔軟なサンプラー系として導入。
  • 知覚損失(KID)を用いてサンプルを最適化すると、少ステップ領域でより高品質なサンプルが得られることを実証。

提案手法

  • 拡張を伴わずに拡散サンプリング過程を展開し、再パラメータ化トリックと勾配再材料化を用いてパラメトリックサンプラーを最適化。
  • 学習可能なパラメータで平均と分散を制御するサンプラー系(DDIM、VARS、GGDM および GGDM の派生形)を定義。
  • 人間の知覚品質と整合させるため Inception 特徴量で計算される Kernel Inception Distance (KID) に基づく知覚損失を使用(式7–9)。
  • ミニバッチ SGD(Adam)でサンプリング連鎖を微分可能にして、確率的サンプラをバックプロパゲーション。
  • 各デノイジングステップで前の(ノイジーな)全ての画像から情報を取り込む Generalized Gaussian Diffusion Models (GGDM) を導入。
  • 少ステップの性能を改善するためにタイムステップ選択(TIME)および予測係数(PRED)の学習を許可。

実験結果

リサーチクエスチョン

  • RQ1微分可能な最適化手法は、既知の少ステップベースの基準よりも優れた高速サンプラーを特定できるか。
  • RQ2知覚損失(KID)を最適化すると、尤度や ELBO のみの最適化よりも視覚的忠実度の高いサンプラーを得られるか。
  • RQ3GGDM 系は、DDIM や VARS に比べて高品質な少ステップサンプラーを見つける柔軟性があるか。

主な発見

サンプラーKFIDIS
DDPM (linear stride)584.275.396
DDPM (linear stride)1043.397.034
DDPM (linear stride)1531.407.609
DDPM (linear stride)2025.947.879
DDPM (linear stride)2522.608.043
DDPM (quadratic stride)576.255.435
DDPM (quadratic stride)1042.036.965
DDPM (quadratic stride)1527.787.714
DDPM (quadratic stride)2020.2258.128
DDPM (quadratic stride)2516.178.350
DDIM (linear stride)544.416.750
DDIM (linear stride)1019.117.965
DDIM (linear stride)1514.068.190
DDIM (linear stride)2011.828.420
DDIM (linear stride)2510.528.512
DDIM (quadratic stride)532.667.090
DDIM (quadratic stride)1013.628.190
DDIM (quadratic stride)159.3188.495
DDIM (quadratic stride)207.5008.641
DDIM (quadratic stride)256.5608.759
GGDM +PRED+TIME513.778.520
GGDM +PRED+TIME108.2278.903
GGDM +PRED+TIME156.1159.050
GGDM +PRED+TIME204.7229.261
GGDM +PRED+TIME254.2509.186
DDPM (linear stride)5122.05.878
DDPM (linear_stride)1058.7810.67
DDPM (linear_stride)1539.3013.22
DDPM (linear_stride)2031.3614.72
DDPM (linear_stride)2526.3615.71
DDPM (quadratic_stride)5394.81.351
DDPM (quadratic_stride)10129.55.997
DDPM (quadratic_stride)1580.109.595
DDPM (quadratic_stride)2061.3411.60
DDPM (quadratic_stride)2549.6013.01
DDIM (linear_stride)5135.45.898
DDIM (linear_stride)1040.7012.225
DDIM (linear_stride)1528.5413.99
DDIM (linear_stride)2024.22514.75
DDIM (linear_stride)2522.1315.16
DDIM (quadratic_stride)5409.11.380
DDIM (quadratic_stride)10148.65.533
DDIM (quadratic_stride)1567.659.842
DDIM (quadratic_stride)2045.6011.99
DDIM (quadratic_stride)2536.1113.225
GGDM +PRED+TIME555.1412.90
GGDM +PRED+TIME1037.3214.76
GGDM +PRED+TIME1524.6917.225
GGDM +PRED+TIME2020.6917.92
GGDM +PRED+TIME2518.4018.12
  • DDSS は、同じ小さなステップ予算で強力な基準よりも substantially 良い FID/IS スコアを達成する高速サンプラーを発見する(例:GGDM +PRED+TIME は 5–25 ステップで DDPM/DDIM ベースラインを上回る)。
  • KID を知覚損失として最適化すると、高忠実度のサンプルを得られ、CIFAR-10, ImageNet-64 などのデータセットで堅牢な改善が見られる。
  • GGDM はより広いサンプラー系であり、DDIM や VARS といった狭い系よりも一貫して少ステップでの性能が良く、元の順伝播過程と周辺が異なる場合でも効果を発揮する。
  • DDSS は事前訓練済みの DDPM のファインチューニングや再訓練を必要とせず、ワンショットの後処理的サンプラー探索として機能する。
  • CIFAR-10 および ImageNet-64 全体で、DDSS バリアントは非常に少ないステップ(例:CIFAR-10: 5–25 ステップ; ImageNet-64: 5–25 ステップ)で FID を大幅に低減し、IS も競争力を保持。
  • 定性的サンプルは、低ステップ数で DDIM(η=0) を超える非チェリーチョイスの改善を示す。

より良い研究を、今すぐ始めましょう

論文設計から論文執筆まで、研究時間を劇的に削減しましょう。

クレジットカード登録不要

このレビューはAIが作成し、人間の編集者が確認しました。