缩放整流流变换器以实现高分辨率图像合成

Scaling Rectified Flow Transformers for High-Resolution Image Synthesis

罗宾·罗姆巴赫 Robin Rombach · Stability AI · 2024-03-05 · arXiv:2403.03206 ↗ · 被引 4235

打开互动全文版(逐段中英对照 + 图/公式 + 论文问答)→

摘要 · Abstract

扩散模型通过反转数据向噪声的前向路径从噪声中生成数据,已成为处理图像和视频等高维感知数据的强大生成建模技术。整流流是一种最近的生成模型公式,它将数据和噪声以直线方式连接。尽管其理论性质更优且概念简单,但尚未被明确确立为标准实践。在这项工作中,我们通过将噪声采样偏向感知相关尺度,改进了训练整流流模型的现有噪声采样技术。通过大规模研究,我们证明了该方法在高分辨率文本到图像合成中相比已建立的扩散公式具有更优性能。此外,我们提出了一种新颖的基于变换器的文本到图像生成架构,该架构对两种模态使用独立的权重,并实现了图像和文本令牌之间的双向信息流,从而提高了文本理解、排版和人类偏好评分。我们证明该架构遵循可预测的缩放趋势,并且较低的验证损失与通过多种指标和人类评估衡量的改进文本到图像合成相关。我们的最大模型优于最先进的模型,我们将公开我们的实验数据、代码和模型权重。

Diffusion models create data from noise by inverting the forward paths of data towards noise and have emerged as a powerful generative modeling technique for high-dimensional, perceptual data such as images and videos. Rectified flow is a recent generative model formulation that connects data and noise in a straight line. Despite its better theoretical properties and conceptual simplicity, it is not yet decisively established as standard practice. In this work, we improve existing noise sampling techniques for training rectified flow models by biasing them towards perceptually relevant scales. Through a large-scale study, we demonstrate the superior performance of this approach compared to established diffusion formulations for high-resolution text-to-image synthesis. Additionally, we present a novel transformer-based architecture for text-to-image generation that uses separate weights for the two modalities and enables a bidirectional flow of information between image and text tokens, improving text comprehension, typography, and human preference ratings. We demonstrate that this architecture follows predictable scaling trends and correlates lower validation loss to improved text-to-image synthesis as measured by various metrics and human evaluations. Our largest models outperform state-of-the-art models, and we will make our experimental data, code, and model weights publicly available.

核心贡献 · Key contributions

局限 · Limitations

论文章节 · Sections(共 11)

阅读逐段中英对照全文 →