Back to AI News
arxiv

Anchor: Amortized KV-Cache Compaction for Procedural Skills

The paper introduces ANCHOR, an emitter network for compacting KV-cache prefixes of procedural skills used by LLM agents. It identifies an anchoring effect where sequential training of reconstruction and tool-calling objectives erases stored knowledge, and addresses it with on-policy distillation anchored by a low-weight reconstruction objective. The authors also propose DomainBench, comprising 716 tasks from 100 procedural skills graded on tool name, argument keys, and argument values. At 4x compaction, ANCHOR reportedly recovers 65.1% and 58.9% of full-context tool-use fidelity on two backbones, versus 5.5–45.0% for four baselines.

AI Brief

It offers a concrete method and benchmark for reducing context costs in tool-using LLM agents while preserving tool-call fidelity.

arXiv:2612.02283v1 Announce Type: new Abstract: 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.
Be the first to rate this article.

Comments & Questions (0)

Captcha
Please be respectful — let's keep the conversation friendly.

No comments yet

Be the first to comment!