TL;DR
Autoregressive image generation models deliver excellent text-to-image alignment but suffer from high latency due to sequential token generation. MULO-SD (Multi-Scale Local Speculative Decoding) accelerates this process by up to 5x using a low-resolution draft model combined with a novel spatially aware verification mechanism. By resampling only local neighborhoods around rejected tokens rather than restarting the sequence, it bridges the gap between generation speed and image fidelity.
What Problem Does This Paper Address?
Autoregressive (AR) large language models have successfully expanded into the visual domain (Multimodal LLMs), showing impressive text-to-image synthesis capabilities. However, generating images token-by-token is computationally expensive because the sequence length grows quadratically with image resolution.
Speculative decoding—a popular acceleration technique in NLP where a small "draft" model predicts tokens that a large "target" model verifies in parallel—fails when applied naively to images. This failure happens because visual tokens are highly ambiguous, and standard text-based verification uses a strict "raster-scan" order that discards all tokens generated after the first mistake. This completely ignores the spatial structure and multi-scale nature of images, leading to poor token acceptance rates and minimal speedups.
Methods
The authors introduce MULO-SD, a framework that incorporates three main innovations to adapt speculative decoding for vision:
- Multi-Scale Drafting: Instead of drafting at full resolution, MULO-SD uses a low-resolution draft model to quickly generate a coarse image. These tokens are then upsampled to the target resolution to serve as candidates for the high-resolution target model.
- Local Verification and Expansion: Rather than using standard raster-scan rejection, MULO-SD evaluates tokens based on a relaxed probability threshold over their spatial neighborhood. If a token is rejected, the algorithm only resamples tokens within a small local radius ($l$) around the error, preserving distant, correctly drafted tokens.
- Parallel Decoding Integration: The rejected tokens are grouped into "rejection islands" (connected components on the 2D grid). MULO-SD processes these islands concurrently and applies parallel decoding strategies (like ZipAR) within each island to minimize sequential target-model steps.
The framework supports both a learned latent-space upsampler and a training-free pixel-space upsampler.
Datasets
The authors trained their latent-space upsamplers and drafter models on the LAION-COCO-Aesthetic dataset. For evaluation, they utilized the MS-COCO 2017 5k validation split, measuring performance via standard benchmarks: GenEval and DPG-Bench for text-to-image alignment, alongside FID and HPSv2 for perceptual quality.
Key Insights and Ideas
- Spatial Locality is Key: In text, a wrong word can completely change the meaning of the rest of a sentence. In images, a mistake in the top-left corner rarely impacts the correctness of the bottom-right corner. Exploiting this spatial independence prevents unnecessary token re-generation.
- Resolution Arbitrage: Generating tokens at a lower resolution provides a massive speedup due to the quadratic reduction in sequence length, which easily compensates for the overhead of the upsampling and verification stages.
- Standard Text Baselines Fail on Vision: Text-based speculative decoding methods like EAGLE-2 actually cause a slowdown (negative speedup) on image data because visual token distributions are much flatter and more ambiguous than text distributions.
Key Results
- Substantial Speedups: MULO-SD achieves up to a 5.33× speedup on the Tar-7B model at 1024p resolution, significantly outperforming parallel decoding baselines like ZipAR (3.65×) and speculative decoding baselines like LANTERN (1.45×).
- Quality Preservation: The acceleration comes with virtually no degradation in image quality or text alignment, closely matching the FID, HPSv2, and GenEval scores of the original, unaccelerated target models.
Limitations and Future Work
- Memory Overhead: MULO-SD currently requires loading two separate models (the low-res drafter and high-res verifier) into memory and maintaining two distinct KV-caches, which can challenge memory-constrained edge devices.
- Model Alignment Dependency: The speedup heavily relies on the architectural and distributional alignment between the drafter and verifier models; independently trained or structurally different models see a drop in token acceptance rates.
- Future Directions: The authors suggest exploring self-speculative decoding (using internal layers of the target model to draft) to eliminate the dual-model memory footprint, and extending the framework to video generation tasks.
Summary updated