SDPERL: A Framework for Software Defect Prediction Using Ensemble Feature Extraction and Reinforcement Learning

强化学习 计算机科学 人工智能 集成学习 软件 特征(语言学) 特征提取 机器学习 萃取(化学) 模式识别(心理学) 程序设计语言 化学 色谱法 语言学 哲学
作者
Mohsen Hesamolhokama,Amirahmad Shafiee,Mohammadreza Ahmadi Teshnizi,Mohammadamin Fazli Jafar Habibi
出处
期刊:Cornell University - arXiv
标识
DOI:10.48550/arxiv.2412.07927
摘要

Ensuring software quality remains a critical challenge in complex and dynamic development environments, where software defects can result in significant operational and financial risks. This paper proposes an innovative framework for software defect prediction that combines ensemble feature extraction with reinforcement learning (RL)--based feature selection. We claim that this work is among the first in recent efforts to address this challenge at the file-level granularity. The framework extracts diverse semantic and structural features from source code using five code-specific pre-trained models. Feature selection is enhanced through a custom-defined embedding space tailored to represent feature interactions, coupled with a pheromone table mechanism inspired by Ant Colony Optimization (ACO) to guide the RL agent effectively. Using the Proximal Policy Optimization (PPO) algorithm, the proposed method dynamically identifies the most predictive features for defect detection. Experimental evaluations conducted on the PROMISE dataset highlight the framework's superior performance on the F1-Score metric, achieving an average improvement of $6.25\%$ over traditional methods and baseline models across diverse datasets. This study underscores the potential for integrating ensemble learning and RL for adaptive and scalable defect prediction in modern software systems.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
陶玲发布了新的文献求助10
刚刚
书记发布了新的文献求助10
1秒前
wangke完成签到,获得积分10
2秒前
小付发布了新的文献求助10
2秒前
称心谷南完成签到,获得积分10
3秒前
Coatings发布了新的文献求助10
3秒前
怡然云朵发布了新的文献求助10
4秒前
研友_VZG7GZ应助裴帅龙采纳,获得10
6秒前
panpan发布了新的文献求助10
6秒前
鳗鱼焦完成签到 ,获得积分10
6秒前
7秒前
huche完成签到,获得积分10
7秒前
2222222完成签到,获得积分10
8秒前
8秒前
Aurora完成签到 ,获得积分10
9秒前
打打应助深情冷雪采纳,获得10
12秒前
Coatings完成签到,获得积分10
13秒前
13秒前
万能图书馆应助kirisaki采纳,获得10
14秒前
韩邹光完成签到,获得积分10
14秒前
huche发布了新的文献求助10
14秒前
14秒前
松山湖宗师完成签到,获得积分10
15秒前
juzhu关注了科研通微信公众号
16秒前
16秒前
Sunny完成签到,获得积分10
17秒前
Owen应助周旭采纳,获得10
17秒前
高大的笑翠完成签到,获得积分20
19秒前
sixieryu发布了新的文献求助10
19秒前
ZQP发布了新的文献求助10
19秒前
烟花应助skylinewjw采纳,获得10
20秒前
852应助温暖的鹏飞采纳,获得10
22秒前
高高应助ZQP采纳,获得10
23秒前
星辰大海应助ZQP采纳,获得10
23秒前
927完成签到,获得积分10
23秒前
刘雪晴完成签到 ,获得积分10
25秒前
大模型应助高大的笑翠采纳,获得10
25秒前
毕之完成签到,获得积分10
27秒前
wdwa完成签到,获得积分10
28秒前
tRNA完成签到,获得积分10
28秒前
高分求助中
【重要!!请各位用户详细阅读此贴】科研通的精品贴汇总(请勿应助) 10000
Semantics for Latin: An Introduction 1018
International Code of Nomenclature for algae, fungi, and plants (Madrid Code) (Regnum Vegetabile) 1000
Robot-supported joining of reinforcement textiles with one-sided sewing heads 530
Apiaceae Himalayenses. 2 500
Maritime Applications of Prolonged Casualty Care: Drowning and Hypothermia on an Amphibious Warship 500
Tasteful Old Age:The Identity of the Aged Middle-Class, Nursing Home Tours, and Marketized Eldercare in China 350
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 内科学 纳米技术 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 冶金 细胞生物学 免疫学
热门帖子
关注 科研通微信公众号,转发送积分 4081620
求助须知:如何正确求助?哪些是违规求助? 3621064
关于积分的说明 11487818
捐赠科研通 3336506
什么是DOI,文献DOI怎么找? 1834123
邀请新用户注册赠送积分活动 902959
科研通“疑难数据库(出版商)”最低求助积分说明 821351