Bit flips in shared KV cache can turn correct LLM answers wrong up to 60% of the time
A single-bit flip in a cached KV block can cause correct model responses to become incorrect, with failure rates varying by task
Systems arXiv 17 Nov 2026 Measurement Prototype evidence
Published as “From Token Changes to Task Failures: Bit Flips in a Shared KV-Cache Block”
Why it matters
Deployments should protect KV-cache integrity (e.g., with checksums) because harmful flips are task-dependent, often invisible in output monitoring, and can accumulate over many requests.
Summary
A bit-6 or bit-15 flip in a shared KV-cache block can change many LLM responses, but the fraction that is actually harmful varies dramatically by task: 0.023 of changes are harmful on MBPP+, 0.060 on MMLU-Pro, and 0.59 on held-out TriviaQA (bit 6). Harm concentrates on “fragile” items whose sampled answers are sometimes wrong, and can be predicted without fault injection. The evidence comes from 188,340 software-injected flips on a single model and prefix, with 95% bootstrap intervals, so the results are task-specific and limited in external validity.
What they found 2
- Harmful fraction of changes differs by task, with 0.023 on MBPP+, 0.060 on MMLU-Pro and 0.59 on held-out TriviaQA for bit 6.
“h/T at bit 6 is 0.023 on MBPP+, 0.060 on MMLU-Pro and 0.59 on held-out TriviaQA”
- On policy requests, 11 of 30 bit-6 flips cause the model to add a medical claim after refusing.
“On policy, 11 of the 30 flips at bit 6 let the model add a medical claim after the required refusal”
Caveats 5
- On MBPP+, each flip harms at most two draws, too few to estimate the relation.
- Internal validity: fragile items. On MMLU-Pro, fresh requests answer some fragile items incorrectly even without a flip, so these items fall outside C.
- Construct validity: scoring. Two choices of scoring shape h. First, alias matching counts misspelled or reworded answers, such as “Tamar River” for “Tamar”, as wrong, which overstates the reported h/T of held-out TriviaQA at bit 6: 0.59 (Table 4) instead of 0.47 by our reading.
- External validity: setting. Our measurements cover one model, one prefix, single flips in the value cache at two bit positions, and BF16.
- External validity: residency. The damage h×N grows with how long a corrupted block stays cached.
What’s new here 4
- Measures actual user-visible harm rather than just output changes.
- Identifies fragile items as the primary locus of harm and shows they can be predicted without injection.
- Shows that harmed responses often retain correct format, making output-monitoring detection ineffective.
- Proposes checking cached KV blocks (e.g., via checksums) as a more reliable detection method.