Skip to main content
CenXiv.org
此网站处于试运行阶段,支持我们!
我们衷心感谢所有贡献者的支持。
贡献
赞助
cenxiv logo > cs > arXiv:2507.01957v1

帮助 | 高级搜索

计算机科学 > 计算机视觉与模式识别

arXiv:2507.01957v1 (cs)
[提交于 2025年7月2日 ]

标题: 面向局部性的并行解码用于高效的自回归图像生成

标题: Locality-aware Parallel Decoding for Efficient Autoregressive Image Generation

Authors:Zhuoyang Zhang, Luke J. Huang, Chengyue Wu, Shang Yang, Kelly Peng, Yao Lu, Song Han
摘要: 我们提出了一种局部感知并行解码(LPD)方法,以加速自回归图像生成。 传统的自回归图像生成依赖于下一个块的预测,这是一个内存密集型过程,导致高延迟。 现有工作尝试通过转向多块预测来并行化下一个块的预测以加速该过程,但仅实现了有限的并行化。 为了在保持生成质量的同时实现高并行化,我们引入了两项关键技术:(1)灵活并行化的自回归建模,这是一种新颖的架构,能够实现任意生成顺序和并行度。 它使用可学习的位置查询标记来指导目标位置的生成,同时确保同时生成的标记之间的相互可见性,以保证并行解码的一致性。(2)局部感知生成顺序,这是一种新的调度方式,通过形成组来最小化组内依赖性和最大化上下文支持,从而提高生成质量。 通过这些设计,我们在ImageNet类别条件生成上将生成步骤从256减少到20(256$\times$256 res.)和从1024减少到48(512$\times$512 res.),而不会降低质量,并且比之前的并行化自回归模型至少降低了3.4$\times$的延迟。
摘要: We present Locality-aware Parallel Decoding (LPD) to accelerate autoregressive image generation. Traditional autoregressive image generation relies on next-patch prediction, a memory-bound process that leads to high latency. Existing works have tried to parallelize next-patch prediction by shifting to multi-patch prediction to accelerate the process, but only achieved limited parallelization. To achieve high parallelization while maintaining generation quality, we introduce two key techniques: (1) Flexible Parallelized Autoregressive Modeling, a novel architecture that enables arbitrary generation ordering and degrees of parallelization. It uses learnable position query tokens to guide generation at target positions while ensuring mutual visibility among concurrently generated tokens for consistent parallel decoding. (2) Locality-aware Generation Ordering, a novel schedule that forms groups to minimize intra-group dependencies and maximize contextual support, enhancing generation quality. With these designs, we reduce the generation steps from 256 to 20 (256$\times$256 res.) and 1024 to 48 (512$\times$512 res.) without compromising quality on the ImageNet class-conditional generation, and achieving at least 3.4$\times$ lower latency than previous parallelized autoregressive models.
评论: 前两位作者对本工作贡献相同
主题: 计算机视觉与模式识别 (cs.CV) ; 人工智能 (cs.AI)
引用方式: arXiv:2507.01957 [cs.CV]
  (或者 arXiv:2507.01957v1 [cs.CV] 对于此版本)
  https://doi.org/10.48550/arXiv.2507.01957
通过 DataCite 发表的 arXiv DOI(待注册)

提交历史

来自: Zhuoyang Zhang [查看电子邮件]
[v1] 星期三, 2025 年 7 月 2 日 17:59:23 UTC (15,978 KB)
全文链接:

获取论文:

    查看标题为《》的 PDF
  • 查看中文 PDF
  • 查看 PDF
  • HTML(实验性)
  • TeX 源代码
  • 其他格式
许可图标 查看许可
当前浏览上下文:
cs.CV
< 上一篇   |   下一篇 >
新的 | 最近的 | 2025-07
切换浏览方式为:
cs
cs.AI

参考文献与引用

  • NASA ADS
  • 谷歌学术搜索
  • 语义学者
a 导出 BibTeX 引用 加载中...

BibTeX 格式的引用

×
数据由提供:

收藏

BibSonomy logo Reddit logo

文献和引用工具

文献资源探索 (什么是资源探索?)
连接的论文 (什么是连接的论文?)
Litmaps (什么是 Litmaps?)
scite 智能引用 (什么是智能引用?)

与本文相关的代码,数据和媒体

alphaXiv (什么是 alphaXiv?)
CatalyzeX 代码查找器 (什么是 CatalyzeX?)
DagsHub (什么是 DagsHub?)
Gotit.pub (什么是 GotitPub?)
Hugging Face (什么是 Huggingface?)
带有代码的论文 (什么是带有代码的论文?)
ScienceCast (什么是 ScienceCast?)

演示

复制 (什么是复制?)
Hugging Face Spaces (什么是 Spaces?)
TXYZ.AI (什么是 TXYZ.AI?)

推荐器和搜索工具

影响之花 (什么是影响之花?)
核心推荐器 (什么是核心?)
IArxiv 推荐器 (什么是 IArxiv?)
  • 作者
  • 地点
  • 机构
  • 主题

arXivLabs:与社区合作伙伴的实验项目

arXivLabs 是一个框架,允许合作伙伴直接在我们的网站上开发和分享新的 arXiv 特性。

与 arXivLabs 合作的个人和组织都接受了我们的价值观,即开放、社区、卓越和用户数据隐私。arXiv 承诺这些价值观,并且只与遵守这些价值观的合作伙伴合作。

有一个为 arXiv 社区增加价值的项目想法吗? 了解更多关于 arXivLabs 的信息.

这篇论文的哪些作者是支持者? | 禁用 MathJax (什么是 MathJax?)
  • 关于
  • 帮助
  • contact arXivClick here to contact arXiv 联系
  • 订阅 arXiv 邮件列表点击这里订阅 订阅
  • 版权
  • 隐私政策
  • 网络无障碍帮助
  • arXiv 运营状态
    通过...获取状态通知 email 或者 slack

京ICP备2025123034号