cs.CVJun 26, 2026

CSD: Content-aware Speculative Decoding for Efficient Image Generation

Authors: Mingcheng Wang, Junbo Qiao, Yunchen Li, Lingfu Jiang, Wei Li, Jie Hu, Jiao Xie, Zhou Yu, +3 more

Organizations: East China Normal University · Huawei Foundation Model · Key Laboratory of Advanced Theory and Application in Statistics and Data Science-MOE

Abstract

Speculative decoding (SD) has emerged as a key solution to accelerate the inference of autoregressive models. However, in the field of image generation, it faces the challenge of low acceptance rates, and directly relaxing its criteria leads to degradation in image quality. In this paper, we propose a novel content-aware speculative decoding algorithm, termed CSD, which integrates an entropy-based probability relaxation mechanism with an optimal resampling strategy to enhance the inference efficiency for autoregressive image generation. By leveraging the informational uncertainty inherent in different regions of an image, CSD dynamically adjusts the acceptance probability of candidate tokens, increasing the acceptance rate in low-detail areas to accelerate generation. Moreover, a distribution alignment filter is introduced to ensure the output distribution to be aligned with the target model, which significantly improves the generative quality. Experiments conducted on Lumina-mGPT and Janus-Pro demonstrate that the superiority of the proposed CSD. Our source code is available at https://github.com/aderfebr/CSD.

Explore similar work

CardsList
  1. CASCADE: Context-Aware Relaxation for Speculative Image Decoding

    May 8, 2026Selin Yildirim, Subhajit Dutta Chowdhury, Mohammad Mahdi Kamani +2Speculative DecodingAutoregressive Image Generation