论文实测:vLLM 服务优化特性会翻转评分答案,幅度与请求重排噪声相当
Exact on Paper: Which LLM Serving Shortcuts Flip Graded Answers, Measured Against the Noise of Reordering the Same Requests
研究在 vLLM 上以九种单特性配置和五个参考配置副本服务一个 4B 指令模型,对五个基准的 3,380 条请求逐条评分。默认内核下七项"精确"特性翻转 1.47%–1.78% 的评分结果,均未超过 1.72% 的调度噪声下限,而 FP8 KV cache 翻转 3.36%。改用 batch invariant 内核后七项特性逐请求复现参考文本,FP8 KV cache 仍翻转 3.91%。
arXiv:2611.29663v1 Announce Type: new Abstract: Teams enable serving features such as prefix caching, chunked prefill and speculative decoding after checking that benchmark accuracy is unchanged, because the engine documents them as exact. Accuracy is an aggregate, so a feature can hold it while flipping which requests are answered correctly. We serve one 4B instruction model in vLLM under nine single feature configurations and five replicas of a reference configuration, grade 3,380 requests from five benchmarks in every run, and compare each candidate with a restart floor (fresh process) and a scheduling floor (same requests in a different order). With default kernels every configuration keeps accuracy within one point, and the seven exact features flip the graded outcome of 1.47% (95% CI 1.13 to 1.85) to 1.78% (1.39 to 2.20) of requests, none above the scheduling floor of 1.72%, while the FP8 KV cache flips 3.36% (2.80 to 3.96), as many as FP8 weights. With batch invariant kernels all seven exact features, speculative decoding included, reproduce the reference text on every request, while the FP8 KV cache still flips 3.91% (3.28 to 4.53) of graded outcomes. A gate that compares against a single replica pair rejected an unchanged configuration, so we recommend certifying a serving change under batch invariant kernels, where the floor is zero, or against a scheduling floor measured from at least three replicas.
来源:arXiv (AI + Vision + Imaging) · arxiv.org