Metraipolis › archive › dc_cf7ed9d35b64

Maximising Transparency in Context Compaction Improves Retention of Facts and Commitments for Lightweight Coding Agents — arXiv:2610.20116

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.20116
License (as archived)
CC0-1.0
Archived
2026-10-15T20:02:22.713Z
SHA-256 of the archived text
e9cd6e9196d68f1f25aaa45d20d934477d68e2987f8d6d70fe28eed267b62ad9
Stable URL of this page
https://metraipolis.com/documento/dc_cf7ed9d35b64

How to cite

Maximising Transparency in Context Compaction Improves Retention of Facts and Commitments for Lightweight Coding Agents — arXiv:2610.20116 — arXiv (en), https://arxiv.org/abs/2610.20116 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_cf7ed9d35b64 (Metraipolis archive dc_cf7ed9d35b64, sha256 e9cd6e9196d68f1f25aaa45d20d934477d68e2987f8d6d70fe28eed267b62ad9)
BibTeX
@misc{dccf7ed9d35b64,
  title = {Maximising Transparency in Context Compaction Improves Retention of Facts and Commitments for Lightweight Coding Agents — arXiv:2610.20116},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.20116},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_cf7ed9d35b64; sha256 e9cd6e9196d68f1f25aaa45d20d934477d68e2987f8d6d70fe28eed267b62ad9},
  year = {2026}
}

Archived text

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

Long coding agent sessions outgrow the model's context window, so agents compact: older history is replaced by something shorter, usually a model-written summary. A summary selects and rewords, and the agent cannot see what was lost. Existing work has explored a range of compaction techniques, but comparatively little attention has been paid to their effectiveness with lightweight models, including those deployed locally or used for high-volume workloads. Here, we present transparent-compact, a simple deterministic method for the open-source Pi coding agent, designed specifically for use with such models and with the purpose of maximising the transparency of the agent's view of its own compacted context. It guarantees that user and assistant prose in its context is unchanged by a model or algorithm, and explicitly flags where compaction has stripped information. We compare it with Pi's default model-written summary compaction and with pi-vcc, a popular deterministic method with similar methods but without verbatim retention of prose. Our benchmarks run on four models of varying performance levels, with emphasis on Qwen3.8-27B: a lightweight model at the top end of what consumer hardware can serve locally. On sets probing commitments (rules the user set which exist only in the conversation) and recall of facts, transparent-compact matched or outperformed both alternatives. In particular, it showed an advantage in avoiding confident blunders, i.e. assertion of false information as opposed to recognizing that something was not recalled. Even with a frontier model, its advantage was present but smaller. We argue that transparent-compact spares lightweight models from reasoning or searching their way around what compaction lost, and results in improved recall and application of information as a result, without the need for task or context-specific structuring of the session history.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno).
Categorie arXiv: Artificial Intelligence (cs.AI).
Pagina del lavoro: https://arxiv.org/abs/2610.20116 — 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-15T19:35:48.291Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).