ARFlow: Autoregressive Flow with Hybrid Linear Attention

Mude Hui, Rui-Jie Zhu, Songlin Yang, Yu Zhang, Zirui Wang +3 more
1/27/2025
cs.CV

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Flow models are effective at progressively generating realistic images, but they generally struggle to capture long-range dependencies during the generation process as they compress all the information from previous time steps into a single corrupted image. To address this limitation, we propose integrating autoregressive modeling -- known for its excellence in modeling complex, high-dimensional joint probability distributions -- into flow models. During training, at each step, we construct causally-ordered sequences by sampling multiple images from the same semantic category and applying different levels of noise, where images with higher noise levels serve as causal predecessors to those with lower noise levels. This design enables the model to learn broader category-level variations while maintaining proper causal relationships in the flow process. During generation, the model autoregressively conditions the previously generated images from earlier denoising steps, forming a contextual and coherent generation trajectory. Additionally, we design a customized hybrid linear attention mechanism tailored to our modeling approach to enhance computational efficiency. Our approach, termed ARFlow, achieves 6.63 FID scores on ImageNet at 256 * 256 without classifier-free guidance, reaching 1.96 FID with classifier-free guidance 1.5, outperforming the previous flow-based model SiT's 2.06 FID. Extensive ablation studies demonstrate the effectiveness of our modeling strategy and chunk-wise attention design.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{hui2025arflow,
  title  = {ARFlow: Autoregressive Flow with Hybrid Linear Attention},
  author = {Mude Hui and Rui-Jie Zhu and Songlin Yang and Yu Zhang and Zirui Wang and Yuyin Zhou and Jason Eshraghian and Cihang Xie},
  year   = {2025},
  eprint = {2501.16085},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.16085v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.16085.svg)](https://codeofpaper.com/paper/2501.16085)

Discussion