On the Fundamental Limits of Prefill-Based Decoding Length Prediction· 预填充解码长度预测的基本限制
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 determ
探讨预填充解码长度预测的固有限制与误差来源。
- 核心方法
- 将解码过程视为停止随机过程,分析每步停止概率的变化,并推导出预填充方法必须遵守的边界。
- 适合谁读
- 研究者
- 要解决的问题
- 现有预填充解码长度预测方法的准确度受任务难度的影响较大,且存在固有随机性导致的不稳定性。
- 关键实验
- 未提供
- 主要贡献
- 揭示了预填充解码长度预测的固有随机性问题,并提供了理论边界,有助于理解预测方法的局限性。
- 意义与局限
- 为理解解码长度预测的挑战提供了理论基础,有助于开发更稳定和准确的预测方法。但理论分析尚未验证于实际实验中。