ByteDance’s SWE-Pruner Pro cuts coder-agent tokens by 39% without losing quality
ByteDance · hf · 2026-07-21
### What it claims ByteDance and collaborators show that a coder LLM already learns useful internal signals for deciding what tool output to keep or prune. ### Proposed method - SWE-Pruner Pro moves pruning inside the agent instead of attaching a separate code classifier. - A small head reads the agent’s own internal representations and predicts keep/prune labels line by line. - A length-aware embedding accounts for the number of lines in each tool output. ### Results - Across two open-weight backbones and four multi-turn benchmarks, the method saves up to **39%** of prompt and completion tokens while keeping task quality intact. - In addition, on **MiMo-V2-Flash**, it improves SWE-Bench Verified resolve rate by **+3.8%** and Oolong long-context accuracy by **+2.2 points**.
More from coding & agent
- The author says Codex reached 20x and is now debugging spec decoding on a hybrid parallel setup — TheZachMueller · 2026-07-21
- Axcess adds an MCP connector for WCAG accessibility checks that scanners miss — modelcontextprotocol · 2026-07-21
- X post asks whether Cursor Composer, built on Kimi models, would also be banned — max_paperclips · 2026-07-21
- A developer’s Codex usage is draining pooled enterprise credits at a small company — Distinct_Relation_62 · 2026-07-21
- Qwen Code ships cua-driver-rs 0.7.3 with relative coordinates and MCP filtering — github-actions[bot] · 2026-07-21
- Matt Pocock says every new codebase turns legacy within days — mattpocockuk · 2026-07-21