Adaptive hybrid speculative decoding for accelerating large language model inference

Processing long sequences efficiently is crucial for modern large language models (LLM), yet serving these models incurs high inference costs due to computational bottlenecks in speculative decoding. Existing speculative decoding methods leverage fixed-granularity draft–verification strategies, which introduce a trade-off between inference speed and accuracy: a larger draft step accelerates decoding but increases verification overhead, while a smaller step ensures correctness but reduces efficiency. To overcome this trade-off, we propose Adaptive Hybrid Speculative Decoding (AHSD) , a novel framework built upon two key algorithmic innovations: Adaptive Feedback Thresholds and Confidence-Driven Two-Stage Token Processing, implemented efficiently via a bucketed batching optimization. First, the adaptive feedback threshold dynamically adjusts rollback and validation by monitoring the draft model’s confidence in real time, if confidence exceeds the threshold, verification is skipped; otherwise, a refining check is triggered, maximizing first-pass success while minimizing false positives. Second, the confidence-driven two-stage token processing decouples draft generation from verification, allowing high-confidence tokens to bypass verification entirely. To ensure these algorithmic innovations execute efficiently on modern GPUs, we employ a bucketed batching strategy that groups sequences by dynamically chosen block sizes , pads each homogeneous batch to its maximum length with a unified attention mask, and executes all sequences in parallel, thereby eliminating scheduling overhead and branch divergence caused by length variability.This sharply reduces re-model frequency and enhances parallelism. Comprehensive simulations show that AHSD achieves up to speedup and throughput gain over existing schemes, making it suitable for applications that can tolerate minor quality loss for substantially faster inference.

Authors

Institutions

Publication Details

Journal
Neurocomputing
Published
2026-04-27
DOI
https://doi.org/10.1016/j.neucom.2026.133760
Primary Topic
Speech Recognition and Synthesis
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Adaptive hybrid speculative decoding for accelerating large language model inference

Ting Yang, Yang Yong, Shao Shuai Gao, Ye Hua Yin
Neurocomputing
Speech Recognition and Synthesis
article

Adaptive hybrid speculative decoding for accelerating large language model inference

Ting Yang, Yang Yong, Shao Shuai Gao, Ye Hua Yin
article en

Abstract

Processing long sequences efficiently is crucial for modern large language models (LLM), yet serving these models incurs high inference costs due to computational bottlenecks in speculative decoding. Existing speculative decoding methods leverage fixed-granularity draft–verification strategies, which introduce a trade-off between inference speed and accuracy: a larger draft step accelerates decoding but increases verification overhead, while a smaller step ensures correctness but reduces efficiency. To overcome this trade-off, we propose Adaptive Hybrid Speculative Decoding (AHSD) , a novel framework built upon two key algorithmic innovations: Adaptive Feedback Thresholds and Confidence-Driven Two-Stage Token Processing, implemented efficiently via a bucketed batching optimization. First, the adaptive feedback threshold dynamically adjusts rollback and validation by monitoring the draft model’s confidence in real time, if confidence exceeds the threshold, verification is skipped; otherwise, a refining check is triggered, maximizing first-pass success while minimizing false positives. Second, the confidence-driven two-stage token processing decouples draft generation from verification, allowing high-confidence tokens to bypass verification entirely. To ensure these algorithmic innovations execute efficiently on modern GPUs, we employ a bucketed batching strategy that groups sequences by dynamically chosen block sizes , pads each homogeneous batch to its maximum length with a unified attention mask, and executes all sequences in parallel, thereby eliminating scheduling overhead and branch divergence caused by length variability.This sharply reduces re-model frequency and enhances parallelism. Comprehensive simulations show that AHSD achieves up to speedup and throughput gain over existing schemes, making it suitable for applications that can tolerate minor quality loss for substantially faster inference.

NeurocomputingVol. 689
Peng Cheng Laboratory (CN), University of Chinese Academy of Sciences (CN)
Peng Cheng Laboratory
Openalex Percentile: Top 13%
Speech Recognition and Synthesis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.