analiza aiqbench
SWE-Pruner Pro demonstrates how coding agents can leverage their own internal representations to autonomously prune irrelevant tool outputs, significantly reducing token usage while improving performance on complex software engineering benchmarks. This advancement addresses a critical efficiency bottleneck in long-context scenarios without requiring external classifiers or compromising task resolution rates. By integrating pruning directly into the agent's inference pipeline, this method offers a scalable path toward more cost-effective and responsive AI coding assistants.
SWE-Pruner Pro: The Coder LLM Already Knows What to Prune
arXiv:2607.18213v1 Announce Type: new Abstract: Pruning long context for coding agents has been a vital technology for efficient context management. While existing context pruning methods such as SWE-Pruner realize this by attaching a separate code classifier, we find the agent itself encodes internal representations indicating the relevance of code context when reading tool output. Based on this finding, we propose SWE-Pruner Pro, which prunes tool outputs directly inside the agent. Concretely, a small head turns the agent's own internal representations into a keep-or-prune label for each line, with a length-aware embedding keyed to each tool output's line count. Across two open-weight backbones and four multi-turn benchmarks, SWE-Pruner Pro saves up to 39% of prompt and completion tokens while preserving task quality, with bounded inference overhead. Notably, on MiMo-V2-Flash SWE-Pruner Pro additionally raises the SWE-Bench Verified resolve rate by +3.8% and the long-context Oolong accuracy by +2.2 points.
Abstract:Pruning long context for coding agents has been a vital technology for efficient context management. While existing context pruning methods such as SWE-Pruner realize this by attaching a separate code classifier, we find the agent itself encodes internal representations indicating the relevance of code context when reading tool output. Based on this finding, we propose SWE-Pruner Pro, which prunes tool outputs directly inside the agent. Concretely, a small head turns the agent's own internal representations into a keep-or-prune label for each line, with a length-aware embedding keyed to each tool output's line count. Across two open-weight backbones and four multi-turn benchmarks, SWE-Pruner Pro saves up to 39% of prompt and completion tokens while preserving task quality, with bounded inference overhead. Notably, on MiMo-V2-Flash SWE-Pruner Pro additionally raises the SWE-Bench Verified resolve rate by +3.8% and the long-context Oolong accuracy by +2.2 points.
Computation and Language (cs.CL); Software Engineering (cs.SE)
arXiv:2607.18213 [cs.CL]
(or arXiv:2607.18213v1 [cs.CL] for this version)
https://doi.org/10.48550/arXiv.2607.18213 Focus to learn more arXiv-issued DOI via DataCite (pending registration)
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.
Text integral sub licența deschisă a publicației · 240 cuvinte
Subiecte conexe

AXRP Episode 50 - Eli Lifland on AI 2027
LessWrong · 3 aug. 2026

Presentation: From S3 to GPU in One Copy: Rethinking Data Loading for ML Training
InfoQ · 4 sept. 2026
The Case Against Slowing Down AI
LessWrong · 29 sept. 2026

How to Get the Lowest-Cost LLM Inference on OpenRouter
OpenRouter · 12 iun. 2026