Skip to main content
QUICK REVIEW

[Paper Review] Rethinking Lipschitz Neural Networks and Certified Robustness: A Boolean Function Perspective

Bohang Zhang, Jiang Du|arXiv (Cornell University)|Oct 4, 2022
Adversarial Robustness in Machine LearningComputer Science12 citations
TL;DR

This paper introduces SortNet, a unified Lipschitz neural network architecture that leverages order statistics to achieve state-of-the-art certified $ε$-robustness under $Â𝕃_{∞}$ perturbations. By analyzing Boolean function representation, it proves fundamental limitations of standard Lipschitz networks and demonstrates that SortNet achieves higher certified accuracy than prior methods across MNIST, CIFAR-10, Tiny ImageNet, and ImageNet, even with reduced training epochs.

ABSTRACT

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.

Motivation & Objective

  • To identify intrinsic limitations of standard Lipschitz networks in achieving certified $Â𝕃_{∞}$ robustness for Boolean functions and order statistics.
  • To explain why recent architectures like $Â𝕃_{∞}$-distance nets outperform traditional Lipschitz networks such as GroupSort and MaxMin.
  • To develop a unified, expressive, and efficiently trainable Lipschitz network architecture that generalizes prior works.
  • To establish theoretical impossibility results for standard Lipschitz networks in approximating order statistics and symmetric Boolean functions.

Proposed method

  • Analyzing certified $Â𝕃_{∞}$ robustness through the lens of symmetric Boolean functions (SBF) and order statistics.
  • Proving that any standard Lipschitz network with norm-bounded affine layers and Lipschitz activations cannot achieve non-vanishing robust radius for SBFs on finite datasets, with robust radius decaying as $\mathcal{O}(1/d)$.
  • Establishing a lower bound on approximation error for order statistics: no standard Lipschitz network can approximate $d$-dimensional order statistics within $\mathcal{O}(1 - 1/d)$ error, regardless of depth or width.
  • Introducing SortNet, a two-layer architecture that generalizes GroupSort and $Â𝕃_{∞}$-distance nets by incorporating full sorting operations for exact representation of order statistics and Boolean functions.
  • Designing a practical variant of SortNet using differentiable sorting and gradient-based training, enabling efficient certified robust training without additional optimization tricks.
  • Validating the method via extensive experiments on MNIST, CIFAR-10, Tiny ImageNet, and ImageNet, comparing certified and clean accuracy across multiple perturbation radii.

Experimental results

Research questions

  • RQ1Why do standard Lipschitz networks fail to achieve strong certified $Â𝕃_{∞}$ robustness despite bounded Lipschitz constants?
  • RQ2What fundamental limitations exist in representing symmetric Boolean functions and order statistics using standard Lipschitz architectures?
  • RQ3How do advanced architectures like $Â𝕃_{∞}$-distance nets and GroupSort bypass these limitations?
  • RQ4Can a unified Lipschitz network architecture be designed that generalizes prior works and enables efficient, scalable training with certified robustness?
  • RQ5What is the minimal depth required for MaxMin networks to represent order statistics and Boolean functions?

Key findings

  • Any standard Lipschitz network fails to achieve non-vanishing certified $Â𝕃_{∞}$ robustness for symmetric Boolean functions on finite datasets, with robust radius decaying as $\mathcal{O}(1/d)$.
  • No standard Lipschitz network can approximate $d$-dimensional order statistics within $\mathcal{O}(1 - 1/d)$ error, regardless of network size, resolving an open problem in approximation theory.
  • The $Â𝕃_{∞}$-distance net achieves state-of-the-art certified accuracy on MNIST ($\mathbf{98.14\%}$ median certified at $\epsilon=0.1$) and CIFAR-10 ($\mathbf{56.67\%}$ at $\epsilon=2/255$), outperforming prior methods.
  • SortNet achieves $\mathbf{56.05\%}$ certified accuracy on CIFAR-10 at $\epsilon=2/255$ with only 1800 epochs, exceeding the prior state-of-the-art of $54.12\%$ from [74] despite not using specialized training tricks.
  • On ImageNet $64\times64$, SortNet+MLP achieves $\mathbf{9.54\%}$ certified accuracy at $\epsilon=1/255$, demonstrating scalability to large-scale datasets.
  • The practical SortNet variant enables certified robust training without additional techniques, achieving consistent performance gains across all datasets and perturbation radii.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.