Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

EvoSpec: Evolving Speculative Decoding via Real-Time Vocabulary and Parameter Adaptation

About

Speculative decoding accelerates Large Language Model inference via a draft-then-verify paradigm, yet the output projection layer becomes a bottleneck as vocabulary sizes scale. While existing static pruning methods effectively reduce this overhead, they suffer from precipitous drops in acceptance rate in specialized domains or topic-switching scenarios due to their inability to capture dynamic distribution shifts. To address this, we introduce EvoSpec, a framework that enables real-time evolution of the draft model through dynamic vocabulary and parameter adaptation. Unlike static or purely retrieval-based approaches, EvoSpec employs a context-aware mechanism that retrieves critical long-tail tokens via efficient semantic and statistical indexing. Furthermore, we propose a lightweight online alignment strategy utilizing curriculum learning to continually minimize the distributional gap between the draft and target models. Extensive evaluations across specialized domains (coding, law, and medicine) confirm that EvoSpec overcomes the limitations of static baselines. On EAGLE-3, it achieves a 1.13x speedup in these settings over the state-of-the-art static baseline FR-Spec, with 27\% lower memory overhead than standard online adaptation.

Shuyu Zhang, Lingfeng Pan, Qicheng Wang, Yaqi Shi, Yueyang Tan, Ruyu Yan, Jiaqi Chen, Lixing Du, Lu Wang• 2026

Related benchmarks

TaskDatasetResultRank
Speculative DecodingSpec-Bench
MT Score3.31
57
Speculative DecodingHumanEval--
36
Speculative DecodingCode
Throughput (tokens/s)138.7
22
Speculative DecodingLaw
Throughput (tokens/s)132.7
22
Speculative DecodingMed
Throughput (tokens/s)128.5
22
Speculative Decoding InferencePile of Law
Inference Speed (tokens/s)181.9
12
Speculative Decoding InferencePubMedQA
Throughput (tokens/s)182.2
12
Speculative Decoding InferenceSpecialized Datasets Aggregate
Average Speed (tokens/s)172.7
12
Speculative DecodingAverage Code, Law, Med
Throughput (tokens/s)133.3
11
Speculative DecodingSpecialized Domains Average
Throughput (tokens/s)114.3
11
Showing 10 of 11 rows

Other info

Follow for update