《计算机应用》唯一官方网站 ›› 2023, Vol. 43 ›› Issue (11): 3568-3573.DOI: 10.11772/j.issn.1001-9081.2022101600

• 计算机软件技术 • 上一篇    

基于蚁群算法优化反向传播神经网络的软件质量预测

朱嘉豪1,2(), 郑巍1,2, 杨丰玉1,2, 樊鑫1,2, 肖鹏1,2   

  1. 1.南昌航空大学 软件学院,南昌 330063
    2.南昌航空大学 软件测评中心,南昌 330063
  • 收稿日期:2022-10-25 修回日期:2022-12-17 接受日期:2022-12-26 发布日期:2023-11-14 出版日期:2023-11-10
  • 通讯作者: 朱嘉豪
  • 作者简介:朱嘉豪(1998—),男,江西丰城人,硕士研究生,CCF会员,主要研究方向:软件可靠性、软件质量预测 zhujiahao_nchu@126.com
    郑巍(1982—),男,江西萍乡人,教授,博士,CCF会员,主要研究方向:复杂网络、软件可靠性
    杨丰玉(1980—),男,江西九江人,副教授,硕士,CCF会员,主要研究方向:大数据分析
    樊鑫(1981—),男,湖北荆州人,副教授,硕士,CCF会员,主要研究方向:软件测试
    肖鹏(1988—),男,江西吉安人,讲师,博士,CCF会员,主要研究方向:软件测试。
  • 基金资助:
    总装预研基金项目(JZX7J202202ZL002000)

Software quality prediction based on back propagation neural network optimized by ant colony optimization algorithm

Jiahao ZHU1,2(), Wei ZHENG1,2, Fengyu YANG1,2, Xin FAN1,2, Peng XIAO1,2   

  1. 1.School of Software,Nanchang Hangkong University,Jiangxi Nanchang 330063,China
    2.Software Testing and Evaluation Center,Nanchang Hangkong university,Jiangxi Nanchang 330063,China
  • Received:2022-10-25 Revised:2022-12-17 Accepted:2022-12-26 Online:2023-11-14 Published:2023-11-10
  • Contact: Jiahao ZHU
  • About author:ZHU Jiahao, born in 1998, M.S. candidate. His research interests include software reliability, software quality prediction.
    ZHENG Wei, born in 1982, Ph.D., professor. His research interests include complex network, software reliability.
    YANG Fengyu, born in 1980, M.S., associate professor. His research interests include big data analysis.
    FAN Xin, born in 1981, M.S., associate professor. His research interests include software testing.
    XIAO Peng, born in 1988, Ph.D., lecturer. His research interests include software testing.
  • Supported by:
    Assemble Pre-Research Foundation of China(JZX7J202202ZL002000)

摘要:

针对基于反向传播神经网络(BPNN)的软件质量预测模型存在收敛慢、模型精度不高的问题,提出一种基于蚁群算法优化BPNN的软件质量预测(SQP-ACO-BPNN)方法。首先,选择软件质量评价指标,确立软件质量评价体系;其次,采用BPNN构建初始软件质量预测模型,并利用蚁群优化(ACO)算法确定若干网络结构、网络初始连接权值和阈值;再次,给出网络结构评价函数,选择神经网络模型的最佳结构、网络初始连接权值和阈值;最后,通过BP算法训练该网络,得到最终的软件质量预测模型。在机载嵌入式软件质量预测数据上的实验结果表明,优化后的BPNN模型有效提高了预测的准确率、精确率、召回率和F1值,并且模型能够更快收敛,验证了SQP-ACO-BPNN方法的有效性。

关键词: 软件质量预测, 蚁群优化算法, 反向传播神经网络, 网络结构评价

Abstract:

Concerning the problems of slow convergence and low accuracy of software quality prediction model based on Back Propagation Neural Network (BPNN), a Software Quality Prediction method based on BPNN optimized by Ant Colony Optimization algorithm (SQP-ACO-BPNN) was proposed. Firstly, the software quality evaluation factors were selected and a software quality evaluation system was determined. Secondly, BPNN was adopted to build initial software quality prediction model and ACO algorithm was used to determine network structures, initial connection weights and thresholds of network. Then, an evaluation function was given to select the best structure, initial connection weights and thresholds of the network. Finally, the network was trained by BP algorithm, and the final software quality prediction model was obtained. Experimental results of predicting the quality of airborne embedded software show that the accuracy, precision, recall and F1 value of the optimized BPNN model are all improved with faster convergence, which indicates the validity of SQP-ACO-BPNN.

Key words: software quality prediction, Ant Colony Optimization (ACO) algorithm, Back Propagation Neural Network (BPNN), network structure evaluation

中图分类号: