Introduction
Software Engineering (SE) is currently undergoing a "Deep Learning revolution," yet the field lacks a clear map of its own progress. This paper presents a massive 10-year systematic literature review (SLR) of 906 papers to map the growing synergy between Machine/Deep Learning (ML/DL) and Software Engineering. While it documents a powerful shift from manual feature engineering to Deep Learning-based representation learning, it also uncovers a sobering reality: a widespread reproducibility crisis and a significant gap between academic research and real-world industry practice.
The Core Problem
Researchers often chase State-of-the-Art (SOTA) performance metrics without explaining why a specific model works for a specific SE task. The authors address three main gaps:
- The "How Far" Question: Quantifying the actual impact of ML/DL on SE tasks over the last decade (2009–2018).
- The Reproducibility Crisis: Investigating why so few SE-AI studies can be replicated or reproduced.
- The Industry Gap: Understanding why only a tiny fraction of these research breakthroughs actually make it into production environments.
Methodology
The authors conducted a Systematic Literature Review (SLR) following a rigorous "Quasi-Gold Standard" search strategy. They started with over 21,000 papers from major digital libraries (IEEE Xplore, ACM, SCOPUS) and manual searches of top-tier SE and AI venues.
After a three-phase filtering process (identification, deduplication, and manual quality assessment), they narrowed the pool to 906 primary studies. They then applied grounded theory and thematic synthesis to categorize these papers into 60 distinct SE tasks across seven major activities, such as Requirements Engineering, Testing, and Maintenance.
Data Landscapes
As a meta-study, this paper provides a critical breakdown of the data sources used across the 906 analyzed papers:
- Open Source (89%): The vast majority of studies rely on public repositories like GitHub or SourceForge.
- Industrial Data (7%): A very small slice of research uses real-world proprietary data.
- Student Collections (4%): Data gathered from classroom settings.
- Data Types: Data was categorized into four types: Tabular (most common for traditional ML), Text, Code, and Images.
Key Insights
The Representation Shift
The most significant evolution is the move from ML to DL. In 23 different SE tasks (like defect prediction), researchers have moved away from labor-intensive "hand-crafted" features toward DL models that learn representations directly from raw source code or text.
The "Performance-First" Trap
Many researchers treat ML/DL as a black box. The study found that performance is often the only criterion for model selection, leading to a lack of "rationales"—explanations of why a specific architecture (like a CNN vs. an RNN) is suited for a specific SE problem.
The Reproducibility Wall
The numbers are stark. Only 33% of the 891 analyzed studies provided links to their data, and only 21% shared their source code. This makes the vast majority of SE-AI research nearly impossible to verify or build upon.
Results
The number of ML/DL papers in SE has skyrocketed, particularly after 2015 (the "DL boom").
Defect Analysis (309 papers) and Maintenance & Evolution (244 papers) are the most heavily researched areas, likely due to the abundance of public bug reports and commit histories. The authors identified 79 studies specifically using Deep Learning across 25 SE tasks, finding that DL is particularly effective at capturing the "spatial locality" of code (via CNNs) and "sequential dependencies" (via RNNs/LSTMs).
Limitations and Future Outlook
Despite the growth, several hurdles remain:
- Data Paucity: While "Big Data" exists, labeled data for SE tasks is scarce and expensive to produce.
- Interpretability: DL models remain "black boxes," which is a major deal-breaker for industry adoption where safety and auditability are required.
- Computational Cost: 87% of DL studies did not report their runtime, hiding the massive hardware requirements often needed to train these models.
The authors suggest that the next big leap will come from SE-specific embeddings and active learning to reduce the burden of manual data labeling. To bridge the gap to industry, the paper proposes a roadmap focusing on replicability, collaborative tuning between researchers and practitioners, and seamless integration into existing engineering processes.
Summary updated