Fast Inference of Visual Autoregressive Model with Adjacency-Adaptive Dynamical Draft Trees

Haodong Lei, Hongsong Wang, Xin Geng, Liang Wang, Pan Zhou
12/26/2025
cs.CV

Official code: Haodong-Lei-Ray/ADT-Tree (19 stars, last commit 2025-12-29).

Abstract

Autoregressive (AR) image models achieve diffusion-level quality but suffer from sequential inference, requiring approximately 2,000 steps for a 576x576 image. Speculative decoding with draft trees accelerates LLMs yet underperforms on visual AR models due to spatially varying token prediction difficulty. We identify a key obstacle in applying speculative decoding to visual AR models: inconsistent acceptance rates across draft trees due to varying prediction difficulties in different image regions. We propose Adjacency-Adaptive Dynamical Draft Trees (ADT-Tree), an adjacency-adaptive dynamic draft tree that dynamically adjusts draft tree depth and width by leveraging adjacent token states and prior acceptance rates. ADT-Tree initializes via horizontal adjacency, then refines depth/width via bisectional adaptation, yielding deeper trees in simple regions and wider trees in complex ones. The empirical evaluations on MS-COCO 2017 and PartiPrompts demonstrate that ADT-Tree achieves speedups of 3.13xand 3.05x, respectively. Moreover, it integrates seamlessly with relaxed sampling methods such as LANTERN, enabling further acceleration. Code is available at https://github.com/Haodong-Lei-Ray/ADT-Tree.

View on arXivView PDF

Code Implementations(1)

190Shell, PythonApr 6, 20259 months ago

Similar Papers

Cite this paper

@article{lei2025fast,
  title  = {Fast Inference of Visual Autoregressive Model with Adjacency-Adaptive Dynamical Draft Trees},
  author = {Haodong Lei and Hongsong Wang and Xin Geng and Liang Wang and Pan Zhou},
  year   = {2025},
  eprint = {2512.21857},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.21857v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.21857.svg)](https://codeofpaper.com/paper/2512.21857)

Discussion