Abstract
The highly non-linear nature of deep neural networks causes them to be susceptible to adversarial examples and have unstable gradients which hinders interpretability. However, existing methods to solve these issues, such as adversarial training, are expensive and often sacrifice predictive accuracy. In this work, we consider curvature, which is a mathematical quantity which encodes the degree of non-linearity. Using this, we demonstrate low-curvature neural networks (LCNNs) that obtain drastically lower curvature than standard models while exhibiting similar predictive performance, which leads to improved robustness and stable gradients, with only a marginally increased training time. To achieve this, we minimize a data-independent upper bound on the curvature of a neural network, which decomposes overall curvature in terms of curvatures and slopes of its constituent layers. To efficiently minimize this bound, we introduce two novel architectural components: first, a non-linearity called centered-softplus that is a stable variant of the softplus non-linearity, and second, a Lipschitz-constrained batch normalization layer. Our experiments show that LCNNs have lower curvature, more stable gradients and increased off-the-shelf adversarial robustness when compared to their standard high-curvature counterparts, all without affecting predictive performance.
Introduction: The Cost of Excess Flexibility
Deep neural networks are famously flexible, but this flexibility often comes at a cost. "Excess non-linearity" frequently manifests as jagged decision boundaries, unstable gradients, and a high sensitivity to adversarial attacks. While tools like adversarial training exist to mitigate these issues, they are often computationally expensive and typically require a trade-off in predictive accuracy.
Srinivas et al. (NeurIPS 2022) propose Low-Curvature Neural Networks (LCNNs) as a solution. By enforcing a "simpler" input-output map through curvature minimization, they achieve robustness and stability without the typical performance penalties.
Methodology: Efficient Curvature Minimization
The core challenge in training low-curvature models is the computational cost of calculating the Hessian (the matrix of second derivatives). To circumvent this, the authors focus on making curvature minimization efficient through three key innovations:
- Normalized Curvature: Standard curvature measures are sensitive to gradient scaling. The authors propose a scale-invariant metric that divides the Hessian spectral norm by the gradient norm, providing a more stable measure of a model's geometric "shape."
- Data-Free Upper Bound: Instead of computing Hessians for every data point, the authors derived a mathematical bound showing that total network curvature is bounded by the sum of curvatures and slopes (Lipschitz constants) of individual layers. This allows for regularization of the architecture itself.
- Architectural Components: They introduced Centered-Softplus, a stable variant of the softplus activation that can smoothly transition from linear to ReLU-like behavior, and $\gamma$-Lipschitz Batch Normalization, which treats the Lipschitz constant as a learnable, penalizable parameter.
Key Results and Performance
The researchers evaluated LCNNs using ResNet-18 and VGG-11 architectures on standard benchmarks like CIFAR-10, CIFAR-100, and SVHN. The empirical results demonstrate that LCNNs achieve the desired stability without sacrificing accuracy.
- Robustness and Efficiency: LCNNs combined with gradient regularization (LCNN + GradReg) achieved adversarial robustness comparable to dedicated adversarial training but trained approximately 1.4x faster than other curvature-penalizing methods like CURE.
- Accuracy Preservation: Unlike many robust models that suffer a significant drop in clean accuracy, LCNNs maintained performance levels nearly identical to standard models (e.g., ~77.3% on CIFAR-100).
- Stable Explanations: Gradient stability—the consistency of a model's "explanation" across nearby points—was improved by an order of magnitude, leading to more reliable saliency maps.
Conclusion and Future Directions
LCNNs offer a practical path toward more interpretable and robust deep learning by applying Occam’s Razor to model curvature. By penalizing unnecessary non-linearity, these models learn simpler, more stable decision boundaries.
Future work remains to extend these curvature properties to other architectures, such as Transformers (Self-Attention) and Recurrent layers. Additionally, exploring how low-curvature models behave in low-data regimes or under high label noise presents promising avenues for further research.
Summary updated