一句话:对 2,928 个开源 ML-enabled 系统进行大规模实证分析,揭示模型集成、复用与架构实践。
将 ML 模型集成到软件系统并管理众多异构工件十分困难,但现有研究多局限于孤立案例,缺乏对真实 ML-enabled 系统的特征理解。本文对 2,928 个开源 ML-enabled 软件系统进行大规模研究,分类并分析其系统特征、模型与代码复用实践,以及集成 ML 模型的架构方面。研究发现,这些系统仍主要由传统源代码构成;通过代码复制或预训练模型复用 ML 模型十分常见;同时识别出不同的 ML 集成模式及相关实现实践。作者希望结果有助于改进 ML 模型集成实践,促进数据科学与软件工程融合。
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 imnroving 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.
DOI 原文 ·
@inproceedings{paperbot8912,
title = {A Large-Scale Study of Model Integration in ML-Enabled Software Systems},
author = {Yorick Sens and Henriette Knopp and Sven Peldszus and Thorsten Berger},
booktitle = {ICSE},
year = {2025},
doi = {10.1109/icse55347.2025.00185}
}