FlowAR: Scale-wise Autoregressive Image Generation Meets Flow Matching

Sucheng Ren, Qihang Yu, Ju He, Xiaohui Shen, Alan Yuille, Liang-Chieh Chen

TL;DR

FlowAR is a novel generative model that combines the structured, coarse-to-fine approach of scale-wise autoregressive (AR) modeling with the high-fidelity synthesis of Flow Matching. By simplifying the scale design and decoupling the generator from the tokenizer, FlowAR achieves state-of-the-art performance on ImageNet benchmarks. It outperforms previous models like VAR and DiT while offering significantly greater architectural flexibility.

The Problem: Bottlenecks in Visual Autoregressive Modeling

Autoregressive (AR) models, famous for powering Large Language Models, have historically struggled with images because flattening a 2D image into a 1D sequence of tokens destroys critical spatial relationships. A recent breakthrough, Visual Autoregressive (VAR) modeling, addressed this by generating images scale-by-scale (e.g., starting with a 1x1 "thumbnail" and progressively refining it to 16x16).

However, VAR introduced two major bottlenecks:

  1. Rigid Scale Design: It relies on a complex, non-uniform scale sequence (e.g., 1, 2, 3, 4, 5, 6, 8, 10, 13, 16) that is difficult to generalize.
  2. Tight Coupling: The generator is strictly "bonded" to a specific, complex multi-scale discrete tokenizer. Researchers cannot easily swap out the tokenizer for a better one without retraining the entire architecture.

FlowAR aims to resolve these issues by creating a more modular, flexible, and higher-performing scale-wise framework.

Methods: A Modular and Continuous Approach

The authors introduce several key innovations to move beyond the limitations of VAR:

  • Simplified Scale Design: FlowAR uses a straightforward "doubling" sequence (e.g., {1, 2, 4, 8, 16}). This makes the architecture cleaner, more intuitive, and easier to scale.
  • Decoupled Tokenizer: Instead of relying on a custom multi-scale VQGAN, FlowAR works with any off-the-shelf continuous Variational AutoEncoder (VAE). Coarse-scale representations are created by simply downsampling the finest-scale latent map.
  • AR + Flow Matching: The generation process is split into two stages at each scale. First, a scale-wise AR Transformer generates "semantics" (conditioning information) based on previous scales. Second, a Flow Matching module uses these semantics to transform random noise into the actual latent representation for that specific scale.
  • Spatial-adaLN: To inject semantics into the Flow Matching module, the authors developed "Spatially Adaptive Layer Normalization." Unlike standard conditioning that applies the same shift to an entire image, Spatial-adaLN applies guidance on a position-by-position basis, preserving fine-grained spatial details.
Comparison of VAR and FlowAR architectures.

Key Insights

  • Continuous Beats Discrete: By moving from predicting discrete tokens (via categorical distributions) to continuous latent variables (via Flow Matching), the model achieves much higher visual fidelity and smoother gradients during training.
  • Modularity Wins: Decoupling the tokenizer from the generator is a massive win for the research community. As VAE technology improves, FlowAR can immediately benefit without requiring a redesign of the entire scale-wise logic.
  • The Power of Spatial Guidance: Ablation studies demonstrate that how "semantics" are injected matters immensely. Simple concatenation or global conditioning (standard adaLN) performed significantly worse than the position-aware Spatial-adaLN.

Key Results

FlowAR was evaluated on standard industry benchmarks for high-resolution image generation, including ImageNet-256 and ImageNet-512, consistently outperforming its predecessors across various model sizes.

  • State-of-the-Art FID: On ImageNet-256, the largest variant (FlowAR-H, 1.9B parameters) achieved a Fréchet Inception Distance (FID) of 1.65, significantly beating VAR (1.97), LlamaGen (2.18), and DiT (2.27).
  • Parameter Efficiency: FlowAR-L (589M parameters) achieved an FID of 1.90, outperforming the much larger 2B parameter VAR-d30 model.
  • High Resolution: On ImageNet-512, FlowAR-L outperformed the 2.3B parameter VAR-d36 while using only ~25% of the parameters.
FID performance comparison between VAR and FlowAR across parameter counts.

Qualitatively, the model produces highly coherent images with impressive textures, demonstrating high-fidelity results across diverse classes like animals and landscapes.

Limitations and Future Work

While FlowAR excels at class-conditional generation, the authors note that extending this architecture to complex text-to-image or text-to-video tasks is the next logical step. Additionally, like all models trained on ImageNet, FlowAR inherits the biases present in the dataset. Finally, while the scale-wise approach is efficient, the multi-step nature of Flow Matching at each scale presents ongoing opportunities for further optimization in sampling speed.

Summary updated

BibTeX
@inproceedings{ren2025flowar,
  author = {Sucheng Ren and Qihang Yu and Ju He and Xiaohui Shen and Alan 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