arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2411.09683cs.SEcs.AIcs.LG
收藏

面向软件工程的开源ML模型与数据集分类研究

Towards a Classification of Open-Source ML Models and Datasets for Software Engineering

Universitat Politècnica de Catalunya(加泰罗尼亚理工大学);Singapore Management University(新加坡管理大学)

Alexandra González, Xavier Franch, David Lo, Silverio Martínez-Fernández

AI总结:

本研究针对开源ML模型与数据集缺乏软件工程(SE)导向分类的问题,对Hugging Face上的PTMs和数据集进行仓库挖掘与SE相关性分析,发现代码生成是最常见任务,并指出自2023年第二季度起面向SE的模型显著增加,强调需扩展任务覆盖以促进ML与SE的整合。

摘要:

背景:开源预训练模型(PTMs)和数据集为各种机器学习(ML)任务提供了丰富资源,但缺乏针对软件工程(SE)需求的分类。目标:我们将面向SE的分类应用于流行的开源ML仓库Hugging Face(HF)上的PTMs和数据集,并分析PTMs随时间的演变。方法:我们开展了一项仓库挖掘研究。首先从HF API系统地收集PTMs和数据集数据库。通过分析模型和数据集卡片及标签等元数据,并使用Gemini 1.5 Pro确认SE相关性来精炼选择。所有分析均可复现,并提供了公开的复现包。结果:PTMs和数据集中最常见的SE任务是代码生成,主要关注软件开发,对软件管理关注有限。流行的PTMs和数据集主要针对软件开发。在ML任务中,文本生成是SE PTMs和数据集中最常见的。自2023年第二季度以来,面向SE的PTMs显著增加。结论:本研究强调了需要更广泛的任务覆盖,以促进ML在SE实践中的整合。

英文摘要:

Background: Open-Source Pre-Trained Models (PTMs) and datasets provide extensive resources for various Machine Learning (ML) tasks, yet these resources lack a classification tailored to Software Engineering (SE) needs. Aims: We apply an SE-oriented classification to PTMs and datasets on a popular open-source ML repository, Hugging Face (HF), and analyze the evolution of PTMs over time. Method: We conducted a repository mining study. We started with a systematically gathered database of PTMs and datasets from the HF API. Our selection was refined by analyzing model and dataset cards and metadata, such as tags, and confirming SE relevance using Gemini 1.5 Pro. All analyses are replicable, with a publicly accessible replication package. Results: The most common SE task among PTMs and datasets is code generation, with a primary focus on software development and limited attention to software management. Popular PTMs and datasets mainly target software development. Among ML tasks, text generation is the most common in SE PTMs and datasets. There has been a marked increase in PTMs for SE since 2023 Q2. Conclusions: This study underscores the need for broader task coverage to enhance the integration of ML within SE practices.

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

↑