KV-Surgeon: Compensation-Aware KV-Cache Compaction Explained in Cohere Labs Talk
Cohere · youtube · 2026-12-01
Moritz Wagner, doctoral researcher at Zuse Institute Berlin, presented KV-Surgeon in a Cohere Labs Open Science Community talk.
- Problem: Repeatedly querying long documents or codebases requires a large KV cache; offline compaction pays a one-time cost, but deciding which entries to keep is hard—an entry's importance depends on how well remaining entries can compensate for its removal.
- Method: Starting from attention-output reconstruction, the authors derive a quadratic surrogate yielding closed-form deletion scores and compensating updates, selecting entries by post-compensation residual error rather than individual contribution. The approach connects to Optimal Brain Surgeon.
- Towards serving: Uniform head budgets, absorbing attention multipliers into keys, and empirical trade-offs among accuracy, memory, and inference throughput.
More from Infra
- Bernstein: TPU racks cost 64% less but per-GW economics nearly identical to Nvidia — NaveenGRao · 2026-12-01
- llama.cpp Vulkan performance PRs sit unmerged, sparking questions about review process — uber-linny · 2026-12-01
- Cheap home server deals are gone this Cyber Monday, and AI hobbyists are why — rickasaurus · 2026-12-01
- Open-source Prompit orchestrates multi-model agents, runs Qwen 3.6 35B at ~20 t/s on a Steam Deck — VouX4_15 · 2026-12-01
- SQLite to Postgres in 6 days: 87GB→38GB, p99 363ms→51ms, 24M rows moved 3 times — JeremyCMorgan · 2026-12-01
- AI SOCs who understand AI infra and KV cache-maxxing will thrive — AccBalanced · 2026-12-01