跳到正文
HuggingFace Daily Papers·· 2 天前

让预训练自回归图像模型支持任意顺序生成

Unlocking Any-Order Generation in Pretrained Autoregressive Image Models

AI 导读

研究者提出一套方法,可将预训练的栅格扫描自回归图像模型改造为任意顺序生成器,无需从头训练。该方法由未来感知位置嵌入和顺序课程组成,在 LlamaGen-L/XL 与 RAR-L/XL 四个模型上验证,ImageNet 修复任务 FID 为 6.21,优于 MaskGIT 的 10.44,额外算力仅为预训练的 13-33%,且不改动标准 AR 推理栈。

正文 · 原文

View PDF HTML (experimental)

Abstract: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 this https URL.
Comments: Accepted in NeurIPS 2026, Sydney as a poster
Subjects: Computer Vision and Pattern Recognition (cs.CV); Machine Learning (cs.LG)
Cite as: arXiv:2610.39293 [cs.CV]
  (or arXiv:2610.39293v1 [cs.CV] for this version)
  https://doi.org/10.48550/arXiv.2610.39293

arXiv-issued DOI via DataCite

Submission history

From: Rishav Pramanik [view email]
[v1] Thu, 29 Oct 2026 03:42:22 UTC (8,506 KB)

来源:HuggingFace Daily Papers · arxiv.org