Autoregressive Image Generation with Masked Bit Modeling

Qihang Yu, Qihao Liu, Ju He, Xinyang Zhang, Yang Liu +2 more
2/9/2026
cs.CV

No official code found. Best implementation: amazon-far/BAR (59 stars, Apache-2.0, last commit 2026-04-08).

Abstract

This paper challenges the dominance of continuous pipelines in visual generation. We systematically investigate the performance gap between discrete and continuous methods. Contrary to the belief that discrete tokenizers are intrinsically inferior, we demonstrate that the disparity arises primarily from the total number of bits allocated in the latent space (i.e., the compression ratio). We show that scaling up the codebook size effectively bridges this gap, allowing discrete tokenizers to match or surpass their continuous counterparts. However, existing discrete generation methods struggle to capitalize on this insight, suffering from performance degradation or prohibitive training costs with scaled codebook. To address this, we propose masked Bit AutoRegressive modeling (BAR), a scalable framework that supports arbitrary codebook sizes. By equipping an autoregressive transformer with a masked bit modeling head, BAR predicts discrete tokens through progressively generating their constituent bits. BAR achieves a new state-of-the-art gFID of 0.99 on ImageNet-256, outperforming leading methods across both continuous and discrete paradigms, while significantly reducing sampling costs and converging faster than prior continuous approaches. Project page is available at https://bar-gen.github.io/

View on arXivView PDF

Code Implementations(1)

amazon-far/BARCommunity61%
Apache-2.0

code & model for arxiv paper "Autoregressive Image Generation with Masked Bit Modeling"

592PythonFeb 4, 20266 months agoApache-2.0

Similar Papers

Cite this paper

@article{yu2026autoregressive,
  title  = {Autoregressive Image Generation with Masked Bit Modeling},
  author = {Qihang Yu and Qihao Liu and Ju He and Xinyang Zhang and Yang Liu and Liang-Chieh Chen and Xi Chen},
  year   = {2026},
  eprint = {2602.09024},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.09024v1}
}

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/2602.09024.svg)](https://codeofpaper.com/paper/2602.09024)

Discussion