[Paper Review] A Systematic Literature Review on the Use of Deep Learning in Software Engineering Research
This systematic literature review analyzes 128 papers on deep learning in software engineering (DL4SE), identifying key patterns, challenges, and best practices across 23 software engineering tasks. By structuring analysis around the components of learning, the study provides a comprehensive research roadmap highlighting successful applications, reproducibility concerns, and future research directions in DL4SE.
An increasingly popular set of techniques adopted by software engineering (SE) researchers to automate development tasks are those rooted in the concept of Deep Learning (DL). The popularity of such techniques largely stems from their automated feature engineering capabilities, which aid in modeling software artifacts. However, due to the rapid pace at which DL techniques have been adopted, it is difficult to distill the current successes, failures, and opportunities of the current research landscape. In an effort to bring clarity to this crosscutting area of work, from its modern inception to the present, this paper presents a systematic literature review of research at the intersection of SE & DL. The review canvases work appearing in the most prominent SE and DL conferences and journals and spans 128 papers across 23 unique SE tasks. We center our analysis around the components of learning, a set of principles that govern the application of machine learning techniques (ML) to a given problem domain, discussing several aspects of the surveyed work at a granular level. The end result of our analysis is a research roadmap that both delineates the foundations of DL techniques applied to SE research, and highlights likely areas of fertile exploration for the future.
Motivation & Objective
- To map the current landscape of deep learning applications in software engineering research.
- To identify recurring patterns, challenges, and best practices in applying deep learning to SE tasks.
- To provide a research roadmap for future work by analyzing components of learning across 128 studies.
- To assess reproducibility and replicability concerns in DL4SE literature.
- To differentiate DL4SE from the emerging field of Software Engineering for Deep Learning (SE4DL) and justify focusing on DL4SE in this review.
Proposed method
- Conducted a systematic literature review (SLR) following Kitchenham et al. guidelines for software engineering research.
- Searched top SE and DL venues using a curated search string and supplemented with snowballing and manual paper collection.
- Applied predefined inclusion/exclusion criteria to select 128 relevant primary studies from 23 distinct SE tasks.
- Extracted detailed attributes across 14 dimensions, including data types, preprocessing, architectures, loss functions, hyperparameter tuning, and evaluation metrics.
- Performed exploratory data analysis and correlation analysis to uncover relationships between DL components and performance.
- Synthesized findings into a research roadmap, identifying pitfalls, best practices, and actionable future research directions.
Experimental results
Research questions
- RQ1Which software engineering tasks have been most frequently addressed using deep learning?
- RQ2What are the most common deep learning architectures and data types used in SE research?
- RQ3How do researchers handle hyperparameter tuning, overfitting, and model evaluation in DL4SE studies?
- RQ4What are the key challenges related to reproducibility and replicability in DL4SE literature?
- RQ5What principles (e.g., Occam’s Razor) are considered when designing DL models for SE tasks?
Key findings
- The most frequently studied SE tasks include defect prediction, code suggestion, automatic program repair, and malware detection.
- Convolutional Neural Networks (CNNs) and Recurrent Neural Networks (RNNs), particularly LSTMs, are the most commonly used deep learning architectures.
- A significant number of studies use code and text-based data (e.g., source code, comments, documentation) as input, often requiring tokenization and embedding techniques.
- Only 32% of studies reported using baseline models for comparison, raising concerns about the validity and reproducibility of claimed performance gains.
- Loss functions such as cross-entropy and mean squared error were most frequently used, with focal loss emerging in imbalanced defect prediction tasks.
- A strong correlation was found between the use of proper validation strategies and improved model generalization, suggesting that methodological rigor varies widely across studies.
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.