A Large-Scale Study of Model Integration in ML-Enabled Software Systems
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 29 of its 98 references that are in the map. First posted on arXiv 12 Aug 2024.
Builds on
29 of 98 references.
References · 29
- 2017Attention Is All You Needcited by 60,361
- 2020Pre-trained Models for Natural Language Processing: A Surveycited by 505
- 2019Using Pre-Training Can Improve Model Robustness and Uncertaintycited by 373
- 2023Generative AIcited by 120
- 2020Machine Learning in Python: Main developments and technology trends in data science, machine learning, and artificial intelligencecited by 82
- 2021Software Engineering for AI-Based Systems: A Surveycited by 69
- 2022Vision-and-Language Pretrained Models: A Surveycited by 50
- 2018On Testing Machine Learning Programscited by 48
- 2023An Empirical Study of Pre-Trained Model Reuse in the Hugging Face Deep Learning Model Registrycited by 47
- 2018Software Engineering Challenges of Deep Learningcited by 41
- 2020Engineering AI Systems: A Research Agendacited by 37
- 2021ModelDiff: Testing-Based DNN Similarity Comparison for Model Reuse Detectioncited by 33
17 more
- 2018What's in a GitHub Star? Understanding Repository Starring Practices in a Social Coding Platformcited by 25
- 2023A Meta-Summary of Challenges in Building Products with ML Components -- Collecting Experiences from 4758+ Practitionerscited by 22
- 2021Sampling Projects in GitHub for MSR Studiescited by 21
- 2021Machine Learning Practices Outside Big Tech: How Resource Constraints Challenge Responsible Developmentcited by 21
- 2021The Art and Practice of Data Science Pipelines: A Comprehensive Study of Data Science Pipelines In Theory, In-The-Small, and In-The-Largecited by 17
- 2019Are Self-Driving Cars Secure? Evasion Attacks against Deep Neural Networks for Steering Angle Predictioncited by 16
- 2023A systematic literature review on source code similarity measurement and clone detection: techniques, applications, and challengescited by 14
- 2017Do Code Clones Matter?cited by 12
- 2023The Product Beyond the Model -- An Empirical Study of Repositories of Open-Source ML Productscited by 10
- 2020A large-scale comparative analysis of Coding Standard conformance in Open-Source Data Science projectscited by 9
- 2024PeaTMOSS: A Dataset and Initial Analysis of Pre-Trained Models in Open-Source Softwarecited by 9
- 2021Asset Management in Machine Learning: A Surveycited by 7
- 2021Feature Interactions on Steroids: On the Composition of ML Modelscited by 4
- 2022Studying the Characteristics of AIOps Projects on GitHubcited by 4
- 2024An Empirical Study of Challenges in Machine Learning Asset Managementcited by 4
- 2024Empirical Analysis on CI/CD Pipeline Evolution in Machine Learning Projectscited by 3
- 2024ML-On-Rails: Safeguarding Machine Learning Models in Software Systems A Case Studycited by 2
Built on by
Citing papers per year: 2024: 1; 2025: 2; 2026: 3.
6 papers.
- 2024Understanding the Fundamental Design Decisions of Retrieval-Augmented Generation Systemscited by 7
- 2025How Do Model Export Formats Impact the Development of ML-Enabled Systems? A Case Study on Model Integrationcited by 1
- 2025LLMs in Mobile Apps: Practices, Challenges, and Opportunitiescited by 0
- 2026Architecturally Significant MLOps Guidelines for ML Model Integration and Deployment: a Gray Literature Reviewcited by 0
- 2026Beyond Models: Reflections on Engineering AI-enabled Systems in a Project-Based Coursecited by 0
- 2026Software Engineering for AI-driven Building Operationcited by 0
- 2026Software Engineering for AI-driven Building Operation17 Aug 2026
- 2026Beyond Models: Reflections on Engineering AI-enabled Systems in a Project-Based Course15 Jun 2026
- 2026Architecturally Significant MLOps Guidelines for ML Model Integration and Deployment: a Gray Literature Review3 Jun 2026
- 2025LLMs in Mobile Apps: Practices, Challenges, and Opportunities21 Feb 2025
- 2025How Do Model Export Formats Impact the Development of ML-Enabled Systems? A Case Study on Model Integration1 Feb 2025
- 2024Understanding the Fundamental Design Decisions of Retrieval-Augmented Generation Systems29 Nov 2024