Anchor: Amortized KV-Cache Compaction for Procedural Skills

LLM agents increasingly rely on long procedural skills: prompts packaging tool schemas and invocation instructions that consume extensive context on every request. KV-cache compaction promises to reclaim this budget by emitting a compacted KV prefix for unseen skills in a single forward pass, yet existing methods perform poorly on procedural skills, producing missing or inaccurate tool calls. We identify a key training mechanism behind this, the anchoring effect: when knowledge-preservation (reconstruction) and instruction-following (tool-calling) objectives are trained sequentially, the second stage erases most of what the first stage stored, leading to suboptimal final tool-call accuracy. We therefore present ANCHOR (Amortized Neural KV Compaction with Held-On Reconstruction), an emitter network trained with on-policy distillation anchored by a low-weight reconstruction objective that keeps stored knowledge intact while improving tool-call fidelity. We also find that evaluating skill compaction remains an open problem: on some existing agentic benchmarks, strong base models score nearly as well without the skill in context, leaving no headroom to measure what a compacted prefix preserves. We therefore propose DomainBench: 716 tasks from 100 procedural skills, answerable only with the skill in context and graded on tool calls at three nested granularities: tool name, argument keys, and argument values. At 4x compaction, ANCHOR recovers 65.1% and 58.9% of full-context tool-use fidelity on two LLM backbones against 5.5--45.0% for four baseline methods.

Link
https://arxiv.org/abs/2612.02283
Found by
arXiv
Authors
Weixing Wang, Kexin Wang, Benjamin Bergner, Shayan Jawed, Yinghan Zhao, Bei Chen, Jens Lehmann, Cheng Wang
Categories
benchmark, evaluation, agentic
Published
2026-12-02
Last seen by the radar
2026-12-03
Radar score
50.48 / 100 (how it is scored)
Why it scored so
Matched: agentic~evaluating, benchmark, evaluat; Primary record: arXiv
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by arXiv