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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Nahar, Nadia, Zhang, Haoran, Lewis, Grace, Zhou, Shurui, Kästner, Christian
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917749474721792
author Nahar, Nadia
Zhang, Haoran
Lewis, Grace
Zhou, Shurui
Kästner, Christian
author_facet Nahar, Nadia
Zhang, Haoran
Lewis, Grace
Zhou, Shurui
Kästner, Christian
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2308_04328
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle The Product Beyond the Model -- An Empirical Study of Repositories of Open-Source ML Products
Nahar, Nadia
Zhang, Haoran
Lewis, Grace
Zhou, Shurui
Kästner, Christian
Software Engineering
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.
title The Product Beyond the Model -- An Empirical Study of Repositories of Open-Source ML Products
topic Software Engineering
url https://arxiv.org/abs/2308.04328