Unlocking Any-Order Generation in Pretrained Autoregressive Image Models
Abstract
Pretrained raster-scan autoregressive image models can be adapted into flexible any-order generators via future-aware positional embeddings and an ordering curriculum, enabling inpainting and outpainting with minimal extra compute.
Autoregressive (AR) image generators are powerful in principle but inflexible in practice: training with a fixed raster-scan order hardcodes a single factorization of the image distribution into the model, leaving it unable to inpaint, outpaint, or edit at inference time. Existing solutions, including the modern discrete-diffusion family, train from scratch on a mixture of token orderings, paying roughly 3x the compute of standard raster-scan training; discrete diffusion further sacrifices compatibility with the AR inference ecosystem (KV caching, vLLM) by construction. We argue that this cost is unnecessary. A pretrained raster-scan AR model has already learned the joint distribution over image tokens; what it lacks is not knowledge but the ability to express that knowledge through non-sequential conditional pathways. We propose a recipe for adapting pretrained raster-scan models into any-order generators using two components: future-aware positional embeddings that resolve a target-position identifiability problem at negligible overhead, and an ordering curriculum that traces a stable optimization path from the pretrained solution to a good any-order basin. Applied to four base models across two architectures and two scales (LlamaGen-L/XL, RAR-L/XL), the recipe substantially outperforms MaskGIT on ImageNet inpainting (FID 6.21 vs. 10.44) and outpainting, is competitive with MAR-L, trades a 1.2-1.9 increase in class-conditional FID for this flexibility, and costs 13-33% additional compute beyond pretraining, while leaving the standard AR inference stack untouched. Inpainting, outpainting, and editing, our results suggest, need not be added to autoregressive image models. They can be unlocked from the ones that exist. Code is available at https://github.com/Ordered-AR/unlockedadaptation.
Community
Many AI image generators build a picture one piece at a time, always in the same order: left to right, top to bottom, like reading a page. Because of this fixed habit, they cannot fill a missing patch in the middle of a photo, extend an image beyond its borders, or redraw one region while keeping the rest. Existing alternatives are trained from scratch, at roughly three times the computing cost. We show that existing generators can instead learn to work in any order with brief extra training. Two ideas make this possible: the model is told which spot it will fill next, and training shifts gradually from the familiar order to random ones, so the model keeps what it already knows. The adapted models fill, extend, and edit images competitively, with a small loss in everyday image quality, letting today's models gain new skills without being rebuilt.
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- Logit Refiner: Improving Visual Autoregressive Models via Intra-Scale Dependency Modeling (2026)
- Embedding Prediction Helps Image Generation (2026)
- Unlocking Lossless Speedups in LLMs via Discrete Diffusion (2026)
- Early-Bird Decoding: Accelerating Diffusion LLMs with Learnable Block Sizes and Parallel Sampling (2026)
- Conditional Residual Prediction: Improving Autoregressive Video Diffusion without a Bidirectional Teacher (2026)
- A Ticket from Marginals to Joints: Coupled-Noise Distillation for One-Step Block Generation in Diffusion Language Models (2026)
- Parallel Language Models via Variational Decoding (2026)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: @librarian-bot recommend
Get this paper in your agent:
hf papers read 2610.39293 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper