Software Defect Prediction Using Reinforcement Learning-Based Optimization
Summary
No summary yet. VIRAT can read this paper and write a plain-language summary of its aim, methods, key findings and limitations.
Summarise with VIRAT Free to try with your Science Catalogs account.Abstract
Software defect prediction (SDP) plays a critical role in ensuring software reliability, yet most existing approaches rely on static machine learning or optimization frameworks that struggle with data imbalance, feature redundancy, and limited adaptability across evolving software systems.To address these shortcomings, this work proposes a reinforcement learning-driven methodology using Proximal Policy Optimization (PPO) to model defect prediction as a sequential decision-making process.The system constructs state representations from software metrics such as complexity, Halstead measures, and lines of code, and learns optimal defect classification actions through reward-guided policy updates that penalize false negatives and reward prediction stability.Experimental results on NASA defect datasets demonstrate a 7.4% improvement in F1-score and consistent gains in precision and recall compared with leading ensemble and deep-learning baselines.The PPO agent exhibits stable reward convergence and dynamic feature relevance estimation, enabling superior generalization across heterogeneous modules.The study concludes that reinforcement learning offers a promising paradigm for next-generation defect prediction by enabling adaptive, policy-driven learning rather than static classification.This work establishes a unified RL-centered framework and highlights its practical significance for software quality assurance, particularly in safety-critical and large-scale development environments.
Fields of Study & Subjects
Software Engineering Research
Software Reliability and Analysis Research
Software Testing and Debugging Techniques
Publication details
- Journal / source
- Advances in intelligent systems research/Advances in Intelligent Systems Research
- Pages
- 118–129
- Publication date
- 1 April 2026
- Language
- EN
- Document type
- Book chapter