BitDance: Scaling Autoregressive Generative Models with Binary Tokens
Yuang Ai, Jiaming Han, Shaobin Zhuang, Weijia Mao, Xuefeng Hu, Ziyan Yang, Zhenheng Yang, Huaibo Huang, Xiangyu Yue, Hao Chen
TL;DR
BitDance tackles the bottlenecks of autoregressive visual generation by adopting a highly expressive binary token space with up to $2^{256}$ states, paired with a diffusion-based sampling head to handle the vast discrete space. The method further accelerates decoding through next-patch diffusion, enabling parallel prediction of token groups while preserving coherence. Empirically, BitDance achieves state-of-the-art AR results on ImageNet-256 (FID $=1.24$) with a compact 260M parameter model and delivers substantial speedups (up to 8.7×) over larger parallel AR baselines; for text-to-image tasks, a 14B-parameter variant demonstrates competitive, multi-modal performance with efficient high-resolution synthesis and a notable speedup on 1024×1024 images. These results underscore the viability of scaling token entropy and using diffusion-based sampling to enable efficient, high-fidelity AR foundation models, with open-source code and models released to advance research.
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.
