Predictive Models in Software Engineering: Challenges and Opportunities

Yanming Yang, Xin Xia, David Lo, Tingting Bi, John C. Grundy, Xiaohu Yang · DOI · OpenReview

Abstract

Predictive modeling has become a cornerstone of modern software engineering (SE) research, utilizing historical data to forecast outcomes such as software defects or development effort. However, the rapid growth of this field has led to a fragmented landscape. This paper presents a systematic mapping of research published between 2009 and 2019, analyzing 145 high-quality primary studies to categorize the current state of the art, identify successful patterns, and highlight persistent challenges.

Introduction

As software systems grow in complexity, the ability to predict potential failures or estimate resource requirements becomes critical. Researchers and practitioners have turned to machine learning and statistical modeling to address these needs. Despite the proliferation of studies, the field lacks a cohesive "map" to guide researchers in selecting appropriate models, standardizing evaluation metrics, and identifying under-researched areas. This systematic literature review (SLR) addresses this fragmentation by organizing existing knowledge and highlighting gaps in the software development lifecycle (SDLC).

Methodology and Classification

Following the established guidelines for systematic reviews by Kitchenham and Petersen, the authors queried major digital libraries (ACM, IEEE, etc.) for papers published in top-tier venues such as ICSE, TSE, and EMSE. From an initial pool of 2,128 candidate papers, 145 primary studies were selected based on strict inclusion criteria.

The research was classified into three primary model families:

  1. Base Learners: Classic algorithms including Logistic Regression, Naive Bayes, and Support Vector Machines (SVM).
  2. Ensemble Learning: Methods that combine multiple models, most notably Random Forest, Boosting, and Bagging.
  3. Neural Networks: Ranging from traditional Multi-Layer Perceptrons (MLPs) to modern Deep Learning architectures like CNNs, RNNs, and LSTMs.
Distribution of research types within the surveyed primary studies, highlighting a focus on new methodologies and empirical assessments.

As shown in the figure above, the majority of research (41%) focuses on proposing new techniques or methodologies, while nearly half of the field is dedicated to assessment, empirical studies, and case studies. This suggests a healthy balance between innovation and the validation of existing approaches.

Key Insights and Task Distribution

The Dominance of Testing

The survey reveals a significant concentration of research in specific phases of the SDLC. Approximately 50% of all predictive modeling research focuses on Software Testing and Debugging. Within this category, Defect Prediction is the single most studied task, appearing in 40 of the 145 reviewed papers.

The Requirements Gap

In contrast to the focus on testing, the requirements phase remains largely neglected. Only 3% of the surveyed papers applied predictive models to requirements engineering. This represents a substantial opportunity for future research in automated requirement classification, ambiguity detection, and coordination modeling.

Model Popularity and the Deep Learning Pivot

Among ensemble methods, Random Forest is the clear leader, utilized in 59% of ensemble-related studies due to its robustness with high-dimensional SE data. While classic base learners like Logistic Regression and Naive Bayes remain stable staples (30 studies each), a marked surge in Deep Learning began around 2018. This shift is particularly evident in tasks involving natural language processing or sequence data, such as log analysis and bug report management.

The field has seen steady growth over the decade, with a notable shift in where research is published. While early research was heavily conference-dominated, recent years have seen a more balanced distribution between top-tier conferences and prestigious journals like Transactions on Software Engineering (TSE) and Empirical Software Engineering (EMSE).

Annual publication trends from 2009 to 2019, illustrating the growth in research volume and the increasing role of journal publications.

Regarding evaluation, the "big three" metrics—Recall (96 studies), Precision (89), and F-measure (68)—remain the standard. However, the authors note a lack of consistency in adopting more robust metrics like Area Under the Curve (AUC) or G-measure, which can provide a more nuanced view of model performance, especially in imbalanced datasets.

Challenges and Future Directions

Despite the progress made, several bottlenecks persist:

  • Data Quality and Privacy: Class imbalance and noisy labels continue to plague predictive models. Furthermore, the proprietary nature of high-quality corporate data limits cross-company research. The community must invest in privacy-preserving data sharing techniques.
  • Usability and Actionability: Most research focuses on model accuracy in controlled settings. There is a critical need to bridge the "usability gap," ensuring that these models provide actionable insights to developers in real-time environments without causing alert fatigue.
  • Theoretical Frameworks: Currently, model selection often relies on trial-and-error. The field requires theoretical guidelines to help researchers choose the most effective algorithms based on the specific characteristics of the SE task at hand.

In conclusion, while predictive modeling in SE has matured significantly, shifting focus toward neglected SDLC phases and improving the practical actionability of models will be essential for the next decade of research.

Summary updated

BibTeX
@article{yang2020predictive,
  author = {Yanming Yang and Xin Xia and David Lo and Tingting Bi and John C. Grundy and Xiaohu Yang},
  title = {{Predictive Models in Software Engineering: Challenges and Opportunities}},
  journal = {ACM Trans. Softw. Eng. Methodol.},
  year = {2020},
  doi = {10.1145/3503509},
}
Figure