arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.04328cs.SE
收藏

模型之外的产品——开源机器学习产品代码库的实证研究

The Product Beyond the Model -- An Empirical Study of Repositories of Open-Source ML Products

Nadia Nahar, Haoran Zhang, Grace Lewis, Shurui Zhou, Christian Kästner

AI总结:

本研究构建了含262个开源ML产品的数据集,分析30个产品的开发与架构特征,揭示其开发模式、人员构成、代码模块化等方面的现状,并给出研究、开发与教育层面的相关启示。

摘要:

机器学习(ML)组件正越来越多地被集成到面向终端用户的软件产品中,但开发者在从ML原型转向产品的过程中面临诸多挑战。学术界难以获取商业ML产品的源代码,阻碍了应对这些挑战的研究进展。在本研究中,我们首先贡献了一个包含262个面向终端用户的开源ML产品(而非仅仅是模型)的数据集,这些产品是从GitHub上超过50万个与ML相关的项目中筛选出来的。随后,我们对30个开源ML产品进行了定性与定量分析,以回答关于开发实践和系统架构的六大类研究问题。我们发现,与过往访谈研究中报告的情况相比,我们样本中的大多数ML产品呈现出更多初创企业风格的开发模式。我们报告了21项发现,包括许多开源ML产品中数据科学家的参与度有限、ML代码与非ML代码之间的模块化程度异常低、将模型集成到产品中的架构选择多样,以及模型测试、流水线自动化和监控等行业最佳实践的普及度较低。此外,我们还讨论了本研究对研究、开发和教育的七点启示,包括需要为没有数据科学家的团队提供辅助工具、存在教育机会,以及针对开源的隐私保护遥测技术研究需求。

英文摘要:

Machine learning (ML) components are increasingly incorporated into software products for end-users, but developers face challenges in transitioning from ML prototypes to products. Academics have limited access to the source of commercial ML products, hindering research progress to address these challenges. In this study, first and foremost, we contribute a dataset of 262 open-source ML products for end users (not just models), identified among more than half a million ML-related projects on GitHub. Then, we qualitatively and quantitatively analyze 30 open-source ML products to answer six broad research questions about development practices and system architecture. We find that the majority of the ML products in our sample represent more startup-style development than reported in past interview studies. We report 21 findings, including limited involvement of data scientists in many open-source ML products, unusually low modularity between ML and non-ML code, diverse architectural choices on incorporating models into products, and limited prevalence of industry best practices such as model testing, pipeline automation, and monitoring. Additionally, we discuss seven implications of this study on research, development, and education, including the need for tools to assist teams without data scientists, education opportunities, and open-source-specific research for privacy-preserving telemetry.

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

↑