arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2504.09934math.OC
收藏

验证神经网络鲁棒性的紧半定松弛

Tight Semidefinite Relaxations for Verifying Robustness of Neural Networks

Godai Azuma, Sunyoung Kim, Makoto Yamashita

AI总结:

本文研究用于验证单层神经网络安全性的DeepSDP半定松弛的紧性条件,针对单神经元、椭球输入集和矩形输入集三种情形给出精确解条件,并将矩形输入集情形归结为单神经元情形。

摘要:

为了验证神经网络(NNs)的安全性,Fazlyab等人(2019)提出了一种称为DeepSDP的半定规划(SDP)方法。该公式可视为以二次约束二次规划(QCQP)形式表述的问题的SDP松弛的对偶。虽然QCQP的SDP松弛通常提供带有一定间隙的近似解,但本文关注的是为单层神经网络提供QCQP精确解的紧SDP松弛。具体而言,我们分析了三种情形下的紧性条件:(i)具有单个神经元的神经网络,(ii)具有椭球输入集的单层神经网络,以及(iii)具有矩形输入集的单层神经网络。对于具有单个神经元的神经网络,我们通过将QCQP转化为一个等价的二阶段问题,提出一个确保SDP对DeepSDP存在秩1解的条件,该条件使解与一个预定向量共线。对于具有椭球输入集的单层神经网络,解的共线性通过二阶段问题中的Karush-Kuhn-Tucker条件得到证明。在具有矩形输入集的单层神经网络情形下,我们证明如果权重矩阵是对角矩阵,则DeepSDP的紧性可以归结为情形(i)中的单神经元神经网络。

英文摘要:

For verifying the safety of neural networks (NNs), Fazlyab et al. (2019) introduced a semidefinite programming (SDP) approach called DeepSDP. This formulation can be viewed as the dual of the SDP relaxation for a problem formulated as a quadratically constrained quadratic program (QCQP). While SDP relaxations of QCQPs generally provide approximate solutions with some gaps, this work focuses on tight SDP relaxations that provide exact solutions to the QCQP for single-layer NNs. Specifically, we analyze tightness conditions in three cases: (i) NNs with a single neuron, (ii) single-layer NNs with an ellipsoidal input set, and (iii) single-layer NNs with a rectangular input set. For NNs with a single neuron, we propose a condition that ensures the SDP admits a rank-1 solution to DeepSDP by transforming the QCQP into an equivalent two-stage problem leads to a solution collinear with a predetermined vector. For single-layer NNs with an ellipsoidal input set, the collinearity of solutions is proved via the Karush-Kuhn-Tucker condition in the two-stage problem. In case of single-layer NNs with a rectangular input set, we demonstrate that the tightness of DeepSDP can be reduced to the single-neuron NNs, case (i), if the weight matrix is a diagonal matrix.

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

↑