Junsong Chen, Jincheng Yu, Chongjian Ge, Lewei Yao, Enze Xie, Yue Wu, Zhongdao Wang, James Kwok, Ping Luo, Huchuan Lu, Zhenguo Li
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-$\alpha$, 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-$\alpha$'s training speed markedly surpasses existing large-scale T2I models, e.g., PIXART-$\alpha$ 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-$\alpha$ excels in image quality, artistry, and semantic control. We hope PIXART-$\alpha$ will provide new insights to the AIGC community and startups to accelerate building their own high-quality yet low-cost generative models from scratch.
| Task | Dataset | Metric | Value | Model |
|---|---|---|---|---|
| Image Generation | WISE | Biology | 0.49 | PixArt-XL-2-1024-MS |
| Image Generation | WISE | Chemistry | 0.34 | PixArt-XL-2-1024-MS |
| Image Generation | WISE | Cultural | 0.45 | PixArt-XL-2-1024-MS |
| Image Generation | WISE | Overall | 0.47 | PixArt-XL-2-1024-MS |
| Image Generation | WISE | Physics | 0.56 | PixArt-XL-2-1024-MS |
| Image Generation | WISE | Space | 0.48 | PixArt-XL-2-1024-MS |
| Image Generation | WISE | Time | 0.5 | PixArt-XL-2-1024-MS |
| Image Generation | T2I-CompBench | Color | 0.6886 | PixArt-a |
| Image Generation | T2I-CompBench | Complex | 0.4117 | PixArt-a |
| Image Generation | T2I-CompBench | Non-Spatial | 0.3179 | PixArt-a |
| Image Generation | T2I-CompBench | Shape | 0.5582 | PixArt-a |
| Image Generation | T2I-CompBench | Spatial | 0.2082 | PixArt-a |
| Image Generation | T2I-CompBench | Texture | 0.7044 | PixArt-a |
| Text-to-Image Generation | T2I-CompBench | Color | 0.6886 | PixArt-a |
| Text-to-Image Generation | T2I-CompBench | Complex | 0.4117 | PixArt-a |
| Text-to-Image Generation | T2I-CompBench | Non-Spatial | 0.3179 | PixArt-a |
| Text-to-Image Generation | T2I-CompBench | Shape | 0.5582 | PixArt-a |
| Text-to-Image Generation | T2I-CompBench | Spatial | 0.2082 | PixArt-a |
| Text-to-Image Generation | T2I-CompBench | Texture | 0.7044 | PixArt-a |
| 10-shot image generation | T2I-CompBench | Color | 0.6886 | PixArt-a |
| 10-shot image generation | T2I-CompBench | Complex | 0.4117 | PixArt-a |
| 10-shot image generation | T2I-CompBench | Non-Spatial | 0.3179 | PixArt-a |
| 10-shot image generation | T2I-CompBench | Shape | 0.5582 | PixArt-a |
| 10-shot image generation | T2I-CompBench | Spatial | 0.2082 | PixArt-a |
| 10-shot image generation | T2I-CompBench | Texture | 0.7044 | PixArt-a |
| 1 Image, 2*2 Stitchi | T2I-CompBench | Color | 0.6886 | PixArt-a |
| 1 Image, 2*2 Stitchi | T2I-CompBench | Complex | 0.4117 | PixArt-a |
| 1 Image, 2*2 Stitchi | T2I-CompBench | Non-Spatial | 0.3179 | PixArt-a |
| 1 Image, 2*2 Stitchi | T2I-CompBench | Shape | 0.5582 | PixArt-a |
| 1 Image, 2*2 Stitchi | T2I-CompBench | Spatial | 0.2082 | PixArt-a |
| 1 Image, 2*2 Stitchi | T2I-CompBench | Texture | 0.7044 | PixArt-a |