Metraipolis › archive › dc_c058b178b6ee

SharpDraft: Accelerating Long-Context Speculative Decoding with Cardinality-Aware Query Scaling — arXiv:2610.05106

Source
arXiv
Original
https://arxiv.org/abs/2610.05106
License (as archived)
CC0-1.0
Archived
2026-10-06T05:24:58.517Z
SHA-256 of the archived text
2033663b4afb3ad71bd4e0cff3ec0f3d217ea1ef746d03d33a3c8841074d20b5
Stable URL of this page
https://metraipolis.com/documento/dc_c058b178b6ee

How to cite

SharpDraft: Accelerating Long-Context Speculative Decoding with Cardinality-Aware Query Scaling — arXiv:2610.05106 — arXiv, https://arxiv.org/abs/2610.05106 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_c058b178b6ee (Metraipolis archive dc_c058b178b6ee, sha256 2033663b4afb3ad71bd4e0cff3ec0f3d217ea1ef746d03d33a3c8841074d20b5)
BibTeX
@misc{dcc058b178b6ee,
  title = {SharpDraft: Accelerating Long-Context Speculative Decoding with Cardinality-Aware Query Scaling — arXiv:2610.05106},
  howpublished = {arXiv},
  url = {https://arxiv.org/abs/2610.05106},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_c058b178b6ee; sha256 2033663b4afb3ad71bd4e0cff3ec0f3d217ea1ef746d03d33a3c8841074d20b5},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv, https://arxiv.org/abs/2610.05106. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Long-form reasoning makes inference expensive, and speculative decoding mitigates this cost by verifying multiple draft tokens in parallel. Its speedup, however, can fade as context grows and draft acceptance declines. We focus on attention-mass dilution: as softmax normalizes over more visible Keys, the mass concentrated on the highest-scoring Keys can decrease. We introduce SharpDraft, a training-free method that counteracts this effect through cardinality-aware Query scaling, without the computational overhead of online adaptation. Under explicit assumptions, we derive an exact top-$k$ mass correction and deploy a closed-form fixed-slope approximation. Across AIME-26, GPQA-Diamond, and LongGenBench Diary, SharpDraft achieves $2.59$-$3.19\times$ geometric-mean end-to-end speedups over target-only autoregressive decoding when applied to DFlash, PARD, and EAGLE 3.1. With DFlash, it improves decoding speed and outperforms full-parameter and LoRA-based online adaptation in end-to-end speedup, while matching the unmodified drafter's reported peak allocated GPU memory.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno).
Categorie arXiv: Artificial Intelligence (cs.AI).
Pagina del lavoro: https://arxiv.org/abs/2610.05106 — 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-06T05:24:05.549Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).