光学 精密工程, 2019, 27 (2): 469, 网络出版: 2019-04-02  

基于迁移学习的跨公司航天软件缺陷预测

Approach to cross-company spacecraft software defect prediction based on transfer learning
作者单位
1 吉林大学 计算机科学与技术学院, 吉林 长春 130012
2 中国科学院 长春光学精密机械与物理研究所, 吉林 长春 130033
3 吉林大学 符号计算与知识工程教育部重点实验室, 吉林 长春 130012
摘要
为提高航天软件测试的效率和质量, 针对同公司航天软件数量少、研制周期长的特点, 提出了一种跨公司航天软件缺陷预测方法。从航天软件背景信息复杂、规模大、功能独立等特征出发, 提出基于静态分类缺陷预测的模型构建思想。引入迁移学习方法, 利用最近邻分类器和数据引力模型, 对训练数据的分布特征进行修正, 提高训练数据与目标数据的相似性; 为提高模型的泛化能力以适应目标数据的多样性, 提出在训练数据中加入少量目标数据用于模型训练。将该方法在实际工程中进行应用, 实验结果表明, 与已有软件缺陷预测方法相比, 该方法在保持较低误报率(不高于0.3)的情况下可有效提高召回率(接近0.6), 整体可信度得到有效增强(G-measure超过0.6), 方法稳定度高, 泛化能力较强; 本方法在实际工程中对测试规模影响可控, 测试效率得到提高。
Abstract
In order to improve the efficiency and quality of aerospace software testing, an approach to cross-company aerospace software defect prediction was proposed, especially for the scarcity of within-company software and the long cycle of development. Considering the complexity, large scale, and independent functions of aerospace software, the idea of building a defect prediction model based on static classification was proposed. In this paper, the transfer learning method was introduced. Using the nearest neighbor classifier and data gravity model, the distribution characteristics of training data were corrected to improve the similarity between training data and target data. In order to improve the generalization ability of the model to adapt to the diversity of target data, a small amount of target data was added to the training data for model training. The approach was applied to the test for aerospace software testing. The results of application show that, compared with existing software defect prediction methods, the proposed method can effectively improve the recall rate (close to 0.6) with a low false alarm rate (not higher than 0.3). The overall credibility is effectively enhanced (G-measure is over 0.6), and the method has high stability and strong generalization ability. This method can control the test scale in practical projects and improve testing efficiency.

哈清华, 刘大有, 陈媛, 刘逻. 基于迁移学习的跨公司航天软件缺陷预测[J]. 光学 精密工程, 2019, 27(2): 469. HA Qing-hua, LIU Da-you, CHEN Yuan, LIU Luo. Approach to cross-company spacecraft software defect prediction based on transfer learning[J]. Optics and Precision Engineering, 2019, 27(2): 469.

关于本站 Cookie 的使用提示

中国光学期刊网使用基于 cookie 的技术来更好地为您提供各项服务,点击此处了解我们的隐私策略。 如您需继续使用本网站,请您授权我们使用本地 cookie 来保存部分信息。
全站搜索
您最值得信赖的光电行业旗舰网络服务平台!