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

ExLipBaB:用于分段线性神经网络的精确Lipschitz常数计算

ExLipBaB: Exact Lipschitz Constant Computation for Piecewise Linear Neural Networks

University of Bremen(不莱梅大学)

Tom A. Splittgerber

AI总结:

ExLipBaB提出了一种计算任意分段线性神经网络精确Lipschitz常数的方法,适用于包含多种激活函数的网络。

摘要:

已经证明,神经网络的Lipschitz常数可以用来推导鲁棒性保证,通过正则化提高泛化能力,甚至构建可逆网络。因此,为不同类别的网络开发了多种方法,这些方法在界限的紧致性和计算成本上有所不同,用于近似Lipschitz常数。然而,关于精确计算方法的研究相对较少,这已被证明是NP难的。尽管如此,某些应用可能会接受精确方法的计算成本。这些应用可能包括新方法的基准测试或对敏感数据的小模型计算鲁棒性保证。不幸的是,现有的精确算法仅限于ReLU激活的网络,而在Lipschitz约束网络的背景下,这带来了严重的缺点。因此,我们提出了一种LipBaB算法的扩展,用于计算任意分段线性神经网络和p-范数的精确Lipschitz常数。通过我们的方法,网络可以包含传统激活函数如ReLU或LeakyReLU,激活函数如GroupSort或相关的MinMax和FullSort,这些在Lipschitz约束网络的背景下日益受到关注,甚至其他分段线性函数如MaxPool。

英文摘要:

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.

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

↑