[KongchangAI]
ConceptSpeculative Decoding / 投机采样

Speculative Decoding

An LLM inference acceleration technique formally proposed by the Google Brain team in 2023. It introduces a small draft model to rapidly generate candidate token sequences, which are then verified in parallel by the main model, theoretically improving generation speed by a factor of two to four.

Core Facts

Timeline (last 90 days)

Nov 25

As LLM inference costs continue to attract attention, soft optimization methods like this for speculative decoding are expected to become a standard part of the service optimization toolbox.

Unverified50%
Nov 25

For service teams that have already deployed speculative decoding, introducing simple temperature scaling calibration requires almost no additional cost yet can bring considerable gains in acceptance length.

Unverified50%
Nov 25

The speedup of speculative decoding depends heavily on the acceptance probability of draft tokens in target verification, which directly depends on the L1 distance between the target distribution p and the draft distribution q.

Unverified50%
Nov 21

Hy4 comes with speculative decoding acceleration, which can significantly reduce inference latency and VRAM pressure.

Unverified50%
Nov 20

Common AI inference optimization techniques include model quantization, operator fusion and graph optimization, KV cache management, continuous batching and speculative decoding.

Unverified50%
Nov 19

Acceptance rate refers to the proportion of tokens proposed by the draft model that are verified as acceptable by the target model, and it is the core lever for speculative decoding gains.

Unverified50%
Nov 19

Sightline shows that in vector graphics generation, speculative decoding should verify as far as the drafter's horizon allows.

Unverified50%
Nov 19

In SVG tasks, drafter errors in speculative decoding are very rare and exhibit a clustered distribution, and the distances over which accuracy is maintained within a block are much deeper than in natural language.

Unverified50%
Nov 19

Speculative decoding can accelerate rendering-based sample selection, and its effect is better than likelihood-based selection.

Unverified50%
Nov 18

The choice of baseline (whether engineering optimizations such as KV caching, quantization, and speculative decoding are enabled) significantly changes the efficiency comparison results.

Unverified50%

40 more timeline events

All Facts (20)

Verified

Speculative decoding generates candidate tokens through a lightweight draft model, with the main model verifying them in parallel in a single forward pass, accepting tokens that conform to the distribution and regenerating from the first rejected position.

90%
Verified

Speculative decoding submits the candidate sequence generated by the draft model to the target model as a whole for one-shot batch verification, requiring only a single forward pass to determine whether each candidate token is correct.

90%
Verified

A higher acceptance rate means the draft model's guesses are more accurate and the large model needs to redo less work, which directly determines the actual speedup achieved by speculative decoding.

90%
Verified

MTP is a technique that allows the model to predict multiple subsequent tokens in a single forward pass, reducing the number of inference computation rounds.

90%
Verified

Speculative decoding is a lossless acceleration technique that does not alter the model's output distribution; it uses a draft model with far fewer parameters than the target model to generate candidate tokens, which the target model then verifies in parallel.

90%
Verified

Speculative decoding generates candidate tokens via a small draft model and verifies them in parallel with a large model, improving throughput by 2–3× without quality loss

90%
Verified

The MTP (Multi-Token Prediction) auxiliary training objective allows the model to be used with speculative decoding during inference to improve throughput

90%
Verified

Speculative Decoding uses a small, fast draft model to predict multiple tokens in advance, which are then verified in parallel all at once by the large model.

90%
Verified

Speculative Decoding is one of the most mainstream inference acceleration approaches for large models, using a small draft model to rapidly generate candidate tokens that are then verified in parallel by the main model.

90%
Verified

NVIDIA's TensorRT-LLM deeply optimizes inference speed for its hardware architecture.

85%
Verified

Speculative decoding typically delivers a 2–3× speedup in practical applications.

80%
Verified

Traditional speculative decoding relies on an independent, smaller draft model to serially generate candidate tokens, which are then verified in parallel by the large model.

80%
Verified

Common optimization methods for inference latency include quantization, pruning, operator fusion, and inference engine replacement.

75%
Verified

Speculative decoding is a technique that accelerates generation without changing the output distribution.

75%
Verified

Inference throughput optimization relies on technologies such as KV Cache management and Continuous Batching, which directly determine response speed and service cost under concurrent user loads.

75%
Verified

Online inference scenarios with high latency requirements can be routed to lightweight models, while complex offline analysis tasks invoke larger-parameter models with greater capability but higher cost, in order to control inference costs.

75%
Verified

Inference optimization is the core technical direction for reducing AI's per-use cost, with common methods including model quantization (representing weights at lower precision such as INT8/FP8 to reduce memory footprint and computation), knowledge distillation (using a large model to guide a small model), KV cache reuse and batching (merging requests to improve GPU utilization), and speculative decoding (a small model drafts and a large model verifies to speed up generation).

65%
Verified

Methods for compressing the KV Cache include quantization, low-rank approximation, and evicting old tokens by importance; their direct effect is to increase the number of tokens (capacity) that a unit of GPU memory can hold, rather than to save compute or transfer.

65%
Verified

Speculative decoding's rejection-sampling-based verification algorithm ensures that the output distribution is exactly equivalent to—rather than merely an approximation of—running the main model alone.

65%
Verified

The combination of Multi-Token Prediction and speculative decoding can achieve a 2–4x inference speed improvement without compromising generation quality.

65%

Source Articles