Fast Inference of Visual Autoregressive Model with Adjacency-Adaptive Dynamical Draft Trees
By: Haodong Lei , Hongsong Wang , Xin Geng and more
Potential Business Impact:
Makes AI image creation much faster.
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.
Similar Papers
LANTERN++: Enhancing Relaxed Speculative Decoding with Static Tree Drafting for Visual Auto-regressive Models
CV and Pattern Recognition
Makes AI draw pictures much faster.
RADAR: Accelerating Large Language Model Inference With RL-Based Dynamic Draft Trees
Artificial Intelligence
Makes AI write faster by guessing better.
DEER: Draft with Diffusion, Verify with Autoregressive Models
Machine Learning (CS)
Makes AI write much faster.