[Paper Review] Improved deterministic l2 robustness on CIFAR-10 and CIFAR-100
This paper proposes Last Layer Normalization (LLN) to improve deterministic l² robustness in 1-Lipschitz CNNs for CIFAR-10 and CIFAR-100. By normalizing the last layer's weights to unit norm while allowing directional updates, it avoids catastrophic forgetting during training, enabling significant gains in both standard and provable robust accuracy—achieving +4.80% and +4.71% on CIFAR-100, respectively, with a novel Householder activation and certificate regularization.
Training convolutional neural networks (CNNs) with a strict Lipschitz constraint under the $l_{2}$ norm is useful for provable adversarial robustness, interpretable gradients and stable training. While $1$-Lipschitz CNNs can be designed by enforcing a $1$-Lipschitz constraint on each layer, training such networks requires each layer to have an orthogonal Jacobian matrix (for all inputs) to prevent the gradients from vanishing during backpropagation. A layer with this property is said to be Gradient Norm Preserving (GNP). In this work, we introduce a procedure to certify the robustness of $1$-Lipschitz CNNs by relaxing the orthogonalization of the last linear layer of the network that significantly advances the state of the art for both standard and provable robust accuracies on CIFAR-100 (gains of $4.80\%$ and $4.71\%$, respectively). We further boost their robustness by introducing (i) a novel Gradient Norm preserving activation function called the Householder activation function (that includes every $\mathrm{GroupSort}$ activation) and (ii) a certificate regularization. On CIFAR-10, we achieve significant improvements over prior works in provable robust accuracy ($5.81\%$) with only a minor drop in standard accuracy ($-0.29\%$). Code for reproducing all experiments in the paper is available at \url{https://github.com/singlasahil14/SOC}.
Motivation & Objective
- To address the challenge of catastrophic forgetting in 1-Lipschitz CNNs when training with orthogonal constraints on the final layer's weight matrix.
- To improve provable robust accuracy on CIFAR-100 by relaxing the strict orthogonality requirement on the last linear layer.
- To develop a new certification method that does not require the final weight matrix to be orthogonal, enabling more flexible and effective training.
- To introduce a novel Gradient Norm Preserving activation function (Householder activation) that generalizes GroupSort and improves training stability.
- To enhance robustness through certificate regularization and demonstrate consistent gains across multiple architectures and dataset splits.
Proposed method
- Proposes Last Layer Normalization (LLN), which normalizes all rows of the final weight matrix to unit norm while allowing their directions to change freely during training.
- Introduces a new robustness certificate: $ \min_{i \neq l} \frac{f_l(\mathbf{x}) - f_i(\mathbf{x})}{\|\mathbf{W}_{l,:} - \mathbf{W}_{i,:}\|_2} $, valid even when the final layer is not orthogonal.
- Designs the Householder activation function (HH), a GNP activation that generalizes GroupSort and enables gradient norm preservation across layers.
- Applies certificate regularization (CR) to further improve robustness by encouraging larger margins between logits for correct and incorrect classes.
- Uses a modified training procedure where the final layer’s norm is constrained to 1, but its direction is updated freely, avoiding the need to update all other rows.
- Employs a combination of LLN, HH activation, and CR to achieve state-of-the-art performance on CIFAR-10 and CIFAR-100 under provable l² robustness.
Experimental results
Research questions
- RQ1Can relaxing the orthogonality constraint on the final layer of a 1-Lipschitz CNN improve robustness without sacrificing certification validity?
- RQ2How does Last Layer Normalization (LLN) mitigate catastrophic forgetting in high-class-count settings like CIFAR-100?
- RQ3To what extent does the Householder activation function improve training stability and robustness compared to GroupSort?
- RQ4Can certificate regularization further enhance provable robust accuracy in 1-Lipschitz networks?
- RQ5What is the combined impact of LLN, HH activation, and CR on standard and provable robust accuracy across multiple architectures?
Key findings
- On CIFAR-100, the proposed method achieves a 4.80% improvement in standard accuracy and 4.71% in provable robust accuracy at ρ = 36/255 compared to prior state-of-the-art.
- For CIFAR-10, the method achieves a 5.81% provable robust accuracy at ρ = 36/255 with only a 0.29% drop in standard accuracy.
- The combination of LLN, Householder activation, and certificate regularization leads to consistent gains across all tested architectures on both CIFAR-10 and CIFAR-100.
- The ablation study shows that LLN alone improves standard accuracy by up to 4.80% and provable robust accuracy by up to 4.80% on CIFAR-100 when compared to the SOC baseline.
- Certificate regularization provides incremental but measurable improvements, with gains of up to 2.85% in provable robust accuracy on deeper networks (LipConvnet-40).
- The method maintains high performance across different network depths and architectures, demonstrating robustness and generalization across diverse settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.