{"resourceId":"ampavatina-eirinaki-kv-eviction-shared-prefix-agents-arxiv-2612-00909","versions":[{"version":"external-491b75452383f308aed87d9e10b592ba8f997ccf0ad3c1c376df296dc87fc88b","resource":{"id":"ampavatina-eirinaki-kv-eviction-shared-prefix-agents-arxiv-2612-00909","title":"Evaluating KV-Cache Eviction Policies for LLM Agents: The Effect on the Shared System Prompt","organization":"Hriday Ampavatina and Magdalini Eirinaki (authors as listed on arXiv)","sector":"AI inference systems research; relevant to university research computing and public-sector teams serving agents on their own GPUs","geography":"Not jurisdiction-specific; lab measurement on one NVIDIA A100 80GB GPU","publishedAt":"Submitted 1 Dec 2026","publicationDate":"2026-12-01","eventDate":null,"sourceName":"arXiv (cs.AI)","sourceLabel":"Academic preprint with full HTML (methods, appendices, limitations)","sourceUrl":"https://arxiv.org/abs/2612.00909","evidenceClass":"academic-research","outcomeClass":"cautionary","topics":["infrastructure","developers-agents"],"finding":"The authors replay recorded SWE-agent coding sessions against seven published KV-cache eviction policies on four Qwen2.5 and Llama-3.1 models (1.5B to 14B parameters), using vLLM 0.32.0 with prefix caching on one A100 80GB GPU. When a session keeps an eighth of its cache, four policies that choose tokens by attention or position keep at most 14% of the shared system prompt, and the model can rarely recall how to call its tools. Keeping the shared prefix out of eviction costs no extra memory under prefix caching, restores tool-documentation recall in nearly every case, and raises valid next-command rates by 10 to 22 percentage points on three models. Without prefix caching, keeping the prefix means a GPU holds a third to almost half fewer sessions.","sledRelevance":"Moderate and indirect. Everpure markets PureKVA on FlashBlade as a KV-cache tier that pre-stages context into GPU memory (archived Sept 30 and Nov 18 items). This Dec 1 preprint is fresh independent evidence that how agent KV cache is managed changes whether agents still work, not just latency. Universities and state agencies running agents on owned GPUs should evaluate any KV-cache tier, from Everpure or anyone else, on task correctness as well as time to first token. The paper does not test Everpure or any storage offload.","evidence":"Controlled measurement, not a production study. One step of one agent (SWE-agent), windows of 8,192 tokens while full sessions have a median of 23,317 tokens, four open-weight models up to 14B, one GPU type. The authors state the main limitation is that results come from one step of one agent and that task completion was not measured. Session-per-GPU numbers are memory-only limits. No storage-tier or offload system is evaluated.","architectureImplications":"Interpretation: KV-cache designs should treat shared system-prompt blocks differently from per-session history; any external KV tier should preserve shared-prefix reuse rather than reload or evict it per session.","governanceImplications":"Limited relevance: no governance content. Interpretation: agent evaluation plans should include tool-call validity under memory pressure.","securityPrivacyImplications":"Interpretation: shared prefixes are shared across sessions; multi-tenant KV caching (a PureKVA claim) needs tenant isolation checks so one tenant's cached context cannot be served to another. The paper does not test isolation.","caveats":"Preprint; one agent, one step, short windows; small open-weight models; not about storage offload or Everpure products.","streamIds":["everpure","research"],"roles":{"sales":"The framing point is that KV-cache handling affects whether agents still work, not only speed. With research computing directors and agency AI leads serving agents on their own GPUs, ask how they measure agent correctness when memory gets tight. This preprint supports a bounded evaluation conversation about KV-cache tiers. It does not show that PureKVA or any storage tier improves agent outcomes, and it should not be used to claim GPU savings.","engineering":"The framing point is test design. Engineers evaluating a KV-cache tier should replay real agent sessions and measure tool-call validity and recall, not just TTFT. Check that shared system-prompt blocks are reused across sessions and never evicted or reloaded per session, and confirm tenant isolation. The paper covers GPU-memory eviction on one A100; offload to flash is a different mechanism that needs its own measurement.","delivery":"The framing point is acceptance criteria that include correctness. Interpretation: a delivery team piloting KV-cache acceleration would add an agent-correctness test suite (valid tool calls, recall of instructions) alongside latency metrics, run it before and after enabling the tier, and gate production on no regression. Risks include short test windows that hide long-session failures, as the paper itself notes."},"roleDetails":{"sales":{"customerProblem":"Teams serving AI agents on owned GPUs hit KV-cache memory limits, and the usual fixes can quietly break agents' ability to call tools.","stakeholders":["Research computing director","Agency or campus AI program lead","Inference platform engineers","CISO for multi-tenant isolation"],"discoveryQuestions":["Do you serve agents on your own GPUs, and with which serving engine?","Is prefix caching enabled, and how long are typical agent sessions?","How do you measure agent correctness when memory is constrained?","Would a KV-cache tier be shared across departments or tenants?"],"valueHypothesis":"Interpretation: a KV-cache strategy that preserves shared prompts may let more agent sessions run per GPU without losing tool-use accuracy; the size of any gain must be measured locally.","potentialEngagement":"A short KV-cache evaluation on one agent workload that compares latency, sessions per GPU and tool-call validity with and without a candidate cache tier.","unsupportedClaims":["That PureKVA or any storage tier improves agent task success","Guaranteed GPU savings or fewer GPUs","Results for models above 14B or sessions longer than 8,192 tokens","Production performance; the study replays recorded sessions"]},"engineering":{"fit":"Institutions serving open-weight agents on owned GPUs with vLLM or similar engines.","architectureIntegration":"Serving engine with block-based KV cache and prefix caching; any external KV tier must keep shared-prefix blocks shared and pinned.","prerequisites":["Recorded agent sessions for replay","Serving engine with prefix caching enabled","Correctness metrics for tool calls and instruction recall"],"constraints":["Findings limited to one agent and one step","Models 1.5B to 14B on one A100","Storage offload not evaluated"],"security":"Verify tenant isolation for any shared KV cache so cached context from one tenant or session cannot leak to another.","proofOfValue":["Measure tool-call validity with and without the cache tier on full-length sessions","Confirm shared-prefix blocks are never evicted or reloaded per session","Report sessions per GPU and TTFT alongside correctness"]},"delivery":{"work":"Pilot a KV-cache configuration on one agent workload with a correctness test suite and latency baseline.","dependencies":["Access to representative agent sessions","Serving-engine configuration rights","GPU test capacity"],"ownership":"Inference platform team owns serving configuration; research computing or agency AI program owns acceptance.","skillsAdoption":"Staff learn to tune KV-cache settings and run agent correctness tests as part of change control.","governanceCheckpoints":["Correctness suite results reviewed before production","Isolation review for any shared cache","Change control for cache-policy updates"],"acceptanceCriteria":["No drop in valid tool-call rate versus full-cache baseline on full-length sessions","Shared-prefix reuse confirmed in engine metrics","Latency and sessions-per-GPU targets set and met locally"],"risks":["Short test windows hide long-session failures","Gains on small models may not hold on larger ones","Vendor TTFT claims substituted for correctness testing"]}},"retrievedAt":"2026-12-05T22:14:45-06:00","enrichedAt":"2026-12-05T22:17:35-06:00","enrichmentBasis":"retrieved source","accessibilityWorkforceImplications":"Interpretation: research computing staff need skills to tune serving-engine memory settings and to test agent correctness, not just throughput.","procurementImplications":"Interpretation: when buying KV-cache acceleration, ask for evidence on agent task success and tool-call validity, not only TTFT multiples.","operatingModelImplications":"Interpretation: inference serving teams and storage teams share responsibility for KV-cache behavior; changes to cache policy should go through the same testing as model changes.","peerReview":"preprint","sourceVerification":{"openedUrl":"https://arxiv.org/abs/2612.00909","referenceExcerpt":"keeping the whole prefix costs no extra memory per session, and it lets the model recall its tool documentation in nearly every case.","promptVersion":"sled-research-v4.0","model":null,"basis":"agent-reported inspection"}}}]}