arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2310.00426cs.CV
收藏

PixArt-$\alpha$:面向逼真文本到图像合成的扩散Transformer快速训练

PixArt-$α$: Fast Training of Diffusion Transformer for Photorealistic Text-to-Image Synthesis

Dalian University of Technology(大连理工大学);HKUST(香港科技大学);HKU(香港大学)

Junsong Chen, Jincheng Yu, Chongjian Ge, Lewei Yao, Enze Xie, Yue Wu, Zhongdao Wang, James Kwok, Ping Luo, Huchuan Lu, Zhenguo Li

AI总结:

本文提出PIXART-α,一种基于Transformer的扩散T2I模型,通过训练策略分解、高效Transformer和高信息量数据设计,实现低训练成本下与SOTA相当的图像质量,显著减少GPU时间和碳排放。

摘要:

最先进的文本到图像(T2I)模型需要巨大的训练成本(例如数百万GPU小时),严重阻碍了AIGC社区的基础创新,同时增加了二氧化碳排放。本文介绍了PIXART-$\alpha$,一种基于Transformer的T2I扩散模型,其图像生成质量与最先进的图像生成器(如Imagen、SDXL甚至Midjourney)相当,达到了接近商业应用的标准。此外,它支持高达1024px分辨率的高分辨率图像合成,且训练成本低,如图1和图2所示。为实现这一目标,我们提出了三项核心设计:(1)训练策略分解:我们设计了三个不同的训练步骤,分别优化像素依赖性、文本-图像对齐和图像美学质量;(2)高效T2I Transformer:我们将交叉注意力模块集成到扩散Transformer(DiT)中,以注入文本条件,并简化计算密集的类条件分支;(3)高信息量数据:我们强调文本-图像对中概念密度的重要性,并利用大型视觉-语言模型自动标注密集的伪标题,以辅助文本-图像对齐学习。因此,PIXART-$\alpha$的训练速度显著超过现有的大规模T2I模型,例如,PIXART-$\alpha$仅需Stable Diffusion v1.5训练时间的10.8%(675对6,250个A100 GPU天),节省了近30万美元(26,000美元对320,000美元),并减少了90%的二氧化碳排放。此外,与更大的最先进模型RAPHAEL相比,我们的训练成本仅为1%。大量实验表明,PIXART-$\alpha$在图像质量、艺术性和语义控制方面表现出色。我们希望PIXART-$\alpha$能为AIGC社区和初创企业提供新的见解,以加速从零开始构建他们自己的高质量且低成本的生成模型。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑