TL;DR
D-AR (Diffusion via Autoregressive models) successfully unifies image diffusion and autoregressive modeling by recasting image generation as a standard next-token prediction task. By introducing a novel sequential diffusion tokenizer, it allows a completely unmodified, vanilla language model architecture (like Llama) to generate high-quality images while natively supporting streaming previews and fast KV-caching.
What Problem Does This Paper Address?
Autoregressive (AR) models like Large Language Models (LLMs) dominate natural language processing due to their simplicity, scalability, and highly optimized software ecosystems. However, adapting them to computer vision is notoriously difficult because images lack an inherent 1D linear order.
Previous attempts to bridge this gap either force images into arbitrary scanning patterns (like raster-scan) or heavily modify the AR architecture to handle continuous diffusion steps. Meanwhile, standard diffusion models excel at generating high-quality continuous signals but are slow and difficult to integrate natively into unified multimodal LLMs. D-AR addresses this friction by aligning the two paradigms without changing a single line of standard AR architecture code.
Methods
The core innovation of D-AR is the Sequential Diffusion Tokenizer, which reinterprets the diffusion process as a sequence of discrete tokens.
- 1D Encoding: An input image is encoded into a 1D sequence of discrete tokens ($N=256$).
- Sequential Diffusion Decoding: Instead of mapping tokens to spatial patches, D-AR maps the sequential position of the tokens to timesteps in a pixel-space diffusion process. Tokens are divided into $K$ consecutive groups. Early tokens act as conditions for early diffusion denoising steps (capturing global layout and low-frequency semantics), while later tokens condition later steps (capturing fine-grained details).
- Vanilla AR Modeling: Because the token sequence naturally follows a coarse-to-fine diffusion trajectory, the authors can train a standard, unmodified Llama-like transformer using standard cross-entropy loss and causal masking.
Unlike other hybrid models that require custom attention masks or continuous-valued inputs, D-AR keeps the autoregressive mechanism entirely "vanilla," as compared in the paradigm breakdown below:
Datasets
The models were trained and evaluated on the standard ImageNet $256 \times 256$ class-conditioned generation benchmark. Tokenizer reconstruction performance was evaluated using the ImageNet validation 50K dataset.
Key Insights and Ideas
- Diffusion as a Natural Linearizer: The most elegant insight is that the diffusion process itself can solve the spatial ordering problem for images. Sorting tokens from coarse (noise-heavy) to fine (clean) creates a natural 1D progression perfectly suited for next-token prediction.
- Zero Architectural Modifications: By offloading the continuous-signal complexity to the tokenizer's decoder, the core generative model remains a pure language model. It seamlessly inherits all standard LLM software optimizations, such as KV-caching.
- Streaming Previews for Free: Because token generation directly mirrors the diffusion process, the model supports "jump-estimation." You can decode and view a consistent, rough preview of the image after generating just a fraction of the tokens (e.g., 12.5% or 25%).
Key Results
- State-of-the-Art Vanilla AR Performance: On ImageNet $256 \times 256$, D-AR-XL (775M parameters) achieved a highly competitive Fréchet Inception Distance (FID) of 2.09, outperforming larger vanilla AR models like LlamaGen-XXL (1.4B).
- High-Fidelity Tokenization: The sequential diffusion tokenizer achieved a reconstruction FID (rFID) of 1.58 using a compact budget of only 256 tokens.
- Zero-Shot Control: The model natively supports zero-shot layout-controlled synthesis simply by fixing a set of layout-representative prefix tokens during generation.
Limitations and Future Work
- Scale: Due to hardware constraints, the authors only experimented with moderate model sizes (<1.0B parameters). Scaling D-AR to multi-billion parameter sizes remains an open direction.
- Task Scope: The paper focuses strictly on class-conditioned image generation. The authors have not yet extended the framework to native text-to-image generation or unified multimodal understanding.
- Stochastic Reconstruction: Because the tokenizer relies on a pixel-space diffusion decoder, fine details are generated stochastically rather than reconstructed deterministically, which might limit its use in exact pixel-level reconstruction tasks.
Summary updated