pith:6S2KKZLV
Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference
A theoretical upper bound on attention loss from KV cache eviction enables adaptive per-head budget allocation.
arxiv:2407.11550 v5 · 2024-07-16 · cs.CL · cs.AI
Add to your LaTeX paper
\usepackage{pith}
\pithnumber{6S2KKZLV64O6J4OIQJLMDQIB4U}
Prints a linked badge after your title and injects PDF metadata. Compiles on arXiv. Learn more · Embed verified badge
Record completeness
Claims
we establish a theoretical loss upper bound between pre- and post-eviction attention output, explaining the optimization target of prior cache eviction methods, while guiding the optimization of adaptive budget allocation. Base on this, we propose Ada-KV, the first head-wise adaptive budget allocation strategy.
The derived loss upper bound accurately captures the quality impact of eviction and that attention heads exhibit sufficiently distinct patterns to benefit from non-uniform budget allocation without introducing new approximation errors that undermine the bound.
Ada-KV is the first head-wise adaptive KV cache budget allocator for LLMs, using a theoretical loss upper bound to allocate eviction differently per attention head and yielding higher quality than uniform methods on long-context benchmarks.
References
Formal links
Cited by
Receipt and verification
| First computed | 2026-05-17T23:38:14.260301Z |
|---|---|
| Builder | pith-number-builder-2026-05-17-v1 |
| Signature | Pith Ed25519
(pith-v1-2026-05) · public key |
| Schema | pith-number/v1.0 |
Canonical hash
f4b4a56575f71de4f1c88256c1c101e52500e026ad0ac91a66bfe3487091362d
Aliases
· · · · ·Agent API
Verify this Pith Number yourself
curl -sH 'Accept: application/ld+json' https://pith.science/pith/6S2KKZLV64O6J4OIQJLMDQIB4U \
| jq -c '.canonical_record' \
| python3 -c "import sys,json,hashlib; b=json.dumps(json.loads(sys.stdin.read()), sort_keys=True, separators=(',',':'), ensure_ascii=False).encode(); print(hashlib.sha256(b).hexdigest())"
# expect: f4b4a56575f71de4f1c88256c1c101e52500e026ad0ac91a66bfe3487091362d
Canonical record JSON
{
"metadata": {
"abstract_canon_sha256": "d97adabc45e8212c7ade479ef329942d4caf3844171883c7112194e1e9466758",
"cross_cats_sorted": [
"cs.AI"
],
"license": "http://creativecommons.org/licenses/by/4.0/",
"primary_cat": "cs.CL",
"submitted_at": "2024-07-16T09:53:32Z",
"title_canon_sha256": "467a4db061812a003b56fa4551f1967a4777d9f127f2d8e30f7c49e751d72a89"
},
"schema_version": "1.0",
"source": {
"id": "2407.11550",
"kind": "arxiv",
"version": 5
}
}