BitDance: Scaling Autoregressive Generative Models with Binary Tokens

Yuang Ai, Jiaming Han, Shaobin Zhuang, Weijia Mao, Xuefeng Hu +5 more
2/15/2026
cs.CVcs.AI

Official code: shallowdream204/BitDance (483 stars, Apache-2.0, last commit 2026-04-20).

Abstract

We present BitDance, a scalable autoregressive (AR) image generator that predicts binary visual tokens instead of codebook indices. With high-entropy binary latents, BitDance lets each token represent up to $2^{256}$ states, yielding a compact yet highly expressive discrete representation. Sampling from such a huge token space is difficult with standard classification. To resolve this, BitDance uses a binary diffusion head: instead of predicting an index with softmax, it employs continuous-space diffusion to generate the binary tokens. Furthermore, we propose next-patch diffusion, a new decoding method that predicts multiple tokens in parallel with high accuracy, greatly speeding up inference. On ImageNet 256x256, BitDance achieves an FID of 1.24, the best among AR models. With next-patch diffusion, BitDance beats state-of-the-art parallel AR models that use 1.4B parameters, while using 5.4x fewer parameters (260M) and achieving 8.7x speedup. For text-to-image generation, BitDance trains on large-scale multimodal tokens and generates high-resolution, photorealistic images efficiently, showing strong performance and favorable scaling. When generating 1024x1024 images, BitDance achieves a speedup of over 30x compared to prior AR models. We release code and models to facilitate further research on AR foundation models. Code and models are available at: https://github.com/shallowdream204/BitDance.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

BitDance & UniWeTok: Open-source autoregressive model with binary visual tokens. A research project for building powerful multimodal autoregressive model.

48329Shell, PythonFeb 12, 20266 months agoApache-2.0

Similar Papers

Cite this paper

@article{ai2026bitdance,
  title  = {BitDance: Scaling Autoregressive Generative Models with Binary Tokens},
  author = {Yuang Ai and Jiaming Han and Shaobin Zhuang and Weijia Mao and Xuefeng Hu and Ziyan Yang and Zhenheng Yang and Huaibo Huang and Xiangyu Yue and Hao Chen},
  year   = {2026},
  eprint = {2602.14041},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.14041v1}
}

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

Discussion