[Paper Review] Synergy between Machine/Deep Learning and Software Engineering: How Far Are We?
This paper presents a 10-year systematic literature review of 906 ML/DL-related SE studies (2009–2018), identifying synergies, replicability challenges, and key factors affecting reproducibility. It proposes a three-stage road-map to enhance the transfer of ML/DL research into industrial practice and outlines five unique challenges in integrating deep learning into software engineering workflows.
Since 2009, the deep learning revolution, which was triggered by the introduction of ImageNet, has stimulated the synergy between Machine Learning (ML)/Deep Learning (DL) and Software Engineering (SE). Meanwhile, critical reviews have emerged that suggest that ML/DL should be used cautiously. To improve the quality (especially the applicability and generalizability) of ML/DL-related SE studies, and to stimulate and enhance future collaborations between SE/AI researchers and industry practitioners, we conducted a 10-year Systematic Literature Review (SLR) on 906 ML/DL-related SE papers published between 2009 and 2018. Our trend analysis demonstrated the mutual impacts that ML/DL and SE have had on each other. At the same time, however, we also observed a paucity of replicable and reproducible ML/DL-related SE studies and identified five factors that influence their replicability and reproducibility. To improve the applicability and generalizability of research results, we analyzed what ingredients in a study would facilitate an understanding of why a ML/DL technique was selected for a specific SE problem. In addition, we identified the unique trends of impacts of DL models on SE tasks, as well as five unique challenges that needed to be met in order to better leverage DL to improve the productivity of SE tasks. Finally, we outlined a road-map that we believe can facilitate the transfer of ML/DL-based SE research results into real-world industry practices.
Motivation & Objective
- To evaluate the mutual impacts of ML/DL and software engineering over a 10-year period (2009–2018).
- To identify factors undermining the replicability and reproducibility of ML/DL-related SE studies.
- To analyze the rationale behind ML/DL technique selection in SE research and improve methodological transparency.
- To investigate the unique impacts and challenges of deep learning on SE tasks.
- To propose a three-stage road-map for transferring ML/DL-based SE research into real-world industrial applications.
Proposed method
- Conducted a systematic literature review (SLR) on 906 ML/DL-related SE papers published between 2009 and 2018.
- Performed trend analysis to assess the mutual influence between ML/DL and SE across seven SE activities.
- Identified five factors affecting replicability and reproducibility through qualitative analysis of study design and reporting practices.
- Analyzed 79 deep learning studies to uncover unique trends and challenges in DL integration with SE tasks.
- Proposed three-stage road-map to guide technology transfer from academic research to industrial SE practice.
- Evaluated the rationale behind ML/DL technique selection by extracting and analyzing selection criteria reported in studies.
Experimental results
Research questions
- RQ1What are the key trends and mutual impacts between ML/DL and SE over the past decade?
- RQ2What factors hinder the replicability and reproducibility of ML/DL-related SE studies?
- RQ3Why are many ML/DL technique selections in SE studies not adequately justified beyond performance metrics?
- RQ4What unique challenges arise when integrating deep learning models into SE tasks?
- RQ5How can ML/DL-based SE research be effectively transferred into industrial software development practices?
Key findings
- There was a rapid growth in research interest in ML/DL applications across 60 distinct SE tasks spanning seven SE activities between 2009 and 2018.
- A significant lack of replicable and reproducible studies was observed, with five key factors—data availability, model transparency, hyperparameter reporting, evaluation metrics, and code sharing—influencing reproducibility.
- Many studies fail to justify ML/DL technique selection beyond performance, lacking detailed rationales involving problem characteristics, data type, or task constraints.
- Three essential ingredients—problem context, data modality, and model interpretability—were found to enhance understanding of technique selection in SE applications.
- Deep learning models introduced unique impacts on SE tasks, particularly in code generation, defect prediction, and API recommendation, but also brought five distinct challenges: data dependency, model interpretability, generalization across projects, integration with existing SE tools, and evaluation consistency.
- Only 15 studies addressed SE testing and debugging of ML/DL systems, indicating early-stage maturity in applying SE practices to AI systems.
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.