arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.39417cs.SEcs.AIcs.CL
收藏

规范且经过充分测试?评估SWE-bench风格数据集的自进化智能体

Well-Specified and Well-Tested? Assessing SWE-bench-Style Datasets with a Self-Evolving Agent

College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);State Key Laboratory of Blockchain and Data Security, Zhejiang University(浙江大学区块链与数据安全国家重点实验室);Hangzhou High-Tech Zone (Binjiang) Institute of Blockchain and Data Security(杭州高新技术开发区(滨江)区块链与数据安全研究所)

Zhonghao Jiang, Xuyang Zheng, Yanfu Yan, Zhongxin Liu, Lingfeng Bao, Shuiguang Deng

AI总结:

该研究针对SWE数据集质量问题,提出自进化标注助手ExLabel,构建新基准SWE-TQ,实验显示其评估性能最优,且经其过滤数据微调的编码模型解决问题能力显著提升。

摘要:

大型语言模型(LLM)在软件工程(SE)任务上展现出强大性能,催生了对高质量数据集进行可靠训练与评估的需求。SWE-bench风格数据集(SWE数据集)被广泛用于评估基于LLM的编码智能体处理真实软件问题的能力,其中任务清晰度与测试覆盖率直接影响实例的可解决性与可验证性。然而,现有SWE数据集仍存在质量问题,人工标注成本高昂且耗时费力,因此催生了基于LLM的标注方法。现有方法通常依赖静态、过于通用的评分标准,限制了其处理多样且细微场景的能力,且常产生较高的误报率。相比之下,人类标注者会利用积累的经验做出上下文感知的判断。受此启发,我们提出ExLabel——一种基于LLM、自进化、经验引导的助手,用于评估SWE数据集的任务清晰度与测试覆盖率。ExLabel维护一个不断进化的经验库,将跨实例知识提炼为稳定且自适应的判断标准,并复用相关经验指导新实例的评估。为进行系统评估,我们构建了SWE-TQ这一新基准,涵盖八种编程语言,通过清理SWE-bench与Multi-SWE-bench的人工标注得到。对三种骨干LLM的实验表明,ExLabel在所有设置下均取得最佳F1值,在Python子集与多语言子集的任务清晰度评估上,较最佳基线的相对提升分别为44.2%和49.9%,在测试覆盖率评估上的相对提升分别为24.0%和18.4%。此外,在ExLabel过滤后的SWE-rebench数据上微调的编码模型,在SWE-bench Verified上解决了66.2%的问题,较最佳基线过滤数据训练的模型提升了14.5%。

英文摘要:

Large language models (LLMs) have shown strong performance on software engineering (SE) tasks, driving the need for high-quality datasets for reliable training and evaluation. SWE-bench-style datasets (SWE datasets) are widely used to evaluate LLM-based coding agents on real-world software issues, where task clarity and test coverage directly affect whether instances are solvable and verifiable. However, quality issues persist in existing SWE datasets, and manual annotation is costly and labor-intensive, motivating LLM-based annotation. Existing approaches typically rely on static, overly general rubrics, limiting their ability to handle diverse and nuanced scenarios and often yielding high false positive rates. In contrast, human annotators draw on accumulated experience to make context-aware judgments. Inspired by this, we propose ExLabel, an LLM-based, self-evolving, experience-guided assistant for task clarity and test coverage assessment in SWE datasets. ExLabel maintains an evolving experience bank that distills cross-instance knowledge into stable yet adaptive judgment criteria and reuses relevant experience to guide the assessment of new instances. For systematic evaluation, we construct SWE-TQ, a new benchmark spanning eight programming languages, by cleaning human annotations from SWE-bench and Multi-SWE-bench. Experiments with three backbone LLMs show that ExLabel achieves the best F1 across all settings, with relative improvements of 44.2%/49.9% and 24.0%/18.4% over the best baseline for task clarity and test coverage assessment on the Python/Multilingual subsets, respectively. Moreover, a coding model fine-tuned on SWE-rebench data filtered by ExLabel resolves 66.2% of issues on SWE-bench Verified, outperforming the model trained on data filtered by the best baseline by 14.5%.

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

↑