首页 | 本学科首页   官方微博 | 高级检索  
     

采用多目标优化的深度学习测试优化方法
引用本文:沐燕舟,王赞,陈翔,陈俊洁,赵静珂,王建敏.采用多目标优化的深度学习测试优化方法[J].软件学报,2022,33(7):2499-2524.
作者姓名:沐燕舟  王赞  陈翔  陈俊洁  赵静珂  王建敏
作者单位:天津大学 智能与计算学部, 天津 300350;天津大学 智能与计算学部, 天津 300350;天津大学 新媒体与传播学院, 天津 300350;南通大学 信息科学技术学院, 江苏 南通 226019;中国科学院 空间应用工程与技术中心, 北京 100094
基金项目:国家自然科学基金(61872263)基础加强计划技术领域基金项目(2020-JCJQ-JJ-490)2020年天津市智能制造专项资金项目(20201180)
摘    要:随着深度学习技术的快速发展,对其质量保障的研究也逐步增多.传感器等技术的迅速发展,使得收集测试数据变得不再困难,但对收集到的数据进行标记却需要花费高昂的代价.已有工作尝试从原始测试集中筛选出一个测试子集以降低标记成本,这些测试子集保证了与原始测试集具有相近的整体准确率(即待测深度学习模型在测试集全体测试输入上的准确率),但却不能保证在其他测试性质上与原始测试集相近.例如,不能充分覆盖原始测试集中各个类别的测试输入.提出了一种基于多目标优化的深度学习测试输入选择方法 DMOS(deep multi-objectiveselection),其首先基于HDBSCAN(hierarchicaldensity-basedspatialclusteringofapplicationswith noise)聚类方法初步分析原始测试集的数据分布,然后基于聚类结果的特征设计多个优化目标,接着利用多目标优化求解出合适的选择方案.在8组经典的深度学习测试集和模型上进行了大量实验,结果表明, DMOS方法选出的最佳测试子集(性能最好的Pareto最优解对应的测试子集)不仅能够覆盖原始测试集中更多的测试输入类别...

关 键 词:深度学习  软件测试  测试输入选择  多目标优化  遗传进化
收稿时间:2021/9/5 0:00:00
修稿时间:2021/10/14 0:00:00

Deep Learning Test Optimization Method Using Multi-objective Optimization
MU Yan-Zhou,WANG Zan,CHEN Xiang,CHEN Jun-Jie,ZHAO Jing-Ke,WANG Jian-Min.Deep Learning Test Optimization Method Using Multi-objective Optimization[J].Journal of Software,2022,33(7):2499-2524.
Authors:MU Yan-Zhou  WANG Zan  CHEN Xiang  CHEN Jun-Jie  ZHAO Jing-Ke  WANG Jian-Min
Affiliation:College of Intelligence and Computing, Tianjin University, Tianjin 300350, China;College of Intelligence and Computing, Tianjin University, Tianjin 300350, China;School of new media and communication, Tianjin University, Tianjin 300350, China;School of Information Science and Technology, Nantong University, Nantong 226019, China; Technology and Engineering Center for Space Utilization, Chinese Academy of Sciences, Beijing 100094, China
Abstract:With the rapid development of deep learning technology, the research on its quality assurance is raising more attention. Meanwhile, it is no longer difficult to collect test data owing to the mature sensor technology, but it costs a lot to label the collected data. In order to reduce the cost of labeling, the existing work attempts to select a test subset from the original test set. They only ensure that the overall accuracy (the accuracy of the target deep learning model on all test inputs of the test set) of the test subset is similar to that of the original test set. However, existing work only focuses on estimating overall accuracy, ignoring other properties of the original test set. For example, it can not fully cover all kinds of test input in the original test set. In this paper, we propose a method based on multi-objective optimization called DMOS (DeepMulti-ObjectiveSelection). It firstly analyzes the data distribution of the original test set based on HDBSCAN clustering method. Then, it designs the optimization objective based on the characteristics of the clustering results and then carries out multi-objective optimization to find out the appropriate selection solution. A large number of experiments are carried out on 8 pairs of classic deep learning test sets and models. The results show that the best test subset selected by DMOS method (It is corresponding to the Pareto optimal solution with the best performance) can not only cover more test input categories in the original test set, but also estimate the accuracy of each test input category extremely close to the original test set. Meanwhile, It can also ensure that the overall accuracy and test adequacy are close to the original test set: the average error of the overall accuracy estimation is only 1.081%, which is 0.845% less than the PACE, with the improvement of 43.87%; The average error of the accuracy estimation of each category of test input is only 5.547%, which is 2.926% less than PACE, with the improvement of 34.53%; The average estimation error of the five test adequacy measures is only 8.739%, which is 7.328% lower than PACE, with the increase improvement of 45.61%.
Keywords:deep learning  software testing  test input selection  multi objective optimization  genetic evolution
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号