arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2610.39293cs.CVcs.LG
收藏

解锁预训练自回归图像模型的任意阶生成能力

Unlocking Any-Order Generation in Pretrained Autoregressive Image Models

Stony Brook University(石溪大学);International Laboratory on Learning Systems (ILLS)(国际学习系统实验室);LIVIA, ÉTS Montréal(蒙特利尔理工学院LIVIA实验室)

Rishav Pramanik, Marco Pedersoli, Zhaozheng Yin

AI总结:

本文提出方案将预训练光栅扫描自回归图像模型适配为任意阶生成器,以低计算开销实现图像修复、外绘等操作,性能优于部分模型且兼容现有推理栈。

摘要:

自回归(AR)图像生成器理论上性能强大,但实际应用中灵活性不足:采用固定光栅扫描顺序训练会将图像分布的单一分解方式硬编码到模型中,导致其在推理时无法完成图像修复、外绘或编辑操作。现有解决方案(包括现代离散扩散系列)需从头开始在混合 token 顺序上训练,计算量约为标准光栅扫描训练的3倍;且离散扩散因自身结构,与 AR 推理生态系统(KV缓存、vLLM)的兼容性较差。本文认为该成本并无必要:预训练的光栅扫描 AR 模型已学习到图像 token 的联合分布,其缺失的并非知识,而是通过非顺序条件路径表达知识的能力。我们提出一种将预训练光栅扫描模型适配为任意阶生成器的方案,包含两个组件:未来感知位置嵌入(以可忽略的开销解决目标位置可识别性问题),以及从预训练解追踪到良好任意阶盆地的稳定优化路径的顺序课程。将该方案应用于四种基础模型(涵盖两种架构与两种规模:LlamaGen-L/XL、RAR-L/XL),其在 ImageNet 修复任务上的性能显著优于 MaskGIT(FID 6.21 对比 10.44),在外绘任务上表现与 MAR-L 相当;该方案为换取灵活性,仅使类别条件 FID 提升1.2-1.9,且计算成本仅比预训练增加13-33%,同时保留标准 AR 推理栈不变。结果表明,图像修复、外绘与编辑操作无需额外添加到自回归图像模型中,可从现有模型中解锁。代码可在该 https URL 获取。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑