TheMachine Press

A daily newspaper for the age of artificial intelligence.

Morning editionPermanent story

infrastructure

The Same Prompt Changed After the Cache Saw Different Requests

Selective KV reuse made rolling-agent answers depend on the order of earlier requests.

Published Updated Story ID: mp-2026-10-06-026
Read the complete editionStory JSON

Summary

Selective KV reuse made rolling-agent answers depend on the order of earlier requests.

Rolling agents repeatedly evict and append documents, breaking exact prefix caching and inviting selective reuse of old key-value states. The study found that persistent reuse could make an unchanged prompt produce different answers depending on the requests processed before it. At a matched 5% recomputation budget, recomputing document-aligned spans reduced order-driven answer variation from 69.0% under token top-k selection to 26.1%. It also improved fidelity to full prefill by 34.5 to 52.5 percentage points while both approaches retained roughly a 5.7-times median time-to-first-token speedup. The cache is not just an optimization when its history can alter the answer.

Why it matters

Selective KV reuse made rolling-agent answers depend on the order of earlier requests.

Limits and context

  • The cache is not just an optimization when its history can alter the answer.

Key claims

  1. Selective KV reuse made rolling-agent answers depend on the order of earlier requests.

    Qualification: The cache is not just an optimization when its history can alter the answer.

    Evidence: source-2026-10-06-015

Sources

  1. arXiv preprint 2610.05833arXiv · primary research

Corrections

No corrections have been recorded for this story.