Beyond Tokens: Semantic-Aware Speculative Decoding for Efficient Inference by Probing Internal States
Dong, Ximing, Wang, Shaowei, Lin, Dayi, Chen, Boyuan, Hassan, Ahmed E.
–arXiv.org Artificial Intelligence
To address this limitation, we propose semanticLarge Language Models (LLMs) have achievedaware speculative decoding (SemanticSpec), a remarkable success across various tasks (OpenAI, novel framework that elevates speculative decod2023; Bai et al., 2023; Touvron et al., 2023; Liuing from the token level to the sequence level and et al., 2024; Team et al., 2024). However, theirhandles semantic-equivalence. SemanticSpec opdeployment is constrained by high inference la-erates over entire semantic sequences, capturing tency due to autoregressive decoding, where tokenshigher-level meaning rather than surface token patare generated sequentially, and the latency growsterns. The key challenge lies in estimating how with model size and output length. In particular, likely a model is to generate any sequence conLarge Reasoning Models (LRMs) such as OpenAIveying a particular meaning, which cannot be dio1 (Jaech et al., 2024) and DeepSeek R1 (Guo et al., rectly accessed from token probabilities. To over2025) exacerbate this issue by producing lengthycome this, SemanticSpec introduces a novel sechains of thought (CoT) for detailed intermediatemantic probability (i.e., the likelihood of generating reasoning before yielding the final output.
arXiv.org Artificial Intelligence
Sep-2-2026