arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.16768cs.LGcs.AIcs.SE
收藏

DeepKnowledge:泛化驱动的深度学习测试

DeepKnowledge: Generalisation-Driven Deep Learning Testing

University of York(约克大学);CEA List;Université Paris-Saclay(巴黎萨克雷大学)

Sondess Missaoui, Simos Gerasimou, Nikolaos Matragkas

AI总结:

提出基于知识泛化理论的DNN测试方法DeepKnowledge,通过Transfer Knowledge神经元和泛化感知测试充分性标准评估模型鲁棒性,在多个基准上检测对抗攻击的改进达10个百分点。

摘要:

尽管取得了前所未有的成功,DNN因对数据分布的微小变化极其脆弱而臭名昭著,这要求有效的测试技术来评估其可靠性。尽管DNN测试最近取得了进展,但仍然缺乏系统性的测试方法来评估DNN泛化并在其训练分布之外的数据上相当运行的能力。我们通过DeepKnowledge填补了这一空白,这是一种基于知识泛化理论的DNN系统系统性测试方法,旨在增强DNN鲁棒性并降低“黑盒”模型的残余风险。遵循这一理论,DeepKnowledge假设DNN的核心计算单元(称为Transfer Knowledge神经元)能够在域偏移下泛化。DeepKnowledge在给定数据分布偏移的情况下为DNN测试活动提供客观的置信度度量,并利用此信息构建泛化感知的测试充分性标准,以检查测试集的迁移知识能力。我们在多个数据集和最先进的对抗生成技术上对几个DNN的实证评估证明了DeepKnowledge的有用性和有效性,及其支持更可靠的DNN工程的能力。我们报告称,在包括MNIST、SVHN和CIFAR在内的几个基准上,与最先进的覆盖标准相比,在检测对抗攻击方面提高了多达10个百分点。

英文摘要:

Despite their unprecedented success, DNNs are notoriously fragile to small shifts in data distribution, demanding effective testing techniques that can assess their dependability. Despite recent advances in DNN testing, there is a lack of systematic testing approaches that assess the DNN's capability to generalise and operate comparably beyond data in their training distribution. We address this gap with DeepKnowledge, a systematic testing methodology for DNN-based systems founded on the theory of knowledge generalisation, which aims to enhance DNN robustness and reduce the residual risk of 'black box' models. Conforming to this theory, DeepKnowledge posits that core computational DNN units, termed Transfer Knowledge neurons, can generalise under domain shift. DeepKnowledge provides an objective confidence measurement on testing activities of DNN given data distribution shifts and uses this information to instrument a generalisation-informed test adequacy criterion to check the transfer knowledge capacity of a test set. Our empirical evaluation of several DNNs, across multiple datasets and state-of-the-art adversarial generation techniques demonstrates the usefulness and effectiveness of DeepKnowledge and its ability to support the engineering of more dependable DNNs. We report improvements of up to 10 percentage points over state-of-the-art coverage criteria for detecting adversarial attacks on several benchmarks, including MNIST, SVHN, and CIFAR.

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

↑