Local Lipschitz Constant Computation of ReLU-FNNs: Upper Bound Computation with Exactness Verification
Yoshio Ebihara, Xin Dai, Victor Magron, Dimitri Peaucelle, Sophie Tarbouriech
TL;DR
This work presents a comprehensive framework for computing local Lipschitz constants of ReLU-FNNs by formulating the upper bound as a semidefinite program using copositive multipliers. A dual SDP-based exactness verification is developed to certify when the computed bound is exact, and an exact model-reduction method enables scalability to networks with hundreds of ReLUs. The methodology is demonstrated on academic toy networks and a practical MNIST-style classifier, showing exactness in several cases and substantial reduction in problem size without sacrificing accuracy. The results advance robustness certification by providing tight bounds and scalable tools for local sensitivity analysis of ReLU networks, with future work aimed at extending to the $L_ ext{∞}$ setting.
Abstract
This paper is concerned with the computation of the local Lipschitz constant of feedforward neural networks (FNNs) with activation functions being rectified linear units (ReLUs). The local Lipschitz constant of an FNN for a target input is a reasonable measure for its quantitative evaluation of the reliability. By following a standard procedure using multipliers that capture the behavior of ReLUs,we first reduce the upper bound computation problem of the local Lipschitz constant into a semidefinite programming problem (SDP). Here we newly introduce copositive multipliers to capture the ReLU behavior accurately. Then, by considering the dual of the SDP for the upper bound computation, we second derive a viable test to conclude the exactness of the computed upper bound. However, these SDPs are intractable for practical FNNs with hundreds of ReLUs. To address this issue, we further propose a method to construct a reduced order model whose input-output property is identical to the original FNN over a neighborhood of the target input. We finally illustrate the effectiveness of the model reduction and exactness verification methods with numerical examples of practical FNNs.
