DSSA: A Deep Reinforcement Learning-Enhanced Sparrow Search Algorithm for Feature Selection in Software Defect Prediction
Weijie Huang, Ting Shu, Jinsong Xia
Key points
From the paper's conclusion- To improve the search efficiency and solution quality of FS, this paper proposes DSSA, a two-stage algorithm that enhances the sparrow search algorithm (SSA) with deep reinforcement learning.
Abstract
Software defect prediction plays a critical role in the software development life cycle. Its predictive performance largely depends on the quality of the input features, whereas software defect datasets often contain irrelevant and redundant features. Wrapper-based feature selection (FS) has been proven effective in mitigating these issues. Nevertheless, efficiently identifying an optimal feature subset from a high-dimensional feature space remains a challenging combinatorial optimization problem. To improve the search efficiency and solution quality of FS, this paper proposes DSSA, a two-stage algorithm that enhances the sparrow search algorithm (SSA) with deep reinforcement learning. In the offline stage, interaction data generated during the SSA search process are collected and used to train an adaptive decision-making model. In the online stage, DSSA employs the trained model to dynamically configure the parameters governing the population search process. By replacing the fixed parameter scheme of conventional SSA with a dynamic parameter-control mechanism, DSSA adaptively balances exploration and exploitation, thereby improving solution quality. Comprehensive experiments are conducted on 20 widely studied software defect datasets to assess the performance of the proposed approach using four evaluation metrics. Experimental results demonstrate that DSSA achieves the best average Friedman ranks of 1.45, 1.50, 1.55, and 1.65 across the four metrics, confirming its superior performance.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Generalization of set of features for the software fault prediction using ant colony-based feature selectionInternational Journal of Information Technology · 2025
- An audit of machine learning experiments on software defect predictionEmpirical Software Engineering · 2026
- A Feature Selection Method Based on an Improved Sand Cat Swarm Optimization Algorithm with Multi-Strategy FusionEntropy · 2026
- Software Defect Prediction Model Fusing File and Program Graph RepresentationSoftware Testing, Verification and Reliability · 2026
- OTOMO: Outlier-Conscious Transfer-Oriented Minority Oversampling for cross-project defect predictionFrontiers in Computer Science · 2026
- MSTDP: a multi-scale temporal deep learning framework for just-in-time software defect prediction with cross-attention fusionJournal of King Saud University - Computer and Information Sciences · 2026