Skip to main content
QUICK REVIEW

[論文レビュー] PixArt-$α$: Fast Training of Diffusion Transformer for Photorealistic Text-to-Image Synthesis

Jun Song Chen, Jincheng Yu|arXiv (Cornell University)|Sep 30, 2023
Advanced Image and Video Retrieval TechniquesComputer Science被引用数 8
ひとこと要約

PixArt-αはDiffusion TransformerをT2I用に訓練し、三段階戦略、クロスアテンション統合、情報量の多いデータを活用することで、訓練コストの大幅削減にもかかわらず競争力のある品質を実現する。

ABSTRACT

The most advanced text-to-image (T2I) models require significant training costs (e.g., millions of GPU hours), seriously hindering the fundamental innovation for the AIGC community while increasing CO2 emissions. This paper introduces PIXART-$α$, a Transformer-based T2I diffusion model whose image generation quality is competitive with state-of-the-art image generators (e.g., Imagen, SDXL, and even Midjourney), reaching near-commercial application standards. Additionally, it supports high-resolution image synthesis up to 1024px resolution with low training cost, as shown in Figure 1 and 2. To achieve this goal, three core designs are proposed: (1) Training strategy decomposition: We devise three distinct training steps that separately optimize pixel dependency, text-image alignment, and image aesthetic quality; (2) Efficient T2I Transformer: We incorporate cross-attention modules into Diffusion Transformer (DiT) to inject text conditions and streamline the computation-intensive class-condition branch; (3) High-informative data: We emphasize the significance of concept density in text-image pairs and leverage a large Vision-Language model to auto-label dense pseudo-captions to assist text-image alignment learning. As a result, PIXART-$α$'s training speed markedly surpasses existing large-scale T2I models, e.g., PIXART-$α$ only takes 10.8% of Stable Diffusion v1.5's training time (675 vs. 6,250 A100 GPU days), saving nearly \$300,000 (\$26,000 vs. \$320,000) and reducing 90% CO2 emissions. Moreover, compared with a larger SOTA model, RAPHAEL, our training cost is merely 1%. Extensive experiments demonstrate that PIXART-$α$ excels in image quality, artistry, and semantic control. We hope PIXART-$α$ will provide new insights to the AIGC community and startups to accelerate building their own high-quality yet low-cost generative models from scratch.

研究の動機と目的

  • ピクセル依存性、テキスト-画像整合、画像美学の3段階に分解してT2I訓練を設計する。
  • Diffusion Transformerにクロスアテンションを組み込み、条件付けを効率化する。
  • ハイインフォメーション密度の自動ラベリングデータを活用してテキスト-画像整合を向上させる。
  • 軽量なベースラインから初期化とファインチューニングを行い、訓練コストと時間を削減する。
  • 低リソースで競争力のある画像品質と意味的制御を実証する。

提案手法

  • 三段階の訓練戦略:ピクセル依存性学習、テキスト-画像整合学習、高美学・高解像度微調整。
  • Diffusion Transformerにクロスアテンションブロックを追加し、パラメータ効率のためにadaLN-singleを採用した、効率的なT2Iトランスフォーマー設計。
  • 事前学習重みの再パラメータ化による再利用と収束の加速。
  • LLaVAを用いた自動ラベリングパイプラインで、SAMベースデータ上の高密度キャプションを生成し、テキスト-画像整合を向上。
  • 高情報密度を重視したデータ選定(SAM-LLaVA、LAION-LLaVA、内部HQデータ)により学習効率を高める。
  • 訓練詳細は256×256ベース、LDMのVAE、T5-XXLテキストエンコーダ、DiT-XL/2バックボーンを含み、マルチスケール訓練とDPM-Solverサンプリングを採用。

実験結果

リサーチクエスチョン

  • RQ1PixArt-αは訓練コストを大幅に削減しつつ最先端に近い画像品質を達成できるか?
  • RQ2訓練段階の分解とデータ品質がテキスト-画像整合性の効率と画像美学にどう影響するか?
  • RQ3クロスアテンションとadaLN-singleを組み込むことで計算要求を削減しつつ生成忠実度を保てるか?
  • RQ4自動ラベリングされた高情報キャプションはT2Iモデルの意味的制御をどの程度改善できるか?
  • RQ5データ量とCO2排出量と画像品質の比較的トレードオフはどうなるか?

主な発見

  • PixArt-αはZero-shot COCOでFID 7.32を達成し、Stable Diffusion v1.5の訓練時間の12%程度で済む。
  • 訓練コストは約753 A100 GPU日と$28,400で、RAPHAELのコストの約1%、SDv1.5のデータ/時間フットプリントの約2%程度。
  • RAPHAELと比較してPixArt-αは約1%の訓練リソースで競争力のあるFIDと強い意味的整合を達成。
  • T2I-CompBenchでの整合性性能は複数属性・関係性で強く、テキスト-画像条件付けが有効であることを示唆。
  • ユーザ―調査では、PixArt-αは他のSOTAモデル(例:DALL-E 2、SDv2、SDXL)と比べて画像品質と整合性で優れている。
  • アブレーション研究は、メモリ/パラメータ効率と画像忠実度のための再パラメータ化とadaLN-singleの必要性を確認。

この論文を読む

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

Nubintでこの論文を読む

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