混合单调神经网络训练:免集合传播的神经网络形式化验证方法
Training Mixed-Monotone Neural Networks for Verification Without Set Propagation
研究提出一种混合单调神经网络架构,将混合单调函数实现为单调子网络之差,使紧致输出包络的计算从复杂集合传播简化为输入区间两个对角点的两次前向传播。包络大小是网络权重的闭式函数,可在训练中直接最小化,并给出由函数全变差刻画的包络下界。在回归与动力系统基准上,训练将包络大小压缩至下界的0.5%以内且不损失预测精度,计算速度比CROWN和α-CROWN快数个数量级。
arXiv:2610.30853v1 Announce Type: new Abstract: Most formal verification approaches for neural networks conservatively enclose the output set of the neural network. However, computing a tight output enclosure is in general computationally hard. We sidestep this challenge with a novel neural network architecture that realizes mixed-monotone functions as the difference of monotone subnetworks. By utilizing the theory on mixed-monotone systems, this reduces the computation of a tight output enclosure from complicated set propagation to two simple forward passes of opposite corners of an input interval. Moreover, because the size of the resulting enclosure is a closed-form function of the weights of the neural network, we can directly minimize it during training. We prove a lower bound on the size of any such enclosure, given by the total variation of the represented function generalized to several inputs, which makes it possible to compare the tightness of the enclosure against the optimum. Our evaluation on regression and dynamical-system benchmarks demonstrates that our training reduces the enclosure size to within 0.5% of the lower bound without sacrificing prediction accuracy. Computing our enclosure is orders of magnitude faster than CROWN and $\alpha$-CROWN and on deep networks it is also tighter than zonotope propagation and CROWN, while its size exceeds that of $\alpha$-CROWN by only 5.1%.
来源:arXiv (AI + Vision + Imaging) · arxiv.org