Metraipolis › archive › dc_743ad4eff1c0

ContextPilot: Teaching Agents for Proactive Context Management via Fine-grained RL — arXiv:2608.28476

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.28476
License (as archived)
CC0-1.0
Archived
2026-10-17T10:56:38.659Z
SHA-256 of the archived text
5c948de13f937c616c0a0f7559bbd83563e3b39560206a45b53c064927e12e7e
Stable URL of this page
https://metraipolis.com/documento/dc_743ad4eff1c0

How to cite

ContextPilot: Teaching Agents for Proactive Context Management via Fine-grained RL — arXiv:2608.28476 — arXiv (en), https://arxiv.org/abs/2608.28476 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_743ad4eff1c0 (Metraipolis archive dc_743ad4eff1c0, sha256 5c948de13f937c616c0a0f7559bbd83563e3b39560206a45b53c064927e12e7e)
BibTeX
@misc{dc743ad4eff1c0,
  title = {ContextPilot: Teaching Agents for Proactive Context Management via Fine-grained RL — arXiv:2608.28476},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.28476},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_743ad4eff1c0; sha256 5c948de13f937c616c0a0f7559bbd83563e3b39560206a45b53c064927e12e7e},
  year = {2026}
}

Archived text

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

Long-horizon agentic tasks require large language models (LLMs) to iteratively retrieve, integrate, and maintain dispersed information across multi-turn interactions, but preserving all interaction histories leads to a continuously growing working context. Recent proactive context management methods allow models to edit their own working context with specialized tools, yet they still face three key limitations: (1) a limited toolset restricted to search, deletion, and summarization, with no support for global planning, long-term memory, and adaptive compression; (2) inefficient exploration that treats context management actions uniformly despite their heterogeneous impacts on final outcomes; and (3) coarse-grained credit assignment that assigns the final trajectory-level reward to all intermediate context editing actions during RL. To bridge these gaps, we introduce ContextPilot, a proactive context management framework for long-horizon agentic reasoning. Our approach systematically augments the toolset with planning, long-term memory, and soft context offloading tools. We further propose an RL method tailored for context management, which uses context and entropy variation to identify critical editing decisions for branch sampling and estimates action-level advantages from all branched trajectories that pass through the corresponding context editing action. Experiments on long-context QA and deep search tasks show that ContextPilot achieves stronger performance with a more compact working context, consistently outperforming existing baselines across various base models and benchmarks. Code is available at this https URL .

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-31 in cs.CL).
Categorie arXiv: Computation and Language (cs.CL).
Pagina del lavoro: https://arxiv.org/abs/2608.28476 — 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-17T10:47:33.143Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-08-31?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).