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

VeriFlow:面向神经网络验证的分布建模

VeriFlow: Modeling Distributions for Neural Network Verification

Independent Researcher(独立研究者);TU Dortmund University(图卢兹-多特蒙德大学);Center for Trustworthy Data Science and Security(可信数据科学与安全中心);University Alliance Ruhr(鲁尔大学联盟)

Faried Abu Zaid, Daniel Neider, Mustafa Yalçıner

AI总结:

针对神经网络形式化验证易校验无意义非现实输入的问题,本文提出基于流的密度模型VeriFlow,可将验证范围限定在目标数据分布,支持线性约束求解验证器,实现对验证输入非典型程度的细粒度概率可控验证。

摘要:

形式化验证已成为保障神经网络安全性与可靠性的一种极具前景的方法。然而,公平性或全局鲁棒性等诸多相关属性均针对整个输入空间。若直接朴素地应用验证技术,会对现实世界中不会出现、无实际意义的输入也执行神经网络校验。为解决该缺陷,我们提出VeriFlow架构,这是一种基于流的密度模型,专门适配任意验证方法,可将验证搜索范围限定在目标数据分布内。我们认为该架构尤其适配该场景,原因在于其两大核心特性:第一,我们证明该模型定义的变换是分段仿射的,因此模型支持使用基于线性算术约束求解的验证器;第二,数据分布的上密度水平集(UDL)可通过潜在空间中的线性约束定义,因此给定概率对应的UDL表示可在潜在空间中被有效计算。该特性可实现高效验证,同时能对受验证输入的非典型程度进行细粒度、概率可解释的控制。

英文摘要:

Formal verification has emerged as a promising method to ensure the safety and reliability of neural networks. However, many relevant properties, such as fairness or global robustness, pertain to the entire input space. If one applies verification techniques naively, the neural network is checked even on inputs that do not occur in the real world and have no meaning. To tackle this shortcoming, we propose the VeriFlow architecture as a flow-based density model tailored to allow any verification approach to restrict its search to some data distribution of interest. We argue that our architecture is particularly well suited for this purpose because of two major properties. First, we show that the transformation that is defined by our model is piecewise affine. Therefore, the model allows the usage of verifiers based on constraint solving with linear arithmetic. Second, upper density level sets (UDL) of the data distribution are definable via linear constraints in the latent space. As a consequence, representations of UDLs specified by a given probability are effectively computable in the latent space. This property allows for effective verification with a fine-grained, probabilistically interpretable control of how a-typical the inputs subject to verification are.

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

↑