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

Multi-SWE-bench:一个用于问题解决的多语言基准

Multi-SWE-bench: A Multilingual Benchmark for Issue Resolving

ByteDance Seed(字节跳动种子团队)
Daoguang Zan, Zhirong Huang, Wei Liu, Hanwu Chen, Linhao Zhang, Shulin Xin, Lu Chen, Qi Liu, Xiaojian Zhong, Aoyan Li, Siyao Liu, Yongsheng Xiao, Liangqiang Che… 展开作者

Daoguang Zan, Zhirong Huang, Wei Liu, Hanwu Chen, Linhao Zhang, Shulin Xin, Lu Chen, Qi Liu, Xiaojian Zhong, Aoyan Li, Siyao Liu, Yongsheng Xiao, Liangqiang Chen, Yuyu Zhang, Jing Su, Tianyu Liu, Rui Long, Kai Shen, Liang Xiang

AI总结:

本文提出多语言问题解决基准Multi-SWE-bench,涵盖7种编程语言并包含1,632个高质量实例,基于此评估多种模型方法,同时发起Multi-SWE-RL社区并开源数据生产流程,推动强化学习研究。

摘要:

问题解决任务是指修改代码库以生成解决给定问题的补丁。然而,现有的基准(如SWE-bench)几乎完全专注于Python,不足以评估大型语言模型(LLMs)在多样化软件生态系统中的表现。为此,我们引入了一个名为Multi-SWE-bench的多语言问题解决基准,涵盖Java、TypeScript、JavaScript、Go、Rust、C和C++。它包含1,632个高质量实例,由68位专家标注者从2,456个候选中精心标注,确保该基准能提供准确可靠的评估。基于Multi-SWE-bench,我们使用三种代表性方法(Agentless、SWE-agent和OpenHands)评估了一系列最先进的模型,并提供了全面的分析与关键实证见解。此外,我们发起了Multi-SWE-RL开源社区,旨在为问题解决任务构建大规模强化学习(RL)训练数据集。作为初步贡献,我们发布了涵盖七种编程语言的4,723个结构良好的实例,为该领域的RL研究奠定了坚实基础。更重要的是,我们开源了整个数据生产流程及详细教程,鼓励开源社区持续贡献和扩展数据集。我们期望Multi-SWE-bench和不断增长的Multi-SWE-RL社区能成为推动RL发挥其全部潜力的催化剂,使我们更接近通用人工智能(AGI)的曙光。

英文摘要:

The task of issue resolving is to modify a codebase to generate a patch that addresses a given issue. However, existing benchmarks, such as SWE-bench, focus almost exclusively on Python, making them insufficient for evaluating Large Language Models (LLMs) across diverse software ecosystems. To address this, we introduce a multilingual issue-resolving benchmark, called Multi-SWE-bench, covering Java, TypeScript, JavaScript, Go, Rust, C, and C++. It includes a total of 1,632 high-quality instances, which were carefully annotated from 2,456 candidates by 68 expert annotators, ensuring that the benchmark can provide an accurate and reliable evaluation. Based on Multi-SWE-bench, we evaluate a series of state-of-the-art models using three representative methods (Agentless, SWE-agent, and OpenHands) and present a comprehensive analysis with key empirical insights. In addition, we launch a Multi-SWE-RL open-source community, aimed at building large-scale reinforcement learning (RL) training datasets for issue-resolving tasks. As an initial contribution, we release a set of 4,723 well-structured instances spanning seven programming languages, laying a solid foundation for RL research in this domain. More importantly, we open-source our entire data production pipeline, along with detailed tutorials, encouraging the open-source community to continuously contribute and expand the dataset. We envision our Multi-SWE-bench and the ever-growing Multi-SWE-RL community as catalysts for advancing RL toward its full potential, bringing us one step closer to the dawn of AGI.

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

↑