2025-02-28 · 专家 · 机器学习 · 计算机视觉

Beyond Next-Token: Next-X Prediction for Autoregressive Visual Generation

该论文提出了xAR,一个基于广义的下一X预测框架,用于自回归视觉生成,通过引入更灵活的预测单元和减轻暴露偏差,实现了高效的图像生成。

更新于 2025-03-04。作者:Sucheng Ren、Qihang Yu、Ju He、Xiaohui Shen、Alan Yuille、Liang-Chieh Chen。

中文摘要

自回归(AR)建模因其下一标记预测范式而闻名,是当前最先进的语言和视觉生成模型的基础。传统上,"标记"被视为最小的预测单元,通常在语言中是一个离散的符号,在视觉中是一个量化的区块。然而,为二维图像结构确定最佳标记定义仍是一个未解之谜。此外,AR模型存在暴露偏差问题,训练过程中的教师强制导致推理时误差累积。在这篇论文中,我们提出了xAR,一个通用的AR框架,它将标记的概念扩展到实体X,X可以代表单个区块标记、细胞(相邻区块的k次k组合)、子样本(遥远区块的非局部组合)、尺度(从粗糙到精细的分辨率),甚至整个图像。此外,我们将离散标记分类重新表述为连续实体回归,在每个AR步骤中利用流匹配方法。这种方法通过在噪声实体上而不是在真实标记上条件化训练,实现了噪声上下文学习,有效地缓解了暴露偏差。因此,xAR提供了两个关键优势:(1)它能够实现灵活的预测单元,捕捉不同的上下文粒度和空间结构;(2)通过避免依赖教师强制,它减轻了暴露偏差。在ImageNet-256生成基准测试中,我们的基础模型xAR-B(172M)在性能上优于DiT-XL/SiT-XL(675M),同时推理速度达到了20倍。同时,xAR-H以1.24的FID成绩创造了新的记录,其运行速度比之前表现最佳模型快2.2倍,而无需依赖视觉基础模块(例如DINOv2)或高级指导间隔采样。

英文摘要

Autoregressive (AR) modeling, known for its next-token prediction paradigm, underpins state-of-the-art language and visual generative models. Traditionally, a ``token'' is treated as the smallest prediction unit, often a discrete symbol in language or a quantized patch in vision. However, the optimal token definition for 2D image structures remains an open question. Moreover, AR models suffer from exposure bias, where teacher forcing during training leads to error accumulation at inference. In this paper, we propose xAR, a generalized AR framework that extends the notion of a token to an entity X, which can represent an individual patch token, a cell (a ktimes k grouping of neighboring patches), a subsample (a non-local grouping of distant patches), a scale (coarse-to-fine resolution), or even a whole image. Additionally, we reformulate discrete token classification as continuous entity regression, leveraging flow-matching methods at each AR step. This approach conditions training on noisy entities instead of ground truth tokens, leading to Noisy Context Learning, which effectively alleviates exposure bias. As a result, xAR offers two key advantages: (1) it enables flexible prediction units that capture different contextual granularity and spatial structures, and (2) it mitigates exposure bias by avoiding reliance on teacher forcing. On ImageNet-256 generation benchmark, our base model, xAR-B (172M), outperforms DiT-XL/SiT-XL (675M) while achieving 20times faster inference. Meanwhile, xAR-H sets a new state-of-the-art with an FID of 1.24, running 2.2times faster than the previous best-performing model without relying on vision foundation modules (\eg, DINOv2) or advanced guidance interval sampling.

解读

一句话总结

该论文提出了xAR,一个基于广义的下一X预测框架,用于自回归视觉生成,通过引入更灵活的预测单元和减轻暴露偏差,实现了高效的图像生成。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt