A Large-Scale Study of Model Integration in ML-Enabled Software Systems
Paper in proceeding, 2025

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.

AI engineering

SE4AI

machine learning

Author

Yorick Sens

Ruhr-Universität Bochum

Henriette Knopp

Ruhr-Universität Bochum

Sven Peldszus

Ruhr-Universität Bochum

Thorsten Berger

Chalmers, Computer Science and Engineering (Chalmers), Interaction Design and Software Engineering

Ruhr-Universität Bochum

University of Gothenburg

Proceedings - International Conference on Software Engineering

02705257 (ISSN)

Vol. ICSE 2025 1165-1177
9798331505691 (ISBN)

47th IEEE/ACM International Conference on Software Engineering, ICSE 2025
Ottawa, Canada,

Subject Categories (SSIF 2025)

Software Engineering

Computer Systems

DOI

10.1109/ICSE55347.2025.00185

Related datasets

A Large-Scale Study of Model Integration in ML-Enabled Software Systems - Replication Package [dataset]

DOI: 10.5281/zenodo.14169776

More information

Latest update

9/3/2025 1