Abstract
Deep Neural Networks (DNNs) often suffer from brittleness, exhibiting sensitivity to adversarial perturbations, random noise, and hardware-level errors. This paper introduces a novel regularization technique rooted in Graph Signal Processing (GSP) that enforces smoothness in class indicator functions across network layers. By penalizing abrupt changes in the local topology of data representations, the proposed "Laplacian" approach significantly enhances model robustness without sacrificing clean accuracy.
Introduction
While Deep Neural Networks achieve state-of-the-art performance in various domains, their decision boundaries can become overly complex and "jagged," leading to poor generalization under stress. This lack of robustness manifests in three primary ways: vulnerability to adversarial attacks, degradation under isotropic noise, and failure due to implementation defects like quantization or memory errors.
Existing defense mechanisms often target specific threats, such as adversarial training. In contrast, this work proposes a general-purpose regularizer that ensures the "topology" of data evolves smoothly as it passes through the network. By bounding the smoothness of the class indicator function, the network is prevented from creating overfitted, non-robust decision boundaries.
Methodology: Graph-Based Regularization
The core of the proposed method involves treating the training data as signals on a graph. The process follows these steps:
- Graph Construction: At each layer, a similarity graph is constructed where nodes represent training examples in a batch. Edges are weighted based on the similarity of their mathematical representations at that layer.
- Label Signals: Class labels are treated as signals on this graph. For a specific class, the signal is 1 for members and 0 otherwise.
- Smoothness Measurement: The Graph Laplacian ($L$) is used to calculate a quadratic form ($s^T L s$), which quantifies how "smoothly" labels vary across neighboring nodes.
- Laplacian Regularizer: A penalty term is added to the loss function that measures the change in smoothness between layers. This prevents the network from "warping" the space in a way that creates complex, non-smooth boundaries.
- Laplacian Powers: Using higher powers of the Laplacian ($L^k$) allows for more precise control over the "bandwidth" of the class indicator function, further refining the smoothness constraint.
Unlike standard Lipschitz constraints that limit the global "stretch" of the mapping, this regularizer specifically targets the boundary regions between classes. It allows for significant movement within class clusters while ensuring the transition between different classes remains stable.
Experimental Results
The researchers evaluated the approach on the CIFAR-10 dataset using a PreActResNet-18 architecture. The "Laplacian Network" was compared against standard ("Vanilla") and "Parseval" networks (which use orthogonal weight constraints).
Robustness to Noise and Attacks
- Gaussian Noise: The proposed method maintained significantly higher accuracy at high noise levels (SNR of 15) compared to the baseline.
- Adversarial Robustness: In DeepFool tests, Laplacian models required a much larger $L_2$ perturbation to be misclassified, indicating a more robust decision boundary.
Hardware and Implementation Robustness
The regularizer showed exceptional performance in simulating real-world hardware constraints:
- Inference Dropout: When simulating memory failures (40% dropout during inference), the Laplacian model remained stable, while Parseval networks experienced significant performance drops.
- Quantization: The model maintained high accuracy even with 5-bit quantization, demonstrating resilience to low-precision arithmetic common in edge devices.
Conclusion and Future Work
Laplacian Power Networks provide a mathematically grounded framework for improving DNN robustness by focusing on the smoothness of class boundaries. The method is "deformation agnostic," improving resistance to various types of noise and attacks simultaneously.
Future research will focus on improving the scalability of the graph construction process ($O(b^2)$ complexity) for larger datasets like ImageNet. Additionally, exploring "class barycenters" as alternative signals could further refine the smoothness constraints and improve transferability across different network architectures.
Summary updated