Toward Reduction in False Positives Just-In-Time Software Defect Prediction Using Deep Reinforcement Learning

Deep Q-Network (DQN) is a popular deep reinforcement learning algorithm that has demonstrated promising results across a variety of domains. DQN presents a promising solution to the challenge of lowering false positives in software defect prediction, thereby enhancing the reliability of the predicti...

Full description

Saved in:
Bibliographic Details
Main Authors: Ismail, Ahmad Muhaimin, Ab Hamid, Siti Hafizah, Sani, Asmiza Abdul, Daud, Nur Nasuha Mohd
Format: Article
Published: Institute of Electrical and Electronics Engineers 2024
Subjects:
Online Access:http://eprints.um.edu.my/45862/
https://doi.org/10.1109/ACCESS.2024.3382991
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:Deep Q-Network (DQN) is a popular deep reinforcement learning algorithm that has demonstrated promising results across a variety of domains. DQN presents a promising solution to the challenge of lowering false positives in software defect prediction, thereby enhancing the reliability of the prediction performance. In software defect prediction, false positives occur when the prediction model incorrectly predicts code changes to be defective. Consequently, developers waste time and resources on non-existent defects. This paper advocates for employing DQN in software defect prediction, focusing on minimizing false positives and maximizing the prediction performance. Throughout the training phase, the model learns to predict defect-prone following a reward policy aimed at reducing false results. Experimental findings show that the proposed DQN outperforms baseline classifier, improving the prediction accuracy of true defects by up to 27% when using only 20% efforts. The results show that the effectiveness of DQN in tackling false positives, thereby emphasizing the significance of incorporating dynamic reward in predicting software defects.