[Paper Review] Machine Learning Model Development from a Software Engineering Perspective: A Systematic Literature Review
This systematic literature review investigates how software engineering (SE) practices can improve machine learning (ML) model development by aligning ML workflows with established SE lifecycle stages. It identifies data processing and feature engineering as the most challenging phases, highlights the need for structured SE processes in ML, and proposes that adopting SE methodologies enhances model quality, reusability, and scalability—especially in large-scale AI systems.
Data scientists often develop machine learning models to solve a variety of problems in the industry and academy but not without facing several challenges in terms of Model Development. The problems regarding Machine Learning Development involves the fact that such professionals do not realize that they usually perform ad-hoc practices that could be improved by the adoption of activities presented in the Software Engineering Development Lifecycle. Of course, since machine learning systems are different from traditional Software systems, some differences in their respective development processes are to be expected. In this context, this paper is an effort to investigate the challenges and practices that emerge during the development of ML models from the software engineering perspective by focusing on understanding how software developers could benefit from applying or adapting the traditional software engineering process to the Machine Learning workflow.
Motivation & Objective
- To investigate how traditional software engineering (SE) lifecycle practices can be adapted to improve machine learning (ML) model development.
- To identify the key challenges in ML model development from an SE perspective, particularly in data-intensive and iterative workflows.
- To analyze the extent to which SE practices—such as requirements engineering, version control, testing, and modularization—can be applied to ML systems.
- To assess the maturity and applicability of existing ML workflows in light of SE principles and identify gaps in current research and practice.
- To provide actionable insights for researchers and practitioners on integrating SE methodologies into ML development for improved reliability, maintainability, and scalability.
Proposed method
- Conducted a systematic literature review (SLR) following PRISMA guidelines to identify and analyze relevant studies on SE practices in ML development.
- Defined a comprehensive search strategy using keywords related to software engineering, machine learning, and development lifecycle stages across academic databases.
- Applied inclusion and exclusion criteria to filter studies focusing on ML model development with explicit SE process integration or analysis.
- Mapped identified studies to standard SE lifecycle stages (e.g., requirements, design, implementation, testing, deployment) to assess alignment and gaps.
- Synthesized findings through thematic analysis, focusing on challenges, adopted practices, and maturity levels of ML workflows.
- Validated results through cross-referencing with prior studies (e.g., Amershi et al., Correia et al.) and assessed threats to validity, including sampling bias and limited quantitative validation.
Experimental results
Research questions
- RQ1To what extent are traditional software engineering lifecycle stages applied or adapted in machine learning model development workflows?
- RQ2What are the most critical challenges in ML model development from a software engineering perspective, particularly in data processing and feature engineering?
- RQ3How do existing ML workflows compare to established SE processes in terms of structure, maturity, and support for modularity, reuse, and quality assurance?
- RQ4What are the key gaps in the integration of SE practices into ML development, and how can they be addressed to improve model reliability and scalability?
- RQ5Is there a need for a unified or algorithm/data-specific ML workflow aligned with SE principles, or does a general SE-based framework suffice?
Key findings
- Data processing and feature engineering are consistently identified as the most challenging stages in ML model development, surpassing model training and evaluation in difficulty.
- Despite growing interest, only a small fraction of studies explicitly apply or adapt full SE lifecycle stages to ML workflows, indicating a significant research and practice gap.
- There is a strong dependency on data throughout the ML lifecycle, which necessitates dedicated data management and versioning practices akin to software configuration management.
- Modularity and reuse in ML systems are significantly more complex than in traditional software due to data-driven dependencies and model interdependence.
- The adoption of SE practices such as version control, testing, and requirements engineering can improve model reproducibility, maintainability, and quality, especially in large-scale AI systems.
- Only one study in the review applied robust quantitative measurement to validate the impact of SE practices on ML workflows, highlighting a major gap in empirical validation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.