arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.05261cs.LG
收藏

ECLipsE-Gen-Local:高效的深度神经网络局部Lipschitz估计框架

ECLipsE-Gen-Local: Efficient Compositional Local Lipschitz Estimates for Deep Neural Networks

Yuezhu Xu, S. Sivaranjani

AI总结:

本文提出ECLipsE-Gen-Local框架,通过局部信息提升深度神经网络的Lipschitz估计精度与效率,结合灵活的SDP方法和线性复杂度算法,实现快速且紧致的Lipschitz界。

摘要:

Lipschitz常数是验证神经网络对输入扰动鲁棒性的关键指标。然而,精确计算是NP难问题,标准方法涉及求解大规模矩阵半正定规划(SDP),其复杂度随网络规模恶化。此外,利用输入区域的局部信息可提供更紧的Lipschitz估计。本文提出一个可组合框架,为深度前馈神经网络提供紧致且可扩展的Lipschitz估计。首先,开发了一种通用SDP框架,支持异构激活函数斜率,允许对任意输入输出对和任意连续层子网络求Lipschitz估计。然后将该通用SDP分解为一系列小子问题,其计算复杂度与网络深度线性相关。还开发了一种变体,通过每个子问题的闭式解实现近即时计算。所有算法均配有理论保证。接着,开发了一系列称为ECLipsE-Gen-Local的算法,有效整合输入区域的局部信息。实验表明,我们的算法在多个基准上实现显著加速,同时产生比全局方法显著更紧的Lipschitz界。此外,我们显示,当输入区域足够小时,我们的算法提供严格上界,其值接近自动微分的精确Jacobian。最后,通过展示Lipschitz估计与网络鲁棒性紧密一致,证明了该方法的实用性。

英文摘要:

The Lipschitz constant is a key measure for certifying the robustness of neural networks to input perturbations. However, computing the exact constant is NP-hard, and standard approaches to estimate the Lipschitz constant involve solving a large matrix semidefinite program (SDP) that scales poorly with network size. Further, there is a potential to efficiently leverage local information on the input region to provide tighter Lipschitz estimates. We address this problem here by proposing a compositional framework that yields tight yet scalable Lipschitz estimates for deep feedforward neural networks. Specifically, we begin by developing a generalized SDP framework that is highly flexible, accommodating heterogeneous activation function slope, and allowing Lipschitz estimates with respect to arbitrary input-output pairs and arbitrary choices of sub-networks of consecutive layers. We then decompose this generalized SDP into a sequence of small sub-problems, with computational complexity that scales linearly with respect to the network depth. We also develop a variant that achieves near-instantaneous computation through closed-form solutions to each sub-problem. All our algorithms are accompanied by theoretical guarantees on feasibility and validity. Next, we develop a series of algorithms, termed as ECLipsE-Gen-Local, that effectively incorporate local information on the input. Our experiments demonstrate that our algorithms achieve substantial speedups over a multitude of benchmarks while producing significantly tighter Lipschitz bounds than global approaches. Moreover, we show that our algorithms provide strict upper bounds for the Lipschitz constant with values approaching the exact Jacobian from autodiff when the input region is small enough. Finally, we demonstrate the practical utility of our approach by showing that our Lipschitz estimates closely align with network robustness.

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

↑