arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2308.01314cs.LGcs.SEstat.ML
收藏

评估深度神经网络测试选择方法的鲁棒性

Evaluating the Robustness of Test Selection Methods for Deep Neural Networks

Qiang Hu, Yuejun Guo, Xiaofei Xie, Maxime Cordy, Wei Ma, Mike Papadakis, Yves Le Traon

AI总结:

本文探究深度神经网络测试选择方法的鲁棒性,识别出11种方法的潜在陷阱并在5个数据集上实证确认,发现故障检测方法受不确定或误分类数据影响导致覆盖率最多下降86.85%,性能估计方法则对中间层选择敏感。

摘要:

测试基于深度学习的系统至关重要,但由于标记收集的原始数据所需的时间与人力,这极具挑战。为减轻标注负担,已有多种测试选择方法被提出,只需标记部分测试数据即可满足测试需求。然而,我们观察到,这些报告了理想结果的方法仅在简单场景下(如在原始测试数据上测试)进行评估。这引发了一个问题:它们始终可靠吗?本文探究了测试选择方法在测试中何时以及在何种程度上会失效。具体而言,首先,我们基于构造方式识别出来自顶级会议的11种选择方法的潜在陷阱。其次,我们在5个数据集上(每个数据集采用两种模型架构)开展研究,实证确认了这些陷阱的存在。此外,我们展示了陷阱如何破坏这些方法的可靠性。具体来说,用于故障检测的方法会受到以下测试数据的影响:1)分类正确但不确定,或2)误分类但自信。值得注意的是,此类方法实现的测试相对覆盖率最多下降了86.85%。另一方面,用于性能估计的方法对中间层输出的选择很敏感。当使用不合适的层时,此类方法的有效性甚至可能比随机选择更差。

英文摘要:

Testing deep learning-based systems is crucial but challenging due to the required time and labor for labeling collected raw data. To alleviate the labeling effort, multiple test selection methods have been proposed where only a subset of test data needs to be labeled while satisfying testing requirements. However, we observe that such methods with reported promising results are only evaluated under simple scenarios, e.g., testing on original test data. This brings a question to us: are they always reliable? In this paper, we explore when and to what extent test selection methods fail for testing. Specifically, first, we identify potential pitfalls of 11 selection methods from top-tier venues based on their construction. Second, we conduct a study on five datasets with two model architectures per dataset to empirically confirm the existence of these pitfalls. Furthermore, we demonstrate how pitfalls can break the reliability of these methods. Concretely, methods for fault detection suffer from test data that are: 1) correctly classified but uncertain, or 2) misclassified but confident. Remarkably, the test relative coverage achieved by such methods drops by up to 86.85%. On the other hand, methods for performance estimation are sensitive to the choice of intermediate-layer output. The effectiveness of such methods can be even worse than random selection when using an inappropriate layer.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑