Explain how EAGLE-3 differs from classic draft-model speculative decoding and from reusing a model’s own multi-token-prediction module, as DeepSeek-V3 does. When would you switch speculation off in production?
Answer
Model answer, written in a candidate's voice
In short
- Classic speculative decoding: cheap drafter proposes several tokens, target verifies in one pass, output distribution stays exact.
- EAGLE-3: lightweight head on target hidden features, predicts tokens directly, fuses low/mid/high-level features, uses training-time test, improves with more data.
- MTP reuse: DeepSeek-V3-style multi-token-prediction module is trained with the model and reused as drafter; reported 85-90% second-token acceptance and about 1.8x tokens/sec.
- Gains depend on acceptance rate and batch size; large batches are more compute-bound, so speedups shrink (EAGLE-3 reports 1.38x at batch 64 in SGLang).
- Switch off or shorten drafts when saturated, acceptance is low (high temperature, unusual domains), or latency SLOs are already met; monitor acceptance per traffic slice.
In full
Classic speculative decoding uses a small separate drafter to propose several tokens cheaply, then the target model verifies them in one pass, and with proper rejection sampling the output distribution stays exact rather than approximate. EAGLE-3 is different in that the drafter is a lightweight head built from the target model’s own hidden features, it predicts tokens directly, fuses low-, mid- and high-level features, and uses training-time test so it keeps improving as more data is available. Reusing a model’s own multi-token-prediction module is a third option: DeepSeek-V3 trains that module with the model and reuses it as a drafter, reporting 85-90% acceptance of the second token and about 1.8x tokens per second. The practical win is not fixed: it scales with acceptance rate and shrinks as batch size grows because the GPU moves closer to compute-bound, which is why EAGLE-3 reports 1.38x at batch 64 in SGLang rather than a large constant speedup. I would turn speculation off or shorten drafts when the server is saturated, when acceptance is low because of high temperature or unusual domains, or when latency SLOs are already met, and I would monitor acceptance per traffic slice rather than only globally.
What a strong answer covers
- Speculative decoding drafts several tokens cheaply and verifies them in one target pass, keeping the output distribution exact.
- EAGLE-style heads draft from the target model’s own hidden features; EAGLE-3 predicts tokens directly, fuses low-, mid- and high-level features and uses training-time test so it improves with more data.
- Multi-token-prediction modules are trained with the model and can be reused as drafters (DeepSeek-V3 reports 85–90% acceptance of the second token and about 1.8x tokens per second).
- Gains depend on acceptance rate and batch size: at large batch the GPU is closer to compute-bound and speed-ups shrink (EAGLE-3 reports 1.38x at batch 64 in SGLang).
- Switch off or shorten drafts when the server is saturated, acceptance is low (high temperature, unusual domains), or latency SLOs are already met; monitor acceptance per traffic slice.
Common mistakes
- Claiming speculative decoding changes output quality, or that it always helps.
Follow-ups
- How would you train a draft head for a fine-tuned model?