AttnCompress: Dynamic Attention-Guided Trajectory Compression for Software Engineering Agents
AttnCompress bridges the gap between semantic integrity and dynamic adaptability through three key mechanisms: structure-aware segmentation via perplexity (PPL) spikes to preserve the syntactic structure of code and logs, and relevance estimation using proxy attention weights to quantify the precise relevance of histor...