SJD++: Improved Speculative Jacobi Decoding for Training-free Acceleration of Discrete Auto-regressive Text-to-Image Generation
Yao Teng, Zhihuan Jiang, Han Shi, Xian Liu, Xuefei Ning, Guohao Dai, Yu Wang, Zhenguo Li, Xihui Liu
TL;DR
This work tackles the slow inference of autoregressive text-to-image models by introducing Speculative Jacobi Decoding++ (SJD++), a training-free probabilistic parallel decoding framework that performs multi-token predictions per forward pass and uses speculative drafting-and-verification with token reuse. It couples Jacobi-style iterative updates with probabilistic acceptance and selective token reuse, augmented by spatial-prior initialization to exploit image locality. Across multiple models and benchmarks, SJD++ achieves 2×–3× latency reductions and 2×–7× step compression without observable degradation in visual quality or semantic alignment, with notable gains from the token reuse mechanism. The approach offers a practical, model-agnostic acceleration technique for large autoregressive T2I systems and suggests directions for training-integrated or video-extension future work.
Abstract
Large autoregressive models can generate high-quality, high-resolution images but suffer from slow generation speed, because these models require hundreds to thousands of sequential forward passes for next-token prediction during inference. To accelerate autoregressive text-to-image generation, we propose Speculative Jacobi Decoding++ (SJD++), a training-free probabilistic parallel decoding algorithm. Unlike traditional next-token prediction, SJD++ performs multi-token prediction in each forward pass, drastically reducing generation steps. Specifically, it integrates the iterative multi-token prediction mechanism from Jacobi decoding, with the probabilistic drafting-and-verification mechanism from speculative sampling. More importantly, for further acceleration, SJD++ reuses high-confidence draft tokens after each verification phase instead of resampling them all. We conduct extensive experiments on several representative autoregressive text-to-image generation models and demonstrate that SJD++ achieves $2\times$ to $3\times$ inference latency reduction and $2\times$ to $7\times$ step compression, while preserving visual quality with no observable degradation.
