TL;DR
This paper introduces three novel techniques—Last Layer Normalization (LLN), Householder activation functions, and Certificate Regularization (CR)—to significantly boost the provable $l_2$ adversarial robustness of 1-Lipschitz convolutional neural networks. By relaxing strict orthogonality constraints in the final layer and introducing more expressive gradient-preserving activations, the authors achieve new state-of-the-art results on CIFAR-10 and CIFAR-100.
The Challenge of 1-Lipschitz Networks
Deep learning models are notoriously vulnerable to adversarial attacks—small, imperceptible perturbations that can completely flip a model's prediction. One rigorous way to defend against this is by training 1-Lipschitz networks. The "Lipschitz constant" ensures the model's output doesn't change more than the input does (measured under the $l_2$ norm), providing a mathematical guarantee of robustness.
However, training these networks is notoriously difficult. To prevent gradients from vanishing during backpropagation, each layer must be Gradient Norm Preserving (GNP), which typically requires weight matrices to be strictly orthogonal. This creates several major bottlenecks:
- The Orthogonality Trap: In the last linear layer, requiring every row to be orthogonal to every other row makes training difficult, especially as the number of classes increases. Updating one class's weights forces updates on all others, leading to a phenomenon where the network "forgets" previously learned information.
- Activation Limits: Existing GNP activation functions, like GroupSort or MaxMin, are limited in their expressive power compared to standard activations like ReLU.
- Margin Neglect: Standard cross-entropy loss doesn't explicitly maximize the "robustness margin" (the distance from data points to the decision boundary).
Proposed Methods
The authors propose a three-pronged strategy to overcome these hurdles and improve both accuracy and robustness:
- Last Layer Normalization (LLN): Instead of forcing the last layer's weight matrix to be strictly orthogonal, the authors allow the rows to change direction freely while keeping them at unit norm. They then derive a new robustness certificate that accounts for this non-orthogonal final layer. This crucial relaxation prevents the "forgetting" issue during training.
- Householder Activation Functions: They introduce a new class of GNP activations based on Householder transformations (reflections about a hyperplane). They prove that Householder transformations are actually necessary for any continuous GNP piecewise linear function. This generalizes existing activations like MaxMin and provides more learnable parameters for greater expressivity.
- Certificate Regularization (CR): They add a regularization term to the loss function that specifically penalizes small robustness margins for correctly classified samples. This actively "pushes" the decision boundary further away from the data points, increasing provable robustness.
Datasets and Evaluation
The researchers evaluated their methods on two standard computer vision benchmarks:
- CIFAR-10: 10 classes of images (e.g., plane, car, bird).
- CIFAR-100: 100 classes of images, providing a much more challenging environment for orthogonality constraints due to the higher number of classes.
They used the LipConvnet architecture family (ranging from 5 to 40 layers) for all experiments to demonstrate scalability.
Key Insights
- Relaxing the Last Layer is Crucial for Scaling: The "forgetting" problem caused by orthogonality is much worse on CIFAR-100 (99 constraints per row) than CIFAR-10 (9 constraints). LLN provides massive gains specifically when the number of classes is large.
- Householder is the "Natural" GNP Activation: By proving that Householder reflections are the fundamental building blocks of GNP piecewise linear functions, the authors provide a strong theoretical foundation for why these activations work and how to design better ones in the future.
- Standard Accuracy vs. Robustness: Historically, increasing provable robustness meant sacrificing standard accuracy. This paper shows that by improving the training dynamics (via LLN and HH), it is possible to improve both simultaneously in many cases.
Key Results
The proposed modifications significantly advanced the state-of-the-art for 1-Lipschitz networks:
- CIFAR-100: On the LipConvnet-15 architecture, the combined methods achieved a 4.80% gain in standard accuracy and a 4.71% gain in provable robust accuracy (at an $l_2$ radius of $\rho = 36/255$).
- CIFAR-10: The methods achieved a significant improvement in provable robust accuracy at large radii. For $\rho = 108/255$, they saw gains of over 5.81% with only a negligible drop in standard accuracy (-0.29%).
- Efficiency: Despite the added mathematical complexity of Householder activations, inference times remained nearly identical to standard MaxMin-based networks.
Limitations and Future Work
- LLN Class Dependency: The benefits of Last Layer Normalization are much more pronounced on datasets with many classes (like CIFAR-100) than those with few (like CIFAR-10).
- High-Dimensional Householder: While the paper successfully introduces a 2D Householder activation, the authors note that constructing efficient, non-trivial "order-$n$" Householder activations for $m$-dimensional inputs ($m > 2$) remains an open problem.
- Scaling to ImageNet: While the methods show great promise for scaling, the experiments were limited to CIFAR-scale datasets. Testing these techniques on larger, ImageNet-scale problems is a logical next step for future research.
Summary updated