From Sequential to Spatial: Reordering Autoregression for Efficient Visual Generation

Siyang Wang, Hanting Li, Wei Li, Jie Hu, Xinghao Chen, Feng ZhaoarXiv 2025 · DOI

Introduction

Autoregressive (AR) models, which have revolutionized natural language processing, are increasingly being applied to visual synthesis. However, the transition from 1D text to 2D images introduces a significant efficiency bottleneck. Traditional AR models treat images as 1D sequences, predicting tokens in a "raster-scan" order (left-to-right, top-to-bottom). For a standard $16 \times 16$ grid, this requires 256 sequential steps, leading to a quadratic relationship between resolution and generation time. Furthermore, this linear scanning ignores the inherent 2D spatial correlations of visual data, often compromising structural coherence.

The RadAR Framework

To address these limitations, we introduce RadAR (Radial-Parallel Autoregressive), a framework that reimagines image generation through a radial-parallel topology. Instead of a linear scan, RadAR grows images from the center outward in concentric rings.

The RadAR framework utilizes a radial-parallel topology where tokens are grouped into rings and predicted simultaneously, guided by a nested attention mechanism.

Radial Generation and Parallel Decoding

The core of RadAR is the shift from token-by-token prediction to ring-by-ring prediction. The model starts with a central token and groups all subsequent tokens into concentric rings based on their distance from the center. All tokens within a single ring are predicted simultaneously. This parallelization collapses the traditional 256-step process into just 10–13 steps, corresponding to the number of rings.

Nested Attention Mechanism

Parallel generation within rings introduces the risk of inconsistency, as tokens predicted at the same time cannot naturally "see" each other. RadAR mitigates this using a nested attention mask. This mechanism employs causal attention between rings—ensuring outer rings are conditioned on inner ones—and bidirectional attention within rings. This allows the model to perform dynamic error correction and refine previously generated areas as more context becomes available.

Key Insights: Spatial Locality and Error Correction

Analysis of attention maps reveals that even standard AR models exhibit a strong bias toward spatially proximate neighbors. RadAR explicitly aligns the decoding order with this natural 2D bias.

A unique advantage of the radial approach is the "error correction" effect. Because the model processes the image in stages, it can re-evaluate and "fix" mistakes made in earlier steps. As the generation moves to outer rings, the increased context allows for the refinement of fine details, such as the intricate patterns of feathers or the precise shape of an eye. Ablation studies further confirm that a center-out approach is superior to starting from corners or edges, as it enables the most symmetrical propagation of contextual information.

Experimental Results

RadAR was evaluated on the ImageNet-1K dataset at $256 \times 256$ resolution, demonstrating significant improvements in both speed and quality.

High-quality images generated by RadAR, showcasing its ability to capture complex textures and maintain global structural coherence across diverse subjects.

Efficiency and Performance

RadAR-XL achieves a 5.6x speedup in throughput compared to state-of-the-art models like LlamaGen. By reducing the inference steps from 256 to 13, it drastically lowers the computational cost of high-resolution generation. In terms of quality, RadAR achieved an Inception Score (IS) of 307.9, surpassing many existing AR and diffusion models. This indicates superior perceptual quality and diversity in the generated samples.

Zero-Shot Versatility

Beyond standard generation, RadAR's architecture allows for seamless zero-shot image editing. Tasks such as out-painting (extending an image) and class-conditional editing can be performed out-of-the-box. By masking specific regions and allowing the radial process to fill them in, the model maintains consistency with the existing image content without requiring task-specific fine-tuning.

Conclusion

RadAR represents a fundamental shift in how we approach autoregressive visual generation. By moving from a "raster-scan" to a radial-parallel topology, we achieve massive parallelization and improved spatial coherence. While future work will focus on further optimizing distribution matching and scaling to even higher resolutions, RadAR provides a highly efficient and versatile foundation for the next generation of visual AI.

Summary updated

BibTeX
@misc{wang2025from,
  author = {Siyang Wang and Hanting Li and Wei Li and Jie Hu and Xinghao Chen and Feng Zhao},
  title = {{From Sequential to Spatial: Reordering Autoregression for Efficient Visual Generation}},
  year = {2025},
  eprint = {2512.24639},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.24639},
}
Figure