atlas

Research map / Image generation / Autoregressive and latent generation

RandAR: Decoder-only Autoregressive Visual Generation in Random Orders

CVPR 2025 · Image generation › Autoregressive and latent generation · approach: Next-scale and token autoregressive images · 9 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces RandAR, a GPT-style decoder-only visual autoregressive model trained on random token orders using position instruction tokens, matching raster-order quality on ImageNet while enabling parallel decoding, inpainting, outpainting, and resolution extrapolation.

Problem

Decoder-only autoregressive image generators rely on a predefined raster order, which limits bi-directional context modeling and flexibility for tasks like inpainting and outpainting.

Approach

Insert a learnable position instruction token (shared embedding rotated by 2D RoPE with the target coordinates) before each image token so a causal decoder-only transformer can predict tokens in arbitrary random orders, with minimal architectural change.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Train with random token orders instead of raster orderRandAR-XL versus the 775M raster-order counterpart · ImageNet 256×256FID: 2.16 -> 2.25No clear effect
Use parallel decoding with 88 steps instead of 256 sequential stepsRandAR · ImageNet 256×256 generationLatency: 16.8 -> 6.6 sec.; 2.5× accelerationHelped
Use parallel decoding with fewer inference stepsRandAR · ImageNet 256×256FIDNo clear effect
Replace shared RoPE-rotated position embedding with dense learnable embeddings (ablation)RandAR · ImageNet 256×256FID: 2.82 -> 3.07Hurt
Replace shared RoPE-rotated position embedding with dense learnable embeddings (ablation)RandAR · ImageNet 256×256Inception Score: 293.6 -> 290.6Hurt
Merge position instruction tokens with image tokens, using dense position embeddings (ablation)RandAR · ImageNet 256×256FID: 2.82 -> 3.37Hurt
Merge position instruction tokens with image tokens, using dense position embeddings (ablation)RandAR · ImageNet 256×256Inception Score: 293.6 -> 307.6Helped
Use second-round features by passing the image-token sequence through the model twiceRandAR · ImageNet linear probingTop-1 accuracy: 57.3 -> 63.1Helped
Use second-round features by passing the image-token sequence through the model twiceRandAR · SPair71kPCK (Per Image): 22.1 -> 31.3Helped
Use hierarchical decoding order for resolution extrapolationRandAR · ImageNet 512×512 resolution extrapolationvisual consistencyHelped
Apply spatial contextual guidance (SCG)RandAR · ImageNet 512×512 resolution extrapolationhigh-frequency detail consistencyHelped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet

Benchmarks: ImageNet 256x256 SPair-71k ImageNet linear probing

Metrics: FID Inception Score precision recall PCK top-1 accuracy latency

Baselines: LlamaGen-L LlamaGen-XL LlamaGen-XXL MaskGIT-re MAR-H VAR RAR-XL DiT-XL SiT-XL Raster-order counterpart

Builds on: LlamaGen MaskGIT MAR 2D RoPE VQGAN

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy