一句话:提出基于搜索的聚焦测试方法 DeepAtash,针对特征空间指定单元生成误行为输入以缓解 dev2op 数据漂移。
深度学习系统部署到运行环境后常遭遇 dev2op 数据漂移,即现场数据上出现训练/测试集中未充分表示的新特征,导致预测精度下降。为缓解该问题,开发者需要获取具有这些新特征的新数据并对模型微调。本文提出 DeepAtash,一种基于搜索的聚焦测试方法,用于 DL 系统。它以特征空间中由特征范围组合定义的单元为目标,生成具有预定义特征且能引发误行为的输入。实验表明,DeepAtash 生成的有针对性、引发失败的输入数量最高可达基线方法的 29 倍。这些输入不仅能通过微调显著提升原始 DL 系统在目标特征数据上的质量,出乎意料的是,还能提升其在原始分布数据上的质量。
When deployed in the operation environment, Deep Learning (DL) systems often experience the so-called development to operation (dev2op) data shift, which causes a lower prediction accuracy on field data as compared to the one measured on the test set during development. To address the dev2op shift, developers must obtain new data with the newly observed features, as these are under-represented in the train/test set, and must use them to fine tune the DL model, so as to reach the desired accuracy level. In this paper, we address the issue of acquiring new data with the specific features observed in operation, which caused a dev2op shift, by proposing DeepAtash, a novel search-based focused testing approach for DL systems. DeepAtash targets a cell in the feature space, defined as a combination of feature ranges, to generate misbehaviour-inducing inputs with predefined features. Experimental results show that DeepAtash was able to generate up to 29X more targeted, failure-inducing inputs than the baseline approach. The inputs generated by DeepAtash were useful to significantly improve the quality of the original DL systems through fine tuning not only on data with the targeted features, but quite surprisingly also on inputs drawn from the original distribution.