Work

RACER: Retrieval-Augmented Contextual Rapid Speculative Decoding

Year: 2026
Type: conference-paper
Abstract: Autoregressive decoding in Large Language Models (LLMs) generates one token per step, causing high inference latency.Speculative decoding (SD) mitigates this through a guessand-verify strategy, but existing training-free variants face trade-offs: retrieval-based drafts break when no exact match exists, while logits-based drafts lack structural guidance.We propose RACER (Retrieval-Augmented Contextual Rapid Speculative Decoding), a lightweight and training-free method that integrates retrieved exact patterns with logitdriven future cues.This unification supplies both reliable anchors and flexible extrapolation, yielding richer speculative drafts.Experiments on Spec-Bench, HumanEval, and MGSM-ZH demonstrate that RACER consistently accelerates inference, achieving more than 2× speedup over autoregressive decoding, and outperforms prior training-free methods, offering a scalable, plug-and-play solution for efficient LLM decoding.Our source code is available at https://github.com/hkr04/RACER.
Language: English
Open Access status: hybrid
OpenAlex ID: W7166840458
FWCI: 8.936
Cites:
Cited by: 1
Related to: 10