Metraipolis › archive › dc_957082be7ad4

TRACER: Per-Tool Context Retention for LLM Agents via Consequence-Attributed Reinforcement Learning — arXiv:2608.29363

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.29363
License (as archived)
CC0-1.0
Archived
2026-10-17T07:44:17.457Z
SHA-256 of the archived text
08b85f5b16731936808dcfd29235fd14fd750080fe6a6ee0364bbdd53a094965
Stable URL of this page
https://metraipolis.com/documento/dc_957082be7ad4

How to cite

TRACER: Per-Tool Context Retention for LLM Agents via Consequence-Attributed Reinforcement Learning — arXiv:2608.29363 — arXiv (en), https://arxiv.org/abs/2608.29363 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_957082be7ad4 (Metraipolis archive dc_957082be7ad4, sha256 08b85f5b16731936808dcfd29235fd14fd750080fe6a6ee0364bbdd53a094965)
BibTeX
@misc{dc957082be7ad4,
  title = {TRACER: Per-Tool Context Retention for LLM Agents via Consequence-Attributed Reinforcement Learning — arXiv:2608.29363},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.29363},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_957082be7ad4; sha256 08b85f5b16731936808dcfd29235fd14fd750080fe6a6ee0364bbdd53a094965},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.29363. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Enterprise data agents answer business queries by chaining many tool calls over multiple reasoning steps, routinely accumulating hundreds of thousands of context tokens per session. Existing compression strategies typically allocate retention budgets without accounting for the downstream consequences of removing individual tool outputs. Aggressive compression may therefore trigger costly tool re-invocations that offset the initial savings. We call this the compression--consequence gap. To close it, we propose TRACER, which formulates compression as a sequential per-tool decision problem. A lightweight REINFORCE policy assigns query-conditioned retention ratios using only information available at each compression event. Its consequence-aware objective jointly accounts for task success, total token consumption, and post-compression tool re-invocations. To improve credit assignment, TRACER uses a learned outcome model to compare the predicted consequences of the selected retention ratio with those of fully retaining each tool output. On held-out production queries across three compressor backends, TRACER reduces total token consumption by 29--46% relative to keeping all context while maintaining comparable or higher task success. Compared with a tool-type-conditional static policy, TRACER provides an additional 15--18% of token savings. Interventional rollouts show that the learned per-tool credit scores correlate with measured single-tool consequences. The learned policy also yields positive savings when transferred across agent backbones and compressor architectures, and reduces token consumption by 18--25% on five held-out LOCA-bench environments. These results demonstrate the value of consequence-aware, per-tool context retention for improving the efficiency of long-horizon language agents.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-01 in cs.AI).
Categorie arXiv: Artificial Intelligence (cs.AI).
Pagina del lavoro: https://arxiv.org/abs/2608.29363 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-17T07:28:26.547Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-01?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).