English

Autoregressive Image Generation without Vector Quantization

Computer Vision and Pattern Recognition 2024-11-04 v3

Abstract

Conventional wisdom holds that autoregressive models for image generation are typically accompanied by vector-quantized tokens. We observe that while a discrete-valued space can facilitate representing a categorical distribution, it is not a necessity for autoregressive modeling. In this work, we propose to model the per-token probability distribution using a diffusion procedure, which allows us to apply autoregressive models in a continuous-valued space. Rather than using categorical cross-entropy loss, we define a Diffusion Loss function to model the per-token probability. This approach eliminates the need for discrete-valued tokenizers. We evaluate its effectiveness across a wide range of cases, including standard autoregressive models and generalized masked autoregressive (MAR) variants. By removing vector quantization, our image generator achieves strong results while enjoying the speed advantage of sequence modeling. We hope this work will motivate the use of autoregressive generation in other continuous-valued domains and applications. Code is available at: https://github.com/LTH14/mar.

Keywords

Cite

@article{arxiv.2406.11838,
  title  = {Autoregressive Image Generation without Vector Quantization},
  author = {Tianhong Li and Yonglong Tian and He Li and Mingyang Deng and Kaiming He},
  journal= {arXiv preprint arXiv:2406.11838},
  year   = {2024}
}

Comments

Neurips 2024 (Spotlight). Code: https://github.com/LTH14/mar

R2 v1 2026-06-28T17:09:07.230Z