Skip to main content
QUICK REVIEW

[Paper Review] Scaling Rectified Flow Transformers for High-Resolution Image Synthesis

Patrick Esser, Sumith Kulal|arXiv (Cornell University)|Mar 5, 2024
Computer Graphics and Visualization TechniquesComputer Science84 citations
TL;DR

The paper improves rectified flow models for high-resolution image synthesis by introducing noise-scale biased sampling, a multimodal text–image transformer backbone (MM-DiT) with separate modality weights, and a scaling study showing competitive or superior results to state-of-the-art diffusion models.

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.

Motivation & Objective

  • Motivate and improve rectified flow formulations for high-resolution image synthesis by biasing noise scales towards perceptually relevant content.
  • Develop a scalable multimodal transformer backbone that enables bidirectional information flow between text and image tokens for improved text-to-image generation.
  • Systematically compare diffusion and rectified-flow variants across datasets and sampling settings to identify superior training and sampling strategies.
  • Demonstrate scaling behavior of the proposed model up to 8B parameters and assess correlations between validation loss and image-text evaluation metrics.

Proposed method

  • Reweight noise scales in rectified flow models to bias training towards perceptually relevant timesteps, yielding a noise-prediction objective that can be weighted (L_w) to emphasize intermediate timesteps.
  • Compare variants including RF, EDM, and LDM-style schedules, with tailored SNR samplers such as logit-normal, mode-based, and CosMap timestep distributions.
  • Introduce MM-DiT, a multimodal diffusion backbone with two separate weight sets for image and text streams, enabling bidirectional interaction during cross-attention and MLP processing.
  • Pretrain and finetune on high-resolution data with QK-normalization to stabilize attention and enable training at bf16 precision, while using expanded latent channels (d=16) for better reconstruction.
  • Utilize improved autoencoders (latent space with d=16), synthetic captions via CogVLM mixed with original captions (50/50), and a scalable, per-modality diffusion backbone for text-conditioned image generation.

Experimental results

Research questions

  • RQ1Does biasing the timestep sampling toward intermediate, perceptually relevant scales improve rectified flow performance for high-resolution image synthesis compared to standard diffusion formulations?
  • RQ2Does a multimodal diffusion backbone with separate image/text token streams (MM-DiT) outperform traditional backbones (DiT, CrossDiT, UViT) for text-to-image generation?
  • RQ3How do scaling trends manifest in rectified-flow-based models, and how does lower validation loss translate to improved text-to-image performance across automatic and human evaluations?
  • RQ4What are the effects of data preprocessing and caption augmentation (synthetic + original captions) on GenEval-style metrics for large-scale T2I models?
  • RQ5What training stabilization techniques (QK normalization, mixed-precision finetuning, positional encoding for varying aspect ratios) are essential for high-resolution finetuning?

Key findings

  • A noise-sampling strategy that emphasizes intermediate timesteps (e.g., rf/lognorm(0.00, 1.00)) yields strong performance across CLIP and FID metrics and often outperforms or matches state-of-the-art diffusion models.
  • Rectified flow variants with tailored timestep sampling outperform LDM-Linear and EDM baselines in several settings, especially at lower sampling steps.
  • The MM-DiT multimodal backbone with separate weights for text and image modalities significantly outperforms vanilla DiT, CrossDiT, and UViT in validation loss, CLIP, and FID on CC12M.
  • Increasing latent channels to d=16 for the autoencoder improves reconstruction metrics and supports better scaling; higher capacity correlates with better image quality.
  • A 50/50 mix of synthetic (CogVLM-generated) and original captions improves GenEval scores, suggesting synthetic captions can augment training data effectively.
  • Training stabilization via QK-normalization enables stable finetuning at bf16 mixed precision, facilitating high-resolution scaling and better attention behavior.
  • Scaling experiments up to 8B parameters show that lower validation loss correlates with improved text-to-image performance across automatic and human evaluations.

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.