arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.04979cs.SEcs.AI
收藏

Squeez:面向编码代理的任务条件工具输出剪枝

Squeez: Task-Conditioned Tool-Output Pruning for Coding Agents

KR Labs(KR实验室)

Ádám Kovács

AI总结:

本文研究了编码代理的任务条件工具输出剪枝,通过构建11477个示例的基准测试集,利用Qwen 3.5 2B模型实现92%的输入token剪枝,达到0.86召回率和0.80 F1分数,优于零样本模型和启发式基线。

摘要:

编码代理反复消耗长工具观察,尽管每次观察中只有小部分对下一步至关重要。我们研究了任务条件工具输出剪枝:给定一个聚焦查询和一个工具输出,返回代理下一步应检查的最小原文证据块。我们引入了一个由SWE-bench仓库交互和合成多生态系统工具输出构建的11477个示例基准,并附带一个手动整理的618个示例测试集。我们通过LoRA微调Qwen 3.5 2B,并将其与更大零样本模型和启发式剪枝基线进行比较。我们的模型在移除92%的输入令牌的同时达到0.86召回率和0.80 F1分数,优于零样本Qwen 3.5 35B A3B的11召回率提升,并在所有启发式基线中表现显著更好。

英文摘要:

Coding agents repeatedly consume long tool observations even though only a small fraction of each observation matters for the next step. We study task-conditioned tool-output pruning: given a focused query and one tool output, return the smallest verbatim evidence block the agent should inspect next. We introduce a benchmark of 11,477 examples built from SWE-bench repository interactions and synthetic multi-ecosystem tool outputs, with a manually curated 618-example test set. We fine-tune Qwen 3.5 2B with LoRA and compare it against larger zero-shot models and heuristic pruning baselines. Our model reaches 0.86 recall and 0.80 F1 while removing 92% of input tokens, outperforming zero-shot Qwen 3.5 35B A3B by 11 recall points and all heuristic baselines by a wide margin.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑