---
title: "TRACE: Tool-Relevance-Aware Cache Eviction with Conformal Guarantees for Agentic Inference"
authors:
  - "Qi Luo"
  - "Kunlin Li"
  - "Ziwen Wang"
  - "Dongsheng Wang"
  - "Yun Chen"
year: 2026
venue: "arXiv preprint (cs.LG, cs.PF)"
arxiv: "2611.34954"
doi: null
source: "https://arxiv.org/abs/2611.34954"
version_reviewed: "v1, arXiv HTML read (body, ablations, limitations); first listed in the Mon 30 Nov 2026 cs.LG announcement although the abs page dates v1 30 Jul 2026"
topics:
  - "agent-tokenization-and-caching"
  - "agentic-llm-serving"
  - "kv-cache-eviction"
  - "tool-schemas"
  - "conformal-risk-control"
seed_rank: 2758
seed_batch: "frontier-2026-11-30"
reviewed: "2026-11-30"
pool: "agents"
relevance_score: 8
cites:
  - title: "TRACE: Tool-Relevance-Aware Cache Eviction with Conformal Guarantees for Agentic Inference"
    url: "https://arxiv.org/abs/2611.34954"
    year: 2026
    arxiv: "2611.34954"
    doi: null
  - title: "Learn then Test: Calibrating Predictive Algorithms to Achieve Risk Control"
    url: "https://arxiv.org/abs/2110.01052"
    year: 2021
    arxiv: "2110.01052"
    doi: null
  - title: "Tool Attention Is All You Need: Dynamic Tool Gating and Lazy Schema Loading for Eliminating the MCP/Tools Tax"
    url: "https://arxiv.org/abs/2604.21816"
    year: 2026
    arxiv: "2604.21816"
    doi: null
  - title: "Leyline: KV Cache Directives for Agentic Inference"
    url: "https://arxiv.org/abs/2606.01065"
    year: 2026
    arxiv: "2606.01065"
    doi: null
  - title: "SideQuest: Model-Driven KV Cache Management for Long-Horizon Agentic Reasoning"
    url: "https://arxiv.org/abs/2602.22603"
    year: 2026
    arxiv: "2602.22603"
    doi: null
---

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

## One-sentence takeaway

In tool-heavy agents the KV cache is mostly tool schemas (92% of the prefix on BFCL base, 79% on long-context), and a single turn needs very few of them: about 28 tools exposed, about 1.7 invoked. Keeping only the predicted-relevant schemas, with the keep size calibrated by conformal risk control, retains 17–25% of the prefix at a 3–5 point task-success cost and gives a distribution-free bound on the success lost to compression.

## Why it matters here

For the agent-caching topic, this moves the question from "which tokens have low attention" to "which *structured units* does this turn need", and it measures cost in task success rather than perplexity. The structural finding is the durable part. Schema eviction must be whole-schema: token-level H2O- or SnapKV-style scores lose 22–26 points at about 17–20% retained, while TRACE's LLM selector loses 4.7. Given whole-schema grouping, the SnapKV-style score improves to 10.2 points at 19% retained, but the H2O-style score stays poor (33.2). Per-turn schema selection also changes the prefix from turn to turn, which works against append-only prefix reuse, so a Broadside serving design would have to choose between a stable shared schema prefix and per-turn compaction. The paper does not study that tension; it is this card's reading (compare 2439, prefix sharing as sorting, and 1077, learned KV management in agentic serving).

## Key ideas

- **Tool-schema wall.** Compressing tool *results* alone preserves success but saves little memory. Policies that reach into the schema-dominated remainder collapse task success unless they know which tools the turn needs.
- **Hindsight oracle.** Keeping only reference-invoked schemas removes 77–86% of the prefix and nominally *raises* task-success point estimates by 1.3–3.2 points on Qwen2.5 7B and 14B. Same-count random eviction is catastrophic.
- **TRACE.** A lightweight predictor (BM25 or a small LLM selector) ranks the turn's tools, a keep rule prefills only the top-k schemas, and conformal risk control calibrates k offline against a risk budget on a non-negative success-loss.
- **Results.** The LLM selector retains 17% at 4.7 points of regret on Qwen2.5-7B base, against BM25 k=8 at 39% and 6.0 points. At α=0.10 the certificate picks a compressed keep size in all four model–context settings, a 3.9–6.2× eviction-only reduction. Uniform quantization saturates near 4.4×.
- **Where it fails.** At k=5, all reference-invoked tools are in the keep set for only about 60% (BM25) to 63% (small model) of decision points. Most misses are implicit procedural tools (the `cd` before a file operation). The authors identify predictor recall, not schema headroom, as the limit.

## Caveats

All quantitative results are on BFCL. The causal premise is said to replicate across three workloads and two model families (Llama-3.1-8B operating points appear in the appendix), but an independent agent benchmark is future work. The guarantee is marginal over exchangeable instances from the calibration distribution, so a new model or workload needs recalibration. Eviction is realized through compacted prefill in the authors' harness, not an online cache-editing runtime. Baseline absolute success is low (about 47% of base turns for Qwen2.5-7B even with a near-lossless 4-bit cache). arXiv metadata is odd: a 2611 id first announced 30 Nov 2026, but a v1 date of 30 Jul 2026.

## Links

- arXiv abstract: https://arxiv.org/abs/2611.34954
- PDF: https://arxiv.org/pdf/2611.34954
- HTML: https://arxiv.org/html/2611.34954
