从布尔函数的角度重新思考Lipschitz神经网络和认证鲁棒性
Rethinking Lipschitz Neural Networks and Certified Robustness: A Boolean Function Perspective
摘要:
设计具有有界Lipschitz常数的神经网络是一种很有前途的方法,以获得可证明的鲁棒分类器对抗性的例子。然而,重要的$\ell_\infty$扰动设置的相关进展是相当有限的,如何设计表达$\ell_\infty$ Lipschitz网络的原则性理解仍然缺乏。在本文中,我们弥补了这一差距,研究证明$\ell_\infty$的鲁棒性从一个新的角度表示布尔函数。我们推导出两个基本的不可能性结果,适用于任何标准的Lipschitz网络:一个是有限数据集上的鲁棒分类,另一个是Lipschitz函数近似。这些结果表明,即使在二维情况下,建立在范数有界仿射层和Lipschitz激活上的网络本质上也失去了表达能力,并揭示了最近提出的Lipschitz网络(例如,GroupSort和$\ell_\infty$ -距离网)通过利用顺序统计函数绕过了这些不可能性。最后,基于这些见解,我们开发了一个统一的Lipschitz网络,它概括了以前的工作,并设计了一个可以有效训练的实用版本(使认证的鲁棒训练免费)。大量实验表明,我们的方法具有可扩展性、高效性,并且在多个数据集和扰动半径上比之前的Lipschitz网络始终产生更好的经认证的鲁棒性。我们的代码可在https://github.com/zbh2047/SortNet上获得。
英文摘要:
Designing neural networks with bounded Lipschitz constant is a promising way to obtain certifiably robust classifiers against adversarial examples. However, the relevant progress for the important $\ell_\infty$ perturbation setting is rather limited, and a principled understanding of how to design expressive $\ell_\infty$ Lipschitz networks is still lacking. In this paper, we bridge the gap by studying certified $\ell_\infty$ robustness from a novel perspective of representing Boolean functions. We derive two fundamental impossibility results that hold for any standard Lipschitz network: one for robust classification on finite datasets, and the other for Lipschitz function approximation. These results identify that networks built upon norm-bounded affine layers and Lipschitz activations intrinsically lose expressive power even in the two-dimensional case, and shed light on how recently proposed Lipschitz networks (e.g., GroupSort and $\ell_\infty$-distance nets) bypass these impossibilities by leveraging order statistic functions. Finally, based on these insights, we develop a unified Lipschitz network that generalizes prior works, and design a practical version that can be efficiently trained (making certified robust training free). Extensive experiments show that our approach is scalable, efficient, and consistently yields better certified robustness across multiple datasets and perturbation radii than prior Lipschitz networks. Our code is available at https://github.com/zbh2047/SortNet.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。