Machine Learning PapersLandmark papers
← All papers
RESEARCH PAPER / 2024

Scaling Rectified Flow Transformers for High-Resolution Image Synthesis

Patrick Esser, Sumith Kulal, Andreas Blattmann ...Full author list in the original paper.

Stability AI · cs.CV

Affiliations: Stability AI

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.

The following analysis is generated by AI and may contain errors. It is separate from the authors’ abstract and is not peer review.

Research summary

The paper presents a significant advancement in high-resolution image synthesis through the introduction of a novel transformer architecture and improved training techniques for rectified flow models. Its comprehensive evaluation against state-of-the-art methods and commitment to open science enhances its impact on the field of machine learning.

Methodology

The paper introduces a novel transformer-based architecture for text-to-image generation that utilizes separate weights for text and image modalities, allowing for a bidirectional flow of information. This approach is innovative as it enhances the comprehension of text prompts and improves the quality of generated images. The authors also improve noise sampling techniques for training rectified flow models, which is a significant methodological advancement that could influence future work in generative modeling.

Results & evaluation

The experiments are extensive, comparing the proposed model against established diffusion models across various metrics and human evaluations. The authors demonstrate that their model outperforms state-of-the-art models in high-resolution image synthesis, providing strong empirical evidence of the effectiveness of their approach. The use of large-scale studies adds robustness to their findings.

Reproducibility

The authors commit to making their experimental data, code, and model weights publicly available, which is crucial for reproducibility. However, the paper does not provide specific implementation details or a clear methodology for reproducing the results, which could hinder independent verification.

Limitations

While the paper presents significant advancements, it does not address potential limitations of the rectified flow approach compared to other generative models. Additionally, the reliance on large-scale models may raise concerns about accessibility and computational resources required for replication.

Broader impact

The advancements in high-resolution image synthesis have the potential to impact various applications, including creative industries, content generation, and accessibility tools. However, the paper does not delve deeply into the societal implications of its findings, which could be a missed opportunity for broader discussions on the ethical use of generative models. The paper presents a significant advancement in high-resolution image synthesis through the introduction of a novel transformer architecture and improved training techniques for rectified flow models. Its comprehensive evaluation against state-of-the-art methods and commitment to open science enhances its impact on the field of machine learning.

Curator note

Esser et al., Stability AI; multimodal diffusion transformer; improved text rendering

Author of this paper? Send a correction.