Skip to main content
QUICK REVIEW

[論文レビュー] One Transformer Fits All Distributions in Multi-Modal Diffusion at Scale

Fan Bao, Shen Nie|arXiv (Cornell University)|Mar 12, 2023
Domain Adaptation and Few-Shot LearningComputer Science被引用数 29
ひとこと要約

UniDiffuser は、単一のトランスフォーマーベースの拡散モデルを提示し、マルチモーダルデータ(画像-テキスト)の周辺分布、条件付き分布、結合分布を共同で学習する。これにより、競争力のある品質で多様な生成タスクを実行できる。

ABSTRACT

This paper proposes a unified diffusion framework (dubbed UniDiffuser) to fit all distributions relevant to a set of multi-modal data in one model. Our key insight is -- learning diffusion models for marginal, conditional, and joint distributions can be unified as predicting the noise in the perturbed data, where the perturbation levels (i.e. timesteps) can be different for different modalities. Inspired by the unified view, UniDiffuser learns all distributions simultaneously with a minimal modification to the original diffusion model -- perturbs data in all modalities instead of a single modality, inputs individual timesteps in different modalities, and predicts the noise of all modalities instead of a single modality. UniDiffuser is parameterized by a transformer for diffusion models to handle input types of different modalities. Implemented on large-scale paired image-text data, UniDiffuser is able to perform image, text, text-to-image, image-to-text, and image-text pair generation by setting proper timesteps without additional overhead. In particular, UniDiffuser is able to produce perceptually realistic samples in all tasks and its quantitative results (e.g., the FID and CLIP score) are not only superior to existing general-purpose models but also comparable to the bespoken models (e.g., Stable Diffusion and DALL-E 2) in representative tasks (e.g., text-to-image generation).

研究の動機と目的

  • 周辺分布、条件付き分布、結合分布のすべてをカバーできる一般的なマルチモーダル生成フレームワークの動機づけ。
  • 1つのモデルで複数のモダリティを扱う統合拡 Diffusion ベースのアプローチを開発する。
  • トランスフォーマー・バックボーンがスケールすればモダリティ間の相互作用を効率的にモデル化できることを示す。
  • 追加のトレーニング負荷なしに、統合モデルがさまざまな生成タスク(無条件、条件付き、結合)を実行できることを示す。

提案手法

  • モダリティ横断の摂動データにおけるノイズを予測することにより、周辺分布、条件付き分布、結合分布の学習を拡散モデル化の再定式化を行う。
  • すべてのモダリティを潜在的に異なるタイムステップで摂動し、すべてのモダリティのノイズを出力する結合ノイズ予測器を訓練する。
  • 画像とテキストエンコードの潜在埋め込み上で動作するトランスフォーマー・バックボーン(U-ViT)でモデルをパラメータ化する。
  • 画像はAEベースの埋め込みとCLIPセマンティック埋め込みの2部構成の潜在表現でエンコードする。テキストはCLIPとGPT-2デコーダを組み合わせ、すべて共通の潜在空間でエンコードする。
  • モダリティ横断かつ潜在の異なるタイムステップを含む結合ノイズ予測器を訓練するために単一の回帰損失を用い、サンプリング時に classifier-free ガイダンスを無料で有効にする。
  • タイムステップを調整し統合ノイズ予測器を活用して、無条件・条件付き・結合生成のサンプリングを実証する。

実験結果

リサーチクエスチョン

  • RQ1タスク固有のアーキテクチャを用いずに、1つの拡散モデルがマルチモーダルデータの周辺分布・条件付き分布・結合分布を捉えられるだろうか?
  • RQ2統一フレームワークでさまざまな条件付シナリオを実現するために、タイムステップをモダリティ全体でどう扱うべきか?
  • RQ3トランスフォーマー系のバックボーンは、大規模な画像-テキストデータセットに効果的にスケールし、多様な生成タスクで競争力のあるサンプル品質を提供できるか?

主な発見

  • UniDiffuser は、画像・テキスト・テキスト→画像・画像→テキスト・画像とテキストの組み合わせ生成を含む知覚的に現実的なサンプルを、適切なタイムステップを設定することで達成する。
  • 0ショットの MS-COCO FID では UniDiffuser が 9.71 に到達し、いくつかの特定モデルと競合し、報告済み設定では Versatile Diffusion より優れている。
  • UniDiffuser は CFG スケールおよび CLIP・FID などの指標で、テキスト→画像と画像→テキストの生成の両方で Versatile Diffusion を一貫して上回る。
  • 分類器なしガイダンスは条件付きおよび結合サンプリングの両方で無料で適用でき、追加の訓練なしに画像-テキストの整合性とサンプル品質を向上させる。

この論文を読む

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

Nubintでこの論文を読む

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