MixAR: Mixture Autoregressive Image Generation

Jinyuan Hu, Jiayou Zhang, Shaobo Cui, Kun Zhang, Guangyi ChenarXiv 2025 · DOI

Introduction

Autoregressive (AR) models, the architectural backbone of Large Language Models, have increasingly been adapted for high-quality image generation. Traditionally, these models operate on discrete tokens—quantized representations of image patches. While discrete AR models benefit from stable training via cross-entropy loss, the quantization process inevitably discards fine-grained details, imposing a "fidelity ceiling" on the output. Conversely, continuous AR models attempt to predict raw latent vectors directly. While this allows for higher potential quality, the vast and unstructured search space for continuous vectors often leads to training instability and inefficiency.

MixAR addresses this fundamental trade-off by introducing a framework that uses discrete tokens as "scaffolding" to guide the generation of high-fidelity continuous latents.

Methodology: The Mixture Approach

MixAR introduces a factorized formulation for image generation. Instead of modeling the complex continuous space from scratch, it decomposes the problem into two distinct steps: providing a coarse discrete "sketch" and then performing continuous refinement.

DC-Mix: Discrete-Continuous Mixture

The core innovation of MixAR is the DC-Mix strategy. In standard Masked Autoregressive (MAR) models, masked patches are typically replaced with a generic, semantically empty [MASK] token. MixAR instead replaces these masks with the corresponding discrete tokens for those patches. These tokens act as a coarse semantic prior, providing the model with structural and textural "hints" about the missing regions without increasing the computational cost or parameter count.

Comparison of standard MAR masking (a) vs. MixAR's discrete guidance (b), where blurred discrete tokens provide a semantic 'sketch' for the model.

By utilizing discrete tokens as inputs rather than just outputs, the model can more effectively navigate the continuous manifold. This approach makes the high-fidelity generation task significantly more tractable by providing a structured starting point.

TI-Mix: Training-Inference Mixture

A common challenge in guided generation is the "distribution gap" between the perfect ground-truth discrete tokens used during training and the slightly imperfect tokens generated by a model during inference. To bridge this gap, the authors developed TI-Mix, a scheduled sampling technique. TI-Mix gradually introduces model-generated tokens into the training process, ensuring the continuous model remains robust and performs reliably under real-world inference conditions.

Key Insights: Efficiency and Scaffolding

The most significant insight of MixAR is the paradigm shift in how discrete tokens are utilized. Rather than viewing them as the final destination, they are treated as a structured manifold that constrains the search space for continuous generation. This "scaffolding" approach allows the model to focus its capacity on filling in high-frequency details rather than struggling to learn basic global structure from scratch.

Furthermore, the authors explored various methods for injecting this discrete guidance, including complex Self-Attention and Cross-Attention mechanisms. Surprisingly, the simplest method—direct token replacement in DC-Mix—offered the best balance of speed and quality. It requires no extra parameters and maintains a lower token count compared to prefix-based methods.

Experimental Results

The researchers evaluated MixAR on the ImageNet-256 benchmark, a standard and rigorous test for generative models. They utilized pre-trained tokenizers from Maskbit for discrete tokens and LightningDiT for continuous latents.

Superior Fidelity and Performance

MixAR-L (557M parameters) demonstrated exceptional performance, outperforming the much larger MAR-H (943M parameters) in both generation quality (gFID of 1.53 vs 1.55) and reconstruction accuracy. The model is particularly adept at capturing fine-grained textures—such as animal fur, feathers, and complex fabrics—that are typically blurred or lost in purely discrete models.

High-fidelity images generated by MixAR on ImageNet-256, showcasing the model's ability to capture realistic textures and intricate details.

Inference Speed

Despite the dual-token approach, MixAR remains highly efficient. Thanks to the DC-Mix strategy, it achieves an inference speed of 0.031 seconds per image, making it faster than many attention-heavy guidance alternatives while delivering superior visual results.

Conclusion and Future Work

MixAR successfully bridges the gap between the stability of discrete AR models and the fidelity of continuous ones. By treating discrete tokens as a structured prior, it achieves state-of-the-art results with remarkable efficiency. Future research directions include exploring joint optimization of the tokenizers and the AR model, as well as extending this "mixture" approach to multimodal tasks like text-to-image or video generation.

Summary updated

BibTeX
@misc{hu2025mixar,
  author = {Jinyuan Hu and Jiayou Zhang and Shaobo Cui and Kun Zhang and Guangyi Chen},
  title = {{MixAR: Mixture Autoregressive Image Generation}},
  year = {2025},
  eprint = {2511.12181},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.12181},
}
Figure