Metraipolis › archive › dc_d58f5661b872
APEX: Speculate smarter, not deeper — arXiv:2610.07780
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.07780
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-07T11:23:12.443Z
- SHA-256 of the archived text
a5bbf35324883c3d63c7169b4effd051a8617a41942b912d29d4cc31bc9715ea- Stable URL of this page
https://metraipolis.com/documento/dc_d58f5661b872
How to cite
APEX: Speculate smarter, not deeper — arXiv:2610.07780 — arXiv (en), https://arxiv.org/abs/2610.07780 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_d58f5661b872 (Metraipolis archive dc_d58f5661b872, sha256 a5bbf35324883c3d63c7169b4effd051a8617a41942b912d29d4cc31bc9715ea)
BibTeX
@misc{dcd58f5661b872,
title = {APEX: Speculate smarter, not deeper — arXiv:2610.07780},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.07780},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_d58f5661b872; sha256 a5bbf35324883c3d63c7169b4effd051a8617a41942b912d29d4cc31bc9715ea},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.07780. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Speculative decoding reduces large language model inference latency by drafting multiple tokens before target-model verification, but its effectiveness depends on both the proposal mechanism and draft depth. Fixed configurations cannot respond to changes in predictability, repetition, and acceptance during generation, so deeper drafting can increase wasted computation without proportional speedup. We introduce APEX, a learned controller that balances decoding speed and draft-token waste through request-level expert selection and block-level depth adaptation. APEX-Router selects among EAGLE-3, n-gram, and draft-model speculation for each request, while APEX-Depth adjusts draft length at each verification block using causal decoding signals and recent verifier feedback. APEX models accepted draft length as censored survival feedback, learning position-wise rejection hazards, block execution costs, and an action utility that balances throughput, accepted progress, and wasted tokens. This allows the controller to adapt speculation while retaining the target model's verification procedure. We integrate APEX into vLLM and evaluate it with Qwen3-8B across six workloads, achieving up to 5.24X speedup over autoregressive decoding. Across the aggregate evaluation, APEX-S achieves 4.27X speedup, while APEX-B achieves 3.27X speedup with a 41.0% relative reduction in wasted-token percentage compared with fixed n-gram speculation at k=16, providing distinct operating points for balancing acceleration and draft-token utilization. Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.CL, nuovi lavori del giorno). Categorie arXiv: Computation and Language (cs.CL) ; Machine Learning (cs.LG). Pagina del lavoro: https://arxiv.org/abs/2610.07780 — 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-07T11:15:39.432Z dalla pagina https://arxiv.org/list/cs.CL/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).