Introduction
Autoregressive (AR) models have shown remarkable success in image generation by treating the process as a sequence of "next-token" predictions. However, providing precise spatial control—such as edges, depth maps, or segmentation masks—has historically been more challenging for AR architectures compared to diffusion-based models like ControlNet. Existing methods often rely on "conditional prefilling," which tokenizes the control image and prepends it to the sequence. This approach suffers from high memory overhead and a weakening connection between control signals and generated tokens over long sequences.
Methodology: Conditional Decoding
ControlAR introduces a more efficient and effective strategy: conditional decoding. Instead of prefilling, the model fuses spatial information directly into the decoding process.
The framework utilizes two primary innovations:
- Lightweight Control Encoder: A small Vision Transformer (ViT) converts spatial inputs into control tokens, adding minimal parameter overhead (~22M).
- Fusion Mechanism: Control tokens are added to image tokens during decoding, similar to positional encodings. This ensures the model maintains local spatial context for every pixel it predicts.
To overcome the "resolution-lock" common in AR models, the authors developed MR-ControlAR. By employing a multi-scale training recipe and adjusting control token sequence lengths, the model can generate images at any resolution or aspect ratio.
Experimental Results
Evaluated on benchmarks like ImageNet-1K, ADE20K, and COCOStuff, ControlAR demonstrates state-of-the-art performance. On ImageNet, it achieved a Fréchet Inception Distance (FID) of 7.69 for Canny edge control, outperforming prior AR methods. In text-to-image tasks, it remains competitive with or superior to diffusion-based models like ControlNet++ in terms of spatial consistency.
Crucially, the conditional decoding approach reduces training memory by approximately 59% and latency by 96% compared to standard prefilling methods. This efficiency allows AR models to scale more effectively to high-resolution tasks.
Discussion and Future Work
While ControlAR excels at spatial alignment, it occasionally faces "text-control conflict," where strong spatial signals may cause the model to overlook specific text prompt details. Current versions also support only a single control input at a time. Future research will focus on multi-control integration, diverse control types (like human poses), and training strategies that keep the base model frozen to improve modularity.
Summary updated