Metraipolis › archive › dc_5f481662b103

AttnCompress: Dynamic Attention-Guided Trajectory Compression for Software Engineering Agents — arXiv:2609.08318

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.08318
License (as archived)
CC0-1.0
Archived
2026-10-16T14:09:10.833Z
SHA-256 of the archived text
a0f38a061644d63b7ee736033069ecd9fd958ab39bbdd4eb81b08fd8c735268d
Stable URL of this page
https://metraipolis.com/documento/dc_5f481662b103

How to cite

AttnCompress: Dynamic Attention-Guided Trajectory Compression for Software Engineering Agents — arXiv:2609.08318 — arXiv (en), https://arxiv.org/abs/2609.08318 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_5f481662b103 (Metraipolis archive dc_5f481662b103, sha256 a0f38a061644d63b7ee736033069ecd9fd958ab39bbdd4eb81b08fd8c735268d)
BibTeX
@misc{dc5f481662b103,
  title = {AttnCompress: Dynamic Attention-Guided Trajectory Compression for Software Engineering Agents — arXiv:2609.08318},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.08318},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_5f481662b103; sha256 a0f38a061644d63b7ee736033069ecd9fd958ab39bbdd4eb81b08fd8c735268d},
  year = {2026}
}

Archived text

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

The transition from human-centric assistance to Autonomous Software Engineering (ASE) agents has enabled the resolution of complex real-world SE tasks. However, the trial-and-error nature of these agents generates lengthy interaction trajectories, creating severe bottlenecks in terms of context window limits and cost. While context compression offers a potential remedy, prior approaches suffer from static pruning strategies and granularity mismatches, often failing to preserve the semantic dependencies and syntactic details crucial for SE tasks. To strictly preserve critical task evidence while reducing context length, we introduce AttnCompress, a dynamic attention-guided trajectory compression framework. Unlike existing approaches, AttnCompress bridges the gap between semantic integrity and dynamic adaptability through three key mechanisms: (1) structure-aware segmentation via perplexity (PPL) spikes to preserve the syntactic structure of code and logs; (2) relevance estimation using proxy attention weights to quantify the precise relevance of historical blocks to the agent's current reasoning; and (3) a dynamic rolling window to re-evaluate and recall historical context as the task evolves. Extensive evaluation on SWE-Bench-Verified and Multi-SWE-Bench demonstrates that AttnCompress achieves a pass rate of 53.17%, outperforming prior state-of-the-art baselines while reducing token consumption by 21.6% and total costs by 33.6%. The framework proves to be model-agnostic and generalizes effectively across diverse programming languages.

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-09 in cs.SE).
Categorie arXiv: Software Engineering (cs.SE) ; Artificial Intelligence (cs.AI).
Pagina del lavoro: https://arxiv.org/abs/2609.08318 — 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-16T13:58:36.408Z dalla pagina https://arxiv.org/catchup/cs.SE/2026-09-09?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).