Skip to main content
QUICK REVIEW

[論文レビュー] Dimba: Transformer-Mamba Diffusion Models

Zhengcong Fei, Mingyuan Fan|arXiv (Cornell University)|Jun 3, 2024
Vibration and Dynamic AnalysisEngineering被引用数 6
ひとこと要約

Dimbaは、TransformerとMamba層をクロスアテンションで積み重ねるハイブリッド拡散モデルを導入し、テキストから画像生成において、メモリ削減と柔軟なスループットを実現する競争力のある品質を達成します。さらに、大規模生成の効率化に向けたデータセット構築、品質調整、および解像度適応も探究します。

ABSTRACT

This paper unveils Dimba, a new text-to-image diffusion model that employs a distinctive hybrid architecture combining Transformer and Mamba elements. Specifically, Dimba sequentially stacked blocks alternate between Transformer and Mamba layers, and integrate conditional information through the cross-attention layer, thus capitalizing on the advantages of both architectural paradigms. We investigate several optimization strategies, including quality tuning, resolution adaption, and identify critical configurations necessary for large-scale image generation. The model's flexible design supports scenarios that cater to specific resource constraints and objectives. When scaled appropriately, Dimba offers substantial throughput and a reduced memory footprint relative to conventional pure Transformers-based benchmarks. Extensive experiments indicate that Dimba achieves comparable performance compared with benchmarks in terms of image quality, artistic rendering, and semantic control. We also report several intriguing properties of architecture discovered during evaluation and release checkpoints in experiments. Our findings emphasize the promise of large-scale hybrid Transformer-Mamba architectures in the foundational stage of diffusion models, suggesting a bright future for text-to-image generation.

研究の動機と目的

  • 拡散モデルにおけるメモリとスループットのバランスを取るための、ハイブリッドなアテンション–状態空間アーキテクチャの動機づけ。
  • 条件付けのためのクロスアテンションを備え、TransformerとMamba層を交互に配置する拡散バックボーン Dimba を開発。
  • 高品質で美学的に焦点を当てた画像-テキストデータを選別し、品質調整と解像度適応を適用。
  • リソース使用を抑えつつ、Dimba が競争力のある画像品質と意味的制御を達成することを実証。

提案手法

  • 条件付けのためのアテンション・クロスリンクを備え、TransformerとMamba層を交互に配置する Dimba ブロックを展開。
  • 時刻情報にはグローバル共有MLPを使用し、安定化のためにAdaLN層を適用。
  • Share-Captionerを用いて美学属性と意味的に濃密なキャプションでフィルタリングした大規模内部データセットで訓練。LAION aesthetics predictor を用いたフィルタリングを併用。
  • 過学習を避けるため、少量バッチで高品質データに対してファインチューニングし、早期停止を用いて品質調整を適用。
  • PE補間を用いた解像度スケーリングを検討し、ゼロからの訓練なしに高解像度出力を可能にする。
  • FIDをCOCO zero-shot、T2I-CompBench アラインメント、ヒト/AI の好み研究で評価。

実験結果

リサーチクエスチョン

  • RQ1ハイブリッドな Transformer–Mamba アーキテクチャは拡散モデルにおけるメモリ使用量とスループットにどのような影響を与えるか?
  • RQ2クロスアテンションは混合アーキテクチャのバックボーンをテキストから画像生成に効果的に条件付けできるか?
  • RQ3データキュレーションと訓練戦略は、画像品質、意味的整合性、効率性を最適にバランスさせるにはどれか?
  • RQ4解像度適応はハイブリッドなバックボーンとどのように相互作用し、高解像度生成を可能にするか?

主な発見

  • Dimbaは、COCOゼロショットでFID-30Kが8.93を達成し、選択したベースラインと比較して訓練時間11.2%、訓練サンプル2.0%である。
  • Dimba-Gは、画像-テキスト整合性指標(属性結合、オブジェクト関係、複雑な構成)でT2I-CompBenchにおいて顕著な性能を示す。
  • 長尺キャプションを用いた品質調整とデータキュレーションは美学的・意味的品質を向上させ、PE補間は高解像度での収束を加速する。
  • Dimbaは、アテンションとMambaの比率(K)を調整し、安定性のためにAdaLNを活用することで、柔軟なメモリ/スループットのトレードオフを提供する。
  • 大規模な純トランスフォーマーベースラインと比較して、Dimbaは訓練資源の約2%で、同等のFIDスコアを達成する。

この論文を読む

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

Nubintでこの論文を読む

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