Skip to main content
QUICK REVIEW

[Paper 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 Science8 citations
TL;DR

PixArt-α trains a Diffusion Transformer for T2I with a three-stage strategy, cross-attention integration, and high-information data to achieve competitive quality at a fraction of the training cost.

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.

Motivation & Objective

  • Decompose T2I training into pixel dependency, text-image alignment, and image aesthetics stages.
  • Incorporate cross-attention in a Diffusion Transformer for efficient conditioning.
  • Leverage high-information-density auto-labeled data to improve text-image alignment.
  • Initialize and fine-tune from lightweight baselines to reduce training cost and time.
  • Demonstrate competitive image quality and semantic control with low resource use.

Proposed method

  • Three-stage training strategy: pixel dependency learning, text-image alignment learning, and high-aesthetics high-resolution fine-tuning.
  • Efficient T2I Transformer design by adding cross-attention blocks to Diffusion Transformer and adopting adaLN-single for parameter efficiency.
  • Re-parameterization to reuse pretrained weights and accelerate convergence.
  • Auto-labeling pipeline using LLaVA to generate high-density captions on SAM-based data for better text-image alignment.
  • Data curation emphasizing high information density (SAM-LLaVA, LAION-LLaVA, internal HQ data) to boost learning efficiency.
  • Training details include 256×256 base, VAE from LDM, T5-XXL text encoder, and DiT-XL/2 backbone; multi-scale training and DPM-Solver sampling.

Experimental results

Research questions

  • RQ1Can PixArt-α achieve state-of-the-art-like image quality with significantly reduced training costs?
  • RQ2How do training stage decompositions and data quality affect text-image alignment efficiency and image aesthetics?
  • RQ3Does incorporating cross-attention and adaLN-single reduce computational demands while preserving generation fidelity?
  • RQ4To what extent can auto-labeled high-information captions improve semantic control in T2I models?
  • RQ5What are the comparative trade-offs in training data volume and CO2 emissions versus image quality?

Key findings

  • PixArt-α achieves FID of 7.32 on zero-shot COCO with only 12% of Stable Diffusion v1.5’s training time.
  • Training cost is ~753 A100 GPU days and $28,400, about 1% of RAPHAEL’s cost and 2% of SDv1.5’s data/time footprint.
  • Compared to RAPHAEL, PixArt-α uses roughly 1% of training resources while achieving competitive FID and strong semantic alignment.
  • Alignment performance on T2I-CompBench is strong across multiple attributes and relationships, indicating effective text-image conditioning.
  • User studies show PixArt-α superior in image quality and alignment versus several SOTA models (e.g., DALL-E 2, SDv2, SDXL).
  • Ablation studies confirm the necessity of re-parameterization and adaLN-single for memory/parameter efficiency and image fidelity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.