FlowAR: Scale-wise Autoregressive Image Generation Meets Flow Matching

Sucheng Ren, Qihang Yu, Ju He, Xiaohui Shen, Alan L. Yuille, Liang-Chieh Chen · DOI

Abstract

FlowAR evolves scale-wise autoregressive image generation by replacing rigid, complex architectures with a streamlined resolution-doubling design. By decoupling the generator from the tokenizer and integrating Flow Matching, it achieves a new state-of-the-art FID of 1.65 on ImageNet-256, offering significantly more flexibility and better performance than previous models like VAR.

Introduction

Autoregressive (AR) models, the engines behind Large Language Models (LLMs), have traditionally struggled with image synthesis. While text is a natural 1D sequence, images are inherently 2D. Flattening an image into a 1D string of tokens often destroys spatial coherence.

The recent Visual Autoregressive (VAR) model addressed this by generating images "scale-wise"—starting with a tiny 1x1 representation and progressively predicting larger resolutions (e.g., 2x2, 3x3, up to 16x16). However, VAR suffers from two major limitations: its rigid, non-linear scale sequence and its coupling to a custom-built multi-scale discrete tokenizer. FlowAR aims to "unlock" scale-wise AR by making it modular, simpler, and more powerful through the integration of Flow Matching.

The FlowAR Framework

FlowAR introduces three primary innovations to create a more flexible framework for image generation.

Comparison of VAR and FlowAR architectures, highlighting FlowAR's decoupled tokenizer and simplified scale design.
  • Simplified Scale Design: Instead of VAR's complex sequence, FlowAR uses a simple power-of-two doubling strategy (e.g., {1, 2, 4, 8, 16}). Coarse scales are generated by simply downsampling the finest latent map from a standard VAE.
  • Decoupled Continuous Tokenizer: FlowAR moves away from discrete tokens. It can use any off-the-shelf continuous Variational AutoEncoder (VAE), such as those from Stable Diffusion or DC-AE. This modularity allows the model to benefit from future improvements in VAE technology.
  • The AR-Flow Hybrid: Generation at each scale happens in two steps. First, an Autoregressive Transformer takes the previous scales as input and predicts "semantics" (high-level conditioning information) for the current scale. Second, a Flow Matching model uses these semantics to transform random noise into the actual latent representation for that scale.
  • Spatial-adaLN: To inject 2D semantic information into the Flow Matching model, the authors use "Spatially Adaptive Layer Normalization." This allows the model to adjust features on a position-by-position basis, preserving fine-grained spatial details.

Experimental Results

The model was trained and evaluated on the ImageNet-256 benchmark, comparing FlowAR against a wide array of GANs, Diffusion Models (like DiT), and other AR models.

FID performance comparison between VAR and FlowAR across different parameter scales.

FlowAR sets a new benchmark for scale-wise autoregressive generation:

  • State-of-the-Art Performance: The largest variant, FlowAR-H (1.9B parameters), achieved an FID of 1.65, outperforming StyleGAN (2.30), DiT (2.27), and the original VAR (1.97).
  • Efficiency: FlowAR-L (589M parameters) achieved an FID of 1.90, beating the much larger 2B-parameter VAR-d30.
  • Tokenizer Agnostic: The authors successfully demonstrated the model working with various VAEs, including DC-AE, SD-VAE, and MAR-VAE, consistently outperforming VAR's custom tokenizer.

Conclusion

The biggest takeaway from FlowAR is that specialized, multi-scale residual tokenizers are not necessary for effective scale-wise generation. Simple downsampling of continuous latents is more flexible and performs better. By separating the "logic" of image structure from the "texture," FlowAR achieves superior robustness and scalability. While current inference requires iterative Flow Matching passes, future work will focus on extending this framework to complex text-to-image prompts and higher resolutions.

Summary updated

BibTeX
@inproceedings{ren2025flowar,
  author = {Sucheng Ren and Qihang Yu and Ju He and Xiaohui Shen and Alan L. Yuille and Liang-Chieh Chen},
  title = {{FlowAR: Scale-wise Autoregressive Image Generation Meets Flow Matching}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=JfLgvNe1tj},
}
Figure