A Large-Scale Study of Model Integration in ML-Enabled Software Systems

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Sens, Yorick, Knopp, Henriette, Peldszus, Sven, Berger, Thorsten
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866917934809481216
author Sens, Yorick
Knopp, Henriette
Peldszus, Sven
Berger, Thorsten
author_facet Sens, Yorick
Knopp, Henriette
Peldszus, Sven
Berger, Thorsten
contents The rise of machine learning (ML) and its integration into software systems has drastically changed development practices. While software engineering traditionally focused on manually created code artifacts with dedicated processes and architectures, ML-enabled systems require additional data-science methods and tools to create ML artifacts -- especially ML models and training data. However, integrating models into systems, and managing the many different artifacts involved, is far from trivial. ML-enabled systems can easily have multiple ML models that interact with each other and with traditional code in intricate ways. Unfortunately, while challenges and practices of building ML-enabled systems have been studied, little is known about the characteristics of real-world ML-enabled systems beyond isolated examples. Improving engineering processes and architectures for ML-enabled systems requires improving the empirical understanding of these systems. We present a large-scale study of 2,928 open-source ML-enabled software systems. We classified and analyzed them to determine system characteristics, model and code reuse practices, and architectural aspects of integrating ML models. Our findings show that these systems still mainly consist of traditional source code, and that ML model reuse through code duplication or pre-trained models is common. We also identified different ML integration patterns and related implementation practices. We hope that our results help improve practices for integrating ML models, bringing data science and software engineering closer together.
format Preprint
id arxiv_https___arxiv_org_abs_2408_06226
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle A Large-Scale Study of Model Integration in ML-Enabled Software Systems
Sens, Yorick
Knopp, Henriette
Peldszus, Sven
Berger, Thorsten
Software Engineering
Artificial Intelligence
Machine Learning
The rise of machine learning (ML) and its integration into software systems has drastically changed development practices. While software engineering traditionally focused on manually created code artifacts with dedicated processes and architectures, ML-enabled systems require additional data-science methods and tools to create ML artifacts -- especially ML models and training data. However, integrating models into systems, and managing the many different artifacts involved, is far from trivial. ML-enabled systems can easily have multiple ML models that interact with each other and with traditional code in intricate ways. Unfortunately, while challenges and practices of building ML-enabled systems have been studied, little is known about the characteristics of real-world ML-enabled systems beyond isolated examples. Improving engineering processes and architectures for ML-enabled systems requires improving the empirical understanding of these systems. We present a large-scale study of 2,928 open-source ML-enabled software systems. We classified and analyzed them to determine system characteristics, model and code reuse practices, and architectural aspects of integrating ML models. Our findings show that these systems still mainly consist of traditional source code, and that ML model reuse through code duplication or pre-trained models is common. We also identified different ML integration patterns and related implementation practices. We hope that our results help improve practices for integrating ML models, bringing data science and software engineering closer together.
title A Large-Scale Study of Model Integration in ML-Enabled Software Systems
topic Software Engineering
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2408.06226