Metraipolis › archive › dc_b18119f8eb7a
On the Fundamental Limits of Prefill-Based Decoding Length Prediction — arXiv:2610.40541
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.40541
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-31T06:10:51.579Z
- SHA-256 of the archived text
4fcae3b16bc7187ec20117211ef8a1d256b2f664459e7847be8e386c0d4cf0d2- Stable URL of this page
https://metraipolis.com/documento/dc_b18119f8eb7a
How to cite
On the Fundamental Limits of Prefill-Based Decoding Length Prediction — arXiv:2610.40541 — arXiv (en), https://arxiv.org/abs/2610.40541 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_b18119f8eb7a (Metraipolis archive dc_b18119f8eb7a, sha256 4fcae3b16bc7187ec20117211ef8a1d256b2f664459e7847be8e386c0d4cf0d2)
BibTeX
@misc{dcb18119f8eb7a,
title = {On the Fundamental Limits of Prefill-Based Decoding Length Prediction — arXiv:2610.40541},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.40541},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_b18119f8eb7a; sha256 4fcae3b16bc7187ec20117211ef8a1d256b2f664459e7847be8e386c0d4cf0d2},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.40541. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Predicting how many tokens a large language model (LLM) will decode, using only prefill-phase hidden states, is a key primitive for inference scheduling. We show that current benchmarks conflate predictor quality with task hardness: when the target model, dataset, or sampling configuration changes, reported accuracy collapses even though the predictor is unchanged. We trace this instability to an overlooked error source---the inherent stochasticity of autoregressive decoding---and derive bounds that every prefill-side method must obey. Our analysis treats decoding as a stopped stochastic process. The per-step stopping probability of a response is not constant but ramps up over hundreds of steps, so the decode length inherits a central limit theorem from the many local decisions that determine where a response ends; this yields per-prompt normality with an explicit error term, together with an affine variance law $\sigma=\alpha\mu+b$ whose slope is the coefficient of variation of the number of response segments. Empirically, the normal law reproduces the per-prompt MAE and the central mass of the decode-length distribution to within a few percent, and the residual departures from normality (mild right skew, slight excess kurtosis) are the ones predicted by the sampling-noise correction. Under fixed model, data, and sampling conditions, a broad design space of predictors (MLP, EGTP, FiLM, soft-label, and Mixture-of-Experts variants) converges to similar performance close to the bound, confirming that \emph{system error dominates model error}. We argue for a benchmarking protocol that fixes the model, data, and sampling parameters and that reports relative-error metrics alongside absolute ones. Code and analysis tools are available at this https URL .
Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno).
Categorie arXiv: Artificial Intelligence (cs.AI) ; Computation and Language (cs.CL); Information Theory (cs.IT).
Pagina del lavoro: https://arxiv.org/abs/2610.40541 — 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-31T06:07:08.568Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).