arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.17323cs.LG
收藏

通过状态空间缩减和输入分割扩展DNN分析的模型检验(扩展版)

Scaling Model Checking for DNN Analysis via State-Space Reduction and Input Segmentation (Extended Version)

Vienna University of Technology(维也纳工业大学);National University of Sciences & Technology(国立科技大学);New York University Abu Dhabi(纽约大学阿布扎比分校)

Mahum Naseer, Osman Hasan, Muhammad Shafique

AI总结:

针对模型检验DNN分析的状态空间爆炸问题,提出状态空间缩减和输入分割方法,将验证时间开销降低8000倍并支持更大规模网络,实现了对医疗和ACAS Xu等数据集NN安全属性的高效分析。

摘要:

由于基于神经网络(NNs)的机器学习系统在现实应用中展现出卓越的学习能力和性能,其使用持续增加。然而,文献中的各种案例研究和实证结果表明,对NN输入的微小变化可能导致错误且不可取的NN行为。这引发了人们对其形式化分析的极大兴趣,旨在为给定NN的行为提供保证。现有的框架使用可满足性求解和线性规划,为训练好的NN提供鲁棒性和/或安全性保证。我们曾提出FANNet,这是第一个基于模型检验的框架,用于分析更广泛的NN属性。然而,与模型检验相关的状态空间爆炸引发了可扩展性问题,使得FANNet仅适用于小型NN。这项工作开发了状态空间缩减和输入分割方法,以提高形式化NN分析的可扩展性和时间效率。与最先进的FANNet相比,这使得我们新的基于模型检验的框架能够将验证的时间开销减少高达8000倍,使该框架甚至适用于网络参数多约80倍的NN。这反过来允许使用新框架分析NN安全性属性,以及FANNet中已包含的所有NN属性。结果表明,该框架能够高效分析在医疗数据集上训练的NN以及广泛认可的ACAS Xu NN的属性。

英文摘要:

Owing to their remarkable learning capabilities and performance in real-world applications, the use of machine learning systems based on Neural Networks (NNs) has been continuously increasing. However, various case studies and empirical findings in the literature suggest that slight variations to NN inputs can lead to erroneous and undesirable NN behavior. This has led to considerable interest in their formal analysis, aiming to provide guarantees regarding a given NN's behavior. Existing frameworks provide robustness and/or safety guarantees for the trained NNs, using satisfiability solving and linear programming. We proposed FANNet, the first model checking-based framework for analyzing a broader range of NN properties. However, the state-space explosion associated with model checking entails a scalability problem, making the FANNet applicable only to small NNs. This work develops state-space reduction and input segmentation approaches, to improve the scalability and timing efficiency of formal NN analysis. Compared to the state-of-the-art FANNet, this enables our new model checking-based framework to reduce the verification's timing overhead by a factor of up to 8000, making the framework applicable to NNs even with approximately $80$ times more network parameters. This in turn allows the analysis of NN safety properties using the new framework, in addition to all the NN properties already included with FANNet. The framework is shown to be efficiently able to analyze properties of NNs trained on healthcare datasets as well as the well--acknowledged ACAS Xu NNs.

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

↑