TEASMA:一种面向深度神经网络测试充分性评估的实用方法
TEASMA: A Practical Methodology for Test Adequacy Assessment of Deep Neural Networks
AI总结:
TEASMA利用训练集和现有充分性度量构建DNN专用的故障检测率预测模型,以准确评估测试集充分性,实验证明其预测与实际FDR高度相关,为部署前验证DNN提供了可靠依据。
摘要:
深度神经网络(DNN)的成功部署需要通过充分的测试集对其进行验证,以确保测试结果具有足够的置信度。尽管已有针对DNN的成熟测试充分性评估技术被提出,我们仍需要研究如何将这些技术整合到一套全面的方法中,以准确预测测试集的故障检测能力,从而评估其充分性。在本文中,我们提出并评估了TEASMA,这是一种全面且实用的方法,旨在准确评估DNN测试集的充分性。在实践中,TEASMA使工程师能够判断是否可以信任高准确率的测试结果,从而在部署前对DNN进行验证。基于DNN模型的训练集,TEASMA提供了一套流程,利用现有的充分性度量指标来构建针对特定DNN的准确预测模型,用于预测测试集的故障检测率(FDR),从而实现对其充分性的评估。我们使用四种最先进的测试充分性度量指标对TEASMA进行了评估:基于距离的意外覆盖率(DSC)、基于似然的意外覆盖率(LSC)、输入分布覆盖率(IDC)和变异分数(MS)。我们在多个DNN模型和输入集(如ImageNet)上进行了广泛的实证评估,结果表明,基于MS、DSC和IDC得到的预测FDR值与实际FDR值之间存在强线性相关性,其中MS的最低R²值为0.94,DSC和IDC的最低R²值均为0.90。此外,在依赖回归分析和MS时,所有受试对象上实际FDR值与预测FDR值之间的平均均方根误差(RMSE)低至9%,这表明与DSC和IDC相比,MS具有更高的准确性,后两者的RMSE值分别为0.17和0.18。总体而言,这些结果表明,TEASMA为自信地决定是否信任DNN模型的测试结果提供了可靠的基础。
英文摘要:
Successful deployment of Deep Neural Networks (DNNs) requires their validation with an adequate test set to ensure a sufficient degree of confidence in test outcomes. Although well-established test adequacy assessment techniques have been proposed for DNNs, we still need to investigate their application within a comprehensive methodology for accurately predicting the fault detection ability of test sets and thus assessing their adequacy. In this paper, we propose and evaluate TEASMA, a comprehensive and practical methodology designed to accurately assess the adequacy of test sets for DNNs. In practice, TEASMA allows engineers to decide whether they can trust high-accuracy test results and thus validate the DNN before its deployment. Based on a DNN model's training set, TEASMA provides a procedure to build accurate DNN-specific prediction models of the Fault Detection Rate (FDR) of a test set using an existing adequacy metric, thus enabling its assessment. We evaluated TEASMA with four state-of-the-art test adequacy metrics: Distance-based Surprise Coverage (DSC), Likelihood-based Surprise Coverage (LSC), Input Distribution Coverage (IDC), and Mutation Score (MS). Our extensive empirical evaluation across multiple DNN models and input sets such as ImageNet, reveals a strong linear correlation between the predicted and actual FDR values derived from MS, DSC, and IDC, with minimum R^2 values of 0.94 for MS and 0.90 for DSC and IDC. Furthermore, a low average Root Mean Square Error (RMSE) of 9% between actual and predicted FDR values across all subjects, when relying on regression analysis and MS, demonstrates the latter's superior accuracy when compared to DSC and IDC, with RMSE values of 0.17 and 0.18, respectively. Overall, these results suggest that TEASMA provides a reliable basis for confidently deciding whether to trust test results for DNN models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。