SDPERL:一种采用集成特征提取与强化学习的软件缺陷预测框架
SDPERL: A Framework for Software Defect Prediction Using Ensemble Feature Extraction and Reinforcement Learning
AI总结:
针对复杂环境下软件缺陷预测难题,提出集成特征提取与强化学习结合的SDPERL框架,通过多模型提特征、ACO启发的RL选特征,在PROMISE数据集上F1-Score较基线平均提升6.25%。
摘要:
在复杂动态的开发环境中,保障软件质量仍是一项关键挑战,软件缺陷可能引发重大的运营与财务风险。本文提出一种创新的软件缺陷预测框架,该框架将集成特征提取与基于强化学习(RL)的特征选择相结合。我们认为,这项工作是近期在文件级粒度下应对该挑战的首批研究之一。该框架利用5个代码专用预训练模型,从源代码中提取多样化的语义与结构特征。研究通过定制化的嵌入空间(用于表征特征交互),结合受蚁群优化(ACO)启发的信息素表机制以有效引导RL智能体,对特征选择过程进行了增强。所提方法采用近端策略优化(PPO)算法,动态识别最具缺陷检测预测能力的特征。在PROMISE数据集上开展的实验评估表明,该框架在F1-Score指标上表现优异,在不同数据集上相较于传统方法与基线模型平均提升6.25%。本研究凸显了集成学习与强化学习相结合,在现代软件系统中实现自适应、可扩展缺陷预测的潜力。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。