NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

D-AR: Diffusion via Autoregressive Models

Ziteng Gao, Mike Zheng Shou

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.

  1. 1D Encoding: An input image is encoded into a 1D sequence of discrete tokens ($N=256$).
  2. 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).
  3. 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.
Figure 1: Diffusion via autoregressive modeling (D-AR) framework for visual generation. As the autoregressive transformer generates tokens, D-AR can simultaneously perform corresponding diffusion steps via token conditioning and jump-estimate target samples as rough previews effortlessly.

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:

Figure 3: Different paradigms incorporating diffusion and autoregressive models for vision generation. (a) uses patch-level diffusion during every single autoregressive step to tackle continuous outputs [27, 28, 29]; (b) DART [30] denoises a full image per every autoregressive step by AR transformer, together inputted with history denoised images; (c) use a single set of continuous outputs to different diffusion steps and require diffusion gradients to train AR models [31, 32, 33, 34]; (d) ours uses vanilla AR models, which can train with discrete inputs/outputs by simply cross entropy, and sequentially decode output tokens with our diffusion tokenizer.

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.
Figure 2: Uncurated generated samples from D-AR-XL with 256 × 256 resolutions (CFG=4.0).

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

BibTeX
@inproceedings{gao2026d,
  author = {Ziteng Gao and Mike Zheng Shou},
  title = {{D-AR: Diffusion via Autoregressive Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=IhuvSLIsUN},
}
Figure