Metraipolis › archive › dc_1bd9a8eed784
Speculative Decoding for Mixture-of-Experts Models: Expert Bytes, Kernel Bandwidth and the Best Draft Length — arXiv:2610.34440
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.34440
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-27T08:14:34.371Z
- SHA-256 of the archived text
df2c0c9f9b42010b38a3ad15ac153bedc634ecc0f259bf610ef0e11a38ca8214- Stable URL of this page
https://metraipolis.com/documento/dc_1bd9a8eed784
How to cite
Speculative Decoding for Mixture-of-Experts Models: Expert Bytes, Kernel Bandwidth and the Best Draft Length — arXiv:2610.34440 — arXiv (en), https://arxiv.org/abs/2610.34440 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_1bd9a8eed784 (Metraipolis archive dc_1bd9a8eed784, sha256 df2c0c9f9b42010b38a3ad15ac153bedc634ecc0f259bf610ef0e11a38ca8214)
BibTeX
@misc{dc1bd9a8eed784,
title = {Speculative Decoding for Mixture-of-Experts Models: Expert Bytes, Kernel Bandwidth and the Best Draft Length — arXiv:2610.34440},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.34440},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_1bd9a8eed784; sha256 df2c0c9f9b42010b38a3ad15ac153bedc634ecc0f259bf610ef0e11a38ca8214},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.34440. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Speculative decoding checks several drafted tokens in one verification pass. On a mixture-of-experts (MoE) model, consecutive tokens often select the same experts. A deduplicating engine reads each selected expert once per pass, so it requests fewer bytes than a per-slot engine, which reads it once per token. We write a step's time as the bytes each kernel requests over its effective bandwidth, plus fixed time. Under geometric acceptance, we derive from this step time when speculation is faster than plain decoding. The best draft length is a monotone staircase in the acceptance rate. We bound how a bandwidth error moves each result, and we check the main steps in Lean. Deduplication is faster exactly where its share $\bar u(n)$ of the per-slot bytes is below its ratio $r(n)$ of the per-slot bandwidth. On this http URL Metal, MLX-LM and this http URL CUDA, which we modified to deduplicate, the per-slot kernel has the higher effective bandwidth (r = 0.32 to 0.75). Thus deduplication is faster only from 5 to 8 tokens per pass, or never. We fit the bandwidths on one layer's expert operation, run alone, in under an hour per model. Bytes from routing traces over these bandwidths predict the time that deduplication saves. The measured saving lies inside its error bound at every point on CUDA and MLX-LM and at 36 of 48 points on Metal. The crossover is the first pass size at which deduplication is faster. The prediction places it within one pass size in 10 of 12 configurations of engine, model and depth. We computed these predictions after the measurements. On DeepSeek-V2-Lite, operation times measured before its speculative runs give the best draft length on CUDA within one at all 22 acceptance values. Tema degli esploratori: calcolo e infrastrutture (elenco arXiv cs.DC, nuovi lavori del giorno). Categorie arXiv: Machine Learning (cs.LG) ; Distributed, Parallel, and Cluster Computing (cs.DC); Performance (cs.PF). Pagina del lavoro: https://arxiv.org/abs/2610.34440 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-27T07:56:15.167Z dalla pagina https://arxiv.org/list/cs.DC/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).