跳到正文
AI NEWS JOURNAL
arXiv cs.LGAI NEWS / JOURNAL

Tool-Relevance-Aware Cache Eviction with Conformal Guarantees for Agentic Inference

arXiv:2611.34954v1 Announce Type: new Abstract: Agentic large language models equipped with many tools spend most of their KV cache on tool schemas, and this schema-dominated portion sets the practical compression ceiling. Existing compression methods are commonly tuned against cheap proxies such as perplexity, and how much of the schema cache a turn actually needs to preserve task success remains unknown. On the Berkeley Function Calling benchmark, a turn exposes about 28 tools while its reference calls invoke an average of 1.7. The schema cache of the uninvoked tools occupies 77\% to 86\% of the prefix, and removing it at prefill leaves task success essentially unchanged, whereas same-count random removal is catastrophic. We turn this finding into TRACE: a lightweight predictor ranks the tools of the current turn, a keep rule prefills the turn's cache with only their schemas, and a conformal layer calibrates the keep size against a risk budget. To our knowledge, this calibration gives the first distribution-free guarantee on the task success an agent loses to cache compression. The best-effort point retains 17\% of the base prefix and 25\% of the long-context prefix at a 3 to 5 point cost, and at risk budget $\alpha=0.10$ the certificate selects a compressed member of the deployed keep-size family in all four model--context settings, a 3.9--6.2$\times$ eviction-only reduction. Per-turn tool relevance, not removed volume, is what makes aggressive schema compression safe, and calibration is what makes it certifiable.

翻译服务暂未运行,当前显示原文。

Abstract:Agentic large language models equipped with many tools spend most of their KV cache on tool schemas, and this schema-dominated portion sets the practical compression ceiling. Existing compression methods are commonly tuned against cheap proxies such as perplexity, and how much of the schema cache a turn actually needs to preserve task success remains unknown. On the Berkeley Function Calling benchmark, a turn exposes about 28 tools while its reference calls invoke an average of 1.7. The schema cache of the uninvoked tools occupies 77\% to 86\% of the prefix, and removing it at prefill leaves task success essentially unchanged, whereas same-count random removal is catastrophic. We turn this finding into TRACE: a lightweight predictor ranks the tools of the current turn, a keep rule prefills the turn's cache with only their schemas, and a conformal layer calibrates the keep size against a risk budget. To our knowledge, this calibration gives the first distribution-free guarantee on the task success an agent loses to cache compression. The best-effort point retains 17\% of the base prefix and 25\% of the long-context prefix at a 3 to 5 point cost, and at risk budget $\alpha=0.10$ the certificate selects a compressed member of the deployed keep-size family in all four model--context settings, a 3.9--6.2$\times$ eviction-only reduction. Per-turn tool relevance, not removed volume, is what makes aggressive schema compression safe, and calibration is what makes it certifiable. Submission history Access Paper: View PDF HTML (experimental) TeX Source Additional Features Audio Summary Current browse context: References & Citations Google Scholar Semantic Scholar Bookmark Institution arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website. Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them. Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

资料来源

阅读原文 ↗

相关主题

← 继续阅读全部动态