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

用于将 LipSDP 扩展到斜率受限激活函数之外的新型二次约束

Novel Quadratic Constraints for Extending LipSDP beyond Slope-Restricted Activations

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);New York University(纽约大学);University of Stuttgart(斯图加特大学)

Patricia Pauli, Aaron Havens, Alexandre Araujo, Siddharth Garg, Farshad Khorrami, Frank Allgöwer, Bin Hu

AI总结:

针对 LipSDP 仅适用于斜率受限激活的限制,本文利用 GroupSort、MaxMin 和 Householder 的结构性质提出新型二次约束,统一估计多种网络的 Lipschitz 界并降低保守性。

摘要:

近来,半定规划(SDP)技术在为神经网络提供准确的 Lipschitz 界方面展现出巨大前景。具体而言,LipSDP 方法(Fazlyab 等人,2019)受到广泛关注,并给出了可在多项式时间保证下计算的最不保守的 Lipschitz 上界。然而,LipSDP 的一个主要限制是,其公式要求激活函数在 $[0,1]$ 上受到斜率限制,这使其无法进一步用于 GroupSort、MaxMin 和 Householder 等更一般的激活函数。例如,人们可以将 MaxMin 激活重写为残差 ReLU 网络。但是,将 LipSDP 直接应用于所得残差 ReLU 网络会比较保守,甚至无法恢复 MaxMin 激活是 1-Lipschitz 这一众所周知的事实。本文弥合了这一差距,并将 LipSDP 扩展到斜率受限激活函数之外。为此,我们利用 GroupSort、MaxMin 和 Householder 激活的潜在性质(如和保持性),为这些激活提供了新型二次约束。我们提出的分析具有通用性,为估计一大类神经网络架构(包括非残差和残差神经网络以及隐式模型)在使用 GroupSort、MaxMin 和 Householder 激活时的 $\ell_2$ 和 $\ell_\infty$ Lipschitz 界提供了统一方法。最后,我们通过多种实验说明了该方法的效用,并表明与现有方法相比,我们提出的 SDP 能生成保守性更低的 Lipschitz 界。

英文摘要:

Recently, semidefinite programming (SDP) techniques have shown great promise in providing accurate Lipschitz bounds for neural networks. Specifically, the LipSDP approach (Fazlyab et al., 2019) has received much attention and provides the least conservative Lipschitz upper bounds that can be computed with polynomial time guarantees. However, one main restriction of LipSDP is that its formulation requires the activation functions to be slope-restricted on $[0,1]$, preventing its further use for more general activation functions such as GroupSort, MaxMin, and Householder. One can rewrite MaxMin activations for example as residual ReLU networks. However, a direct application of LipSDP to the resultant residual ReLU networks is conservative and even fails in recovering the well-known fact that the MaxMin activation is 1-Lipschitz. Our paper bridges this gap and extends LipSDP beyond slope-restricted activation functions. To this end, we provide novel quadratic constraints for GroupSort, MaxMin, and Householder activations via leveraging their underlying properties such as sum preservation. Our proposed analysis is general and provides a unified approach for estimating $\ell_2$ and $\ell_\infty$ Lipschitz bounds for a rich class of neural network architectures, including non-residual and residual neural networks and implicit models, with GroupSort, MaxMin, and Householder activations. Finally, we illustrate the utility of our approach with a variety of experiments and show that our proposed SDPs generate less conservative Lipschitz bounds in comparison to existing approaches.

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

↑