arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2605.30155cs.LOcs.AI
收藏

使用部分多神经元松弛的神经网络验证

Neural Network Verification using Partial Multi-Neuron Relaxation

The Hebrew University of Jerusalem(耶路撒冷希伯来大学)

Ido Shmuel, Guy Katz

AI总结:

提出部分多神经元松弛方法,通过启发式选择少量神经元生成多神经元边界,在Marabou验证器中实现紧致性与可扩展性的平衡。

摘要:

深度神经网络在关键系统中的日益集成,激发了对其行为进行形式化安全保证的理论和实际兴趣。为了实现这一点,当代验证算法依赖于为网络的非线性激活函数计算线性松弛。现有的线性松弛方法通常分为两类:单神经元松弛,其中每个激活神经元根据其源进行界定;以及多神经元松弛,其中计算涉及多个激活神经元及其源的线性边界。然而,现有方法可能无法平衡紧致性和可扩展性,因为单神经元边界可能无法推导出验证所需的足够紧致的边界,而为所有激活神经元生成多神经元松弛在计算上代价高昂。在本文中,我们提出了一种中间方法,即部分多神经元松弛,其中我们仅对启发式选择的一小部分神经元生成多神经元边界。为了实现这一点,我们基于现有的分支启发式方法选择神经元,并优化多神经元边界的边界超平面。我们将所提出的方法集成到Marabou验证器中,并与现有的边界紧缩方法相比获得了有利的结果。我们的实验展示了我们的技术在神经网络验证中的潜力。

英文摘要:

The increasing integration of deep neural networks in critical systems has spawned a theoretical and practical interest in formally guaranteeing safety properties about their behavior. To achieve this, contemporary verification algorithms rely on computing linear relaxations for a network's non-linear activation functions. Existing approaches for linear relaxations typically fall into one of two categories: single-neuron relaxation, in which each activation neuron is bounded in terms of its sources; and multi-neuron relaxation, in which linear bounds involving multiple activation neurons and their sources are calculated. However, existing methods might fail to balance tightness and scalability, as single-neuron bounds might not derive sufficiently tight bounds necessary for verification to complete, whereas generating multi-neuron relaxation for all activation neurons is computationally expensive. In this paper, we present a middle-ground approach featuring partial multi-neuron relaxation, in which we generate multi-neuron bounds for only a small, heuristically selected subset of neurons. To achieve this, we build upon existing branching heuristics for selecting neurons and for optimizing bounding hyper-planes for multi-neuron bounds. We integrated our proposed method within the Marabou verifier, and obtained favorable results in comparison to existing bound tightening methods. Our experiments showcase the potential of our technique for neural network verification.

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

↑