Improved techniques for deterministic l2 robustness

Sahil Singla, Soheil Feizi

Training neural networks that are "provably robust" has long been a primary objective in deep learning research. While heuristic methods like adversarial training can make models harder to fool, they do not offer mathematical guarantees. In contrast, 1-Lipschitz networks provide these guarantees by ensuring that small changes in input (measured by the $l_2$ norm) lead to bounded changes in output. Historically, however, these models have suffered from two major issues: they are computationally expensive to train and significantly less accurate than their non-robust counterparts.

In their NeurIPS 2022 paper, Sahil Singla and Soheil Feizi from the University of Maryland introduce three innovations to break these bottlenecks, setting new state-of-the-art benchmarks for deterministic $l_2$ robustness. By addressing both the efficiency of training and the expressivity of the network architecture, they significantly close the performance gap between provably robust models and standard ones.

The Efficiency Bottleneck: Faster Orthogonal Convolutions

To guarantee a network is 1-Lipschitz, researchers often utilize Gradient Norm Preserving (GNP) architectures. This requires every layer to be "orthogonal," preserving the norm of the gradient during backpropagation. A popular method for achieving this in convolutional layers is through Skew Orthogonal Convolutions (SOC), which utilize matrix exponentials of skew-symmetric matrices.

However, SOC layers are traditionally slow. They require multiple convolution operations to approximate the matrix exponential. During backpropagation, calculating the weight gradient typically requires an additional $k$ convolutions. The authors derived a principled approximation that allows the weight gradient to be computed using just a single convolution. This optimization reduces training time by over 30% for deep networks (such as LipConvnet-40) without sacrificing model performance, as the error terms in the approximation are divided by large factorials.

The Expressivity Bottleneck: Projection Pooling

Standard 1-Lipschitz networks often suffer from limited representational power. Common components like max-pooling, while 1-Lipschitz, are highly restrictive. The authors identify this as an "expressivity bottleneck" and propose Projection Pooling as a solution.

Instead of simple maximums or averages, projection pooling treats the pooling operation as calculating the $l_2$ distance from an input to a learnable manifold. Because the distance-to-a-manifold function is mathematically 1-Lipschitz, this creates a learnable, more expressive way to reduce spatial dimensions. In their experiments, the authors utilized a 2D piecewise linear curve as the manifold, unlocking significantly more representational power than traditional pooling methods.

Enhancing the Classifier: CRC-Lip

Most robust networks are capped with a simple linear layer to maintain certification. To further boost accuracy, the authors replace this final layer with a 1-hidden layer Multi-Layer Perceptron (MLP). While MLPs are more expressive, they are notoriously difficult to certify.

To bridge this gap, the authors introduced CRC-Lip, which utilizes the Curvature-based Robustness Certificate (CRC) combined with a specific adversarial training regime. This allows the network to benefit from the non-linear complexity of an MLP while maintaining rigorous provable guarantees for the entire end-to-end pipeline.

Experimental Results

The proposed techniques were evaluated on the CIFAR-10 and CIFAR-100 benchmarks, yielding significant improvements across all metrics:

  • CIFAR-10: The authors improved standard accuracy by +1.79% and provable robust accuracy by +3.82% over previous state-of-the-art 1-Lipschitz models. They achieved a standard accuracy of 79.57% and a provable robust accuracy of 67.13% (at a radius of 36/255).
  • CIFAR-100: The gains were even more pronounced on this more challenging dataset, with standard accuracy increasing by +3.78% and provable robust accuracy by +4.75%.
  • Efficiency: Beyond accuracy, the training time per epoch was reduced by over 30% for deeper architectures.

Limitations and Future Directions

While the paper represents a major step forward, some challenges remain. Certifying the MLP via CRC is computationally intensive for datasets with many classes; for CIFAR-100, the authors limited certification to the top-10 logits to maintain tractability. Additionally, the "projection pooling" manifolds used were relatively simple. The authors suggest that designing more complex, high-performance learnable manifolds is a promising avenue for future research. Finally, refining the backpropagation method through the adversarial training of the final MLP—currently using an identity map—could yield further performance gains.

By optimizing the fundamental building blocks of 1-Lipschitz networks, this work demonstrates that provable robustness does not have to come at the cost of extreme computational overhead or significant accuracy loss.

Summary updated

BibTeX
@inproceedings{singla2022improved,
  author = {Sahil Singla and Soheil Feizi},
  title = {{Improved techniques for deterministic l2 robustness}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=ftKnhsDquqr},
}
Figure