arXiv:2602.15499cs.LG2026-02被引 3

提出精确计算任意分段线性神经网络的Lipschitz常数的新方法。

ExLipBaB: Exact Lipschitz Constant Computation for Piecewise Linear Neural Networks

  • 基于LipBaB算法扩展,支持多种分段线性激活函数。
  • 可精确计算包含ReLU、GroupSort等复杂激活的网络常数。
  • 适合对鲁棒性要求高的小模型或算法基准测试场景。

神经网络的Lipschitz常数可用于推导鲁棒性保证、通过正则化提升泛化能力,甚至构建可逆网络。已有方法在不同网络类别中以不同程度的紧致性和计算成本近似常数,但精确计算研究较少,且已被证明是NP难问题。尽管如此,在某些场景下可接受高计算成本。现有精确算法仅限于ReLU激活网络,而这类激活在约束型网络中存在明显缺陷。为此,本文将LipBaB算法推广至任意分段线性神经网络及p-范数,支持ReLU、LeakyReLU、GroupSort、MinMax、FullSort以及MaxPool等各类分段线性函数。

原文摘要 · Abstract (English)

It has been shown that a neural network's Lipschitz constant can be leveraged to derive robustness guarantees, to improve generalizability via regularization or even to construct invertible networks. Therefore, a number of methods varying in the tightness of their bounds and their computational cost have been developed to approximate the Lipschitz constant for different classes of networks. However, comparatively little research exists on methods for exact computation, which has been shown to be NP-hard. Nonetheless, there are applications where one might readily accept the computational cost of an exact method. These applications could include the benchmarking of new methods or the computation of robustness guarantees for small models on sensitive data. Unfortunately, existing exact algorithms restrict themselves to only ReLU-activated networks, which are known to come with severe downsides in the context of Lipschitz-constrained networks. We therefore propose a generalization of the LipBaB algorithm to compute exact Lipschitz constants for arbitrary piecewise linear neural networks and $p$-norms. With our method, networks may contain traditional activations like ReLU or LeakyReLU, activations like GroupSort or the related MinMax and FullSort, which have been of increasing interest in the context of Lipschitz constrained networks, or even other piecewise linear functions like MaxPool.

Lipschitz神经网络精确计算分段线性

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。