arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.17286cs.CV
收藏

深度自适应高效视觉自回归建模

Depth Adaptive Efficient Visual Autoregressive Modeling

Beijing Institute of Technology(北京理工大学)

Chunliang Li, Tianze Cao, Sanyuan Zhao

AI总结:

本文提出DepthVAR,通过自适应分配每个token的计算深度,提升高分辨率图像生成效率,实验表明在质量损失小的情况下实现2.3-3.1倍加速。

摘要:

视觉自回归(VAR)建模在生成高分辨率图像时对每个位置应用固定计算深度效率低下。现有方法通过频率图剪枝加速推理,但二值硬剪枝方法存在根本限制,即使频率估计更优也无法提升质量。观察到VAR模型具有显著的深度冗余,本文提出从剪枝整个token到自适应分配每个token计算深度的范式转变。为此,我们引入训练自由的DepthVAR框架,动态分配计算。它整合了自适应深度调度器,通过循环旋转调度实现平衡、非静态的细化,结合动态推理过程,将这些深度转化为层主掩码,选择性地应用transformer块,并混合得到的代码以确保每个token的影响与其处理深度成比例。大量实验表明,DepthVAR在质量损失极小的情况下实现2.3×-3.1×的加速,提供了与现有硬剪枝方法相竞争的计算性能折衷方案。代码可在https://github.com/STOVAGtz/DepthVAR获取。

英文摘要:

Visual Autoregressive (VAR) modeling inefficiently applies a fixed computational depth to each position when generating high-resolution images. While existing methods accelerate inference by pruning tokens using frequency maps, their binary hard-pruning approach is fundamentally limited and fails to improve quality even with better frequency estimation. Observing that VAR models possess significant depth redundancy, we propose a paradigm shift from pruning entire tokens to adaptively allocating per-token computational depth. To this end, we introduce DepthVAR, a training-free framework that dynamically allocates computation. It integrates an adaptive depth scheduler, which assigns computational depth via a cyclic rotated schedule for balanced, non-static refinement, with a dynamic inference process that translates these depths into layer-major masks, selectively applies transformer blocks, and blends the resulting codes to ensure each token's influence is proportional to its processing depth. Extensive experiments show that DepthVAR achieves 2.3$\times$-3.1$\times$ acceleration with minimal quality loss, offering a competitive compute-performance trade-off compared to existing hard-pruning approaches. Code is available at https://github.com/STOVAGtz/DepthVAR

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

↑