CARD: A cache-assisted parallel speculative decoding framework via query-and-correct paradigm for accelerating LLM inference
Abstract
Speculative decoding (SD), where a draft model provides multiple candidate tokens for the target model to verify in parallel, has demonstrated significant potential for accelerating LLM inference. Yet, existing SD approaches adhere to a strict “draft-then-verify” paradigm, enforcing a sequential process that hampers performance and constrains the draft model’s capacity. Moreover, rejecting a token in the candidate sequence invalidates all subsequent tokens, leading to wasted computation during drafting. To overcome these limitations, we propose a cache-assisted parallel speculative decoding framework called CARD, which employs a novel “query-and-correct” paradigm. Our approach decouples drafting from verification: the draft model populates a shared cache with candidate tokens, while the target model concurrently refines the draft’s trajectory. This enables inference at near-draft-speed, effectively leveraging the draft model’s efficiency without additional fine-tuning. Experimental results show that CARD significantly outperforms existing state-of-the-art methods, achieving up to a 4.83×acceleration over vanilla autoregressive decoding, with no fine-tuning required for either models. Our code is available at https://github.com/hunzhizi/CARD .
Fields of Study & Subjects
Algorithms and Data Compression
Natural Language Processing Techniques
Advanced Data Storage Technologies
Publication details
- Journal / source
- High-Confidence Computing
- Publisher
- Elsevier BV
- Pages
- 100420–100420
- Publication date
- 1 July 2026
- Language
- EN