Abstract
In this paper, we introduce a novel technique based on the Secure Selective Convolutional (SSC) techniques in the training loop that increases the robustness of a given DNN by allowing it to learn the data distribution based on the important edges in the input image. We validate our technique on Convolutional DNNs against the state-of-the-art attacks from the open-source Cleverhans library using the MNIST, the CIFAR-10, and the CIFAR-100 datasets. Our experimental results show that the attack success rate, as well as the imperceptibility of the adversarial images, can be significantly reduced by adding effective pre-processing functions, i.e., Sobel filtering.
Introduction
Deep Neural Networks (DNNs) have demonstrated remarkable performance across various domains but remain notoriously brittle to adversarial attacks. In a "white-box" scenario, an attacker with knowledge of the model's weights can craft adversarial examples—images with tiny, pixel-level changes that are invisible to humans but cause the AI to confidently misclassify objects. Existing defenses often face a trade-off between computational expense (e.g., adversarial retraining) and vulnerability to informed attackers. SSCNets addresses this by introducing a lightweight, versatile preprocessing defense that maintains high accuracy on clean images while significantly hardening the model against malicious noise.
Methods: The Secure Selective Convolutional (SSC) Layer
The core innovation of this work is the Secure Selective Convolutional (SSC) Layer, which serves as a gatekeeper for the DNN. This layer forces the network to focus on robust structural features—edges—while filtering out uniform background noise. The process involves three primary stages:
- Edge Extraction: The input image is processed through a high-pass filter to identify structural edges.
- Selective Thresholding: A sigmoid activation function with a specific threshold ($t_k$) is applied. This step zeroes out weak edges (likely noise) and saturates strong edges, creating a binary-like feature mask.
- Masking: The resulting mask is multiplied back onto the original image, suppressing uniform background areas and highlighting prominent geometric features.
By training the DNN from scratch on these processed images, the model learns to rely on stable geometric distributions rather than easily manipulated pixel intensities.
Experimental Setup and Results
The proposed technique was validated using standard benchmarks: MNIST, CIFAR-10, and CIFAR-100. The experimental pipeline compared standard CNNs with those utilizing High-Pass Filtering (HPF) and Selective Filtering (SF).
Key Findings
- Enhanced Robustness: In black-box scenarios, SSCNets showed a massive decrease in attack success rates for both FGSM and JSMA attacks. For the VGG-16 architecture on CIFAR-10, the SSC layer nearly doubled accuracy against white-box attacks (from 16% to 30%) and significantly boosted it against black-box attacks (from 28% to 44%).
- Increased Attack Effort and Perceptibility: One of the most significant results is the impact on the "perceptibility" of successful attacks. For the Boundary Attack, the $L_2$-norm of successful adversarial images was 443% higher for SSCNets compared to undefended models. This forces attackers to create much more distorted, human-visible perturbations, making the attacks easier to detect via visual inspection.
- The Threshold Trade-off: The authors identified an optimal threshold ($t_k = 0.11$) that balances noise suppression with the preservation of essential image information.
Conclusion and Future Work
SSCNets provide a robust defense mechanism by stripping away the "attack surface" provided by high-dimensional background noise. While there is a minor "robustness tax" on clean-image accuracy (e.g., a drop from 93.7% to 89.9% on CIFAR-10), the gains in security are substantial. Future work will explore more sophisticated filters and adaptive thresholding techniques to further enhance resilience against iterative white-box attacks.
Summary updated