DSSA: A Deep Reinforcement Learning-Enhanced Sparrow Search Algorithm for Feature Selection in Software Defect Prediction

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.

Authors

Institutions

Publication Details

Journal
Electronics
Published
2026-11-17
DOI
https://doi.org/10.3390/electronics15225361
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

DSSA: A Deep Reinforcement Learning-Enhanced Sparrow Search Algorithm for Feature Selection in Software Defect Prediction

Ting Shu, Jinsong Xia, Weijie Huang
2 links
Electronics
Software Engineering Research
article

DSSA: A Deep Reinforcement Learning-Enhanced Sparrow Search Algorithm for Feature Selection in Software Defect Prediction

Ting Shu, Jinsong Xia, Weijie Huang
article en

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.

ElectronicsVol. 15(22)
Zhejiang Sci-Tech University (CN)
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon