2025-07-03 · 专家 · 计算机视觉 · 机器学习

Locality-aware Parallel Decoding for Efficient Autoregressive Image Generation

本文提出了一种名为Locality-aware Parallel Decoding (LPD)的加速自回归图像生成方法,通过灵活并行自回归建模和局部感知生成顺序调度,显著减少了生成步骤并降低了延迟。

更新于 2025-08-01。作者:Zhuoyang Zhang、Luke J. Huang、Chengyue Wu、Shang Yang、Kelly Peng、Yao Lu、Song Han。

中文摘要

我们提出了一种名为“局部感知并行解码”(LPD)的技术,旨在加速自回归图像生成。传统的自回归图像生成依赖于下一块预测,这是一个内存密集型过程,导致高延迟。现有的工作试图通过转向多块预测来并行化下一块预测,以加速这个过程,但仅实现了有限的并行化。为了在保持生成质量的同时实现高并行化,我们引入了两种关键技术:(1)灵活并行化的自回归建模,这是一种新型架构,能够实现任意生成顺序和并行化程度。它使用可学习的位置查询标记来引导目标位置的生成,同时确保并发生成的标记之间相互可见,以实现一致的并行解码。(2)局部感知生成顺序,这是一种新型调度策略,通过形成组来最小化组内依赖并最大化上下文支持,从而提升生成质量。凭借这些设计,我们在ImageNet类条件生成中,将生成步骤从256减少到20(256x256分辨率)和从1024减少到48(512x512分辨率),而不影响质量,并且实现了至少比之前的并行化自回归模型低3.4倍的延迟。

英文摘要

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 (256times256 res.) and 1024 to 48 (512times512 res.) without compromising quality on the ImageNet class-conditional generation, and achieving at least 3.4times lower latency than previous parallelized autoregressive models.

解读

一句话总结

本文提出了一种名为Locality-aware Parallel Decoding (LPD)的加速自回归图像生成方法,通过灵活并行自回归建模和局部感知生成顺序调度,显著减少了生成步骤并降低了延迟。

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

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

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

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

来源