arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.01917cs.LGcs.LO
收藏

SpecRepair:反例引导的深度神经网络安全修复

SpecRepair: Counter-Example Guided Safety Repair of Deep Neural Networks

University of Konstanz(康斯坦茨大学);Aalborg University(奥尔堡大学)

Fabian Bauer-Marquart, David Boetius, Stefan Leue, Christian Schilling

摘要:

深度神经网络(DNN)越来越多地应用于安全关键领域,如自动驾驶汽车、无人驾驶飞机和医疗诊断。证明这些DNN的安全性至关重要,即它们符合正式的安全规范。虽然安全认证工具准确地回答了这个问题,但它们对调试不安全的DNN没有帮助,需要开发人员反复验证和修改DNN,直到最终实现安全。因此,需要开发一种可以自动生成安全DNN的修复技术。为了满足这一需求,我们提出了SpecRepair,这是一种有效消除DNN中反例的工具,并在不损害其分类准确性的情况下生成可证明安全的DNN。SpecRepair结合了基于规范的反例搜索,并恢复DNN的训练,惩罚反例并验证生成的DNN。我们评估SpecRepair在ACAS Xu基准测试(一种基于DNN的无人驾驶飞机控制器)和两个图像分类基准测试上的有效性。结果表明,SpecRepair在生成安全DNN方面比同类方法更成功,运行时间更短,并且在保持分类准确性的同时生成安全DNN。

英文摘要:

Deep neural networks (DNNs) are increasingly applied in safety-critical domains, such as self-driving cars, unmanned aircraft, and medical diagnosis. It is of fundamental importance to certify the safety of these DNNs, i.e. that they comply with a formal safety specification. While safety certification tools exactly answer this question, they are of no help in debugging unsafe DNNs, requiring the developer to iteratively verify and modify the DNN until safety is eventually achieved. Hence, a repair technique needs to be developed that can produce a safe DNN automatically. To address this need, we present SpecRepair, a tool that efficiently eliminates counter-examples from a DNN and produces a provably safe DNN without harming its classification accuracy. SpecRepair combines specification-based counter-example search and resumes training of the DNN, penalizing counter-examples and certifying the resulting DNN. We evaluate SpecRepair's effectiveness on the ACAS Xu benchmark, a DNN-based controller for unmanned aircraft, and two image classification benchmarks. The results show that SpecRepair is more successful in producing safe DNNs than comparable methods, has a shorter runtime, and produces safe DNNs while preserving their classification accuracy.

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

↑