Backend
Same Request, Different Answer: Quantization Amplifies Cache-Induced Divergence in LLM Serving
arXiv cs.DC0 views
arXiv:2609.04748v3 Announce Type: replace-cross Abstract: Major open-source serving stacks reuse the key-value tensors of a shared prefix by default. We measure what this prefix reuse costs in reproducibility. Holding model, decoding, seed and request order fixed at batch size one, we ran an eighty-episode multi-turn agentic tool-use workload with prefix reuse on and off across two engines and four weight formats. Without prefix reuse, repeated runs reproduced every token and log-probability in all ten configurations. With it, cache-hit and recompute paths diverged on both engines. On llama.cpp with GGUF weights this path divergence rises with quantization: for Qwen2.5-7B over ten independent server histories, it reached 37.4 percent of episodes at 16-bit and 82.5 percent at four-bit. Near-tie decisions became only about 1.2 times as common, while the cache-path change in top-two margins grew 4.9-fold from 16-bit to three-bit. Serving four-bit weights through 16-bit kernels left divergence not detectably different from 16-bit, placing the amplification mainly in the quantized execution path. At Q4_K_M, run-to-run divergence came mainly from llama.cpp's server-level prompt cache: under the canonical episode order it moved divergence by 37.5 points, and at its default, divergence spanned 20.0 to 28.7 percent under five random orders. With cache state restored, each path reproduced exactly while the two still differed. In the tested stacks, cached serving is irreproducible because the cache state is absent from the request and not reset by default. A single-turn bridge shows path divergence reaching task outcomes with no detectable net change in accuracy. We release the harness, logs, and analysis pipeline.
Source:https://arxiv.org/abs/2609.04748PreviousIntroducing Cluster Efficiency to LLM Serving: Pooling Economical Accelerators over Fast InterconnectsNextMCP Server Architecture Patterns for LLM-Integrated Applications
Related posts
How to fix Salesforce import errors
0dev.to Data
Wenn Proteomik das „Was“ liefert, aber VR das „Wie“ begreifbar macht
0dev.to Data
AI PFP generator 2026: identity, speed and the 96px problem
0dev.to Design
The Shadow Backlog: How Agentic Code Generation Overwhelms System Architecture
0dev.to Discuss

The Day After the Vendor Demo, When Everyone Returns to Their Actual Jobs
0dev.to Discuss
从 NBitcoin 到 NKaspa:.NET 开发者的 Kaspa 迁移对照(alpha)
0dev.to C#