Efficient Defenses Against Adversarial Attacks

Valentina Zantedeschi, Maria-Irina Nicolae, Ambrish Rawat · DOI

Abstract

Deep Neural Networks (DNNs) are notoriously susceptible to adversarial attacks—small, calculated perturbations that lead to misclassification. Researchers from IBM Research Ireland propose a two-pronged defense: replacing standard ReLU activations with Bounded ReLU (BRELU) and employing Gaussian Data Augmentation (GDA). This combination improves the model's Lipschitz continuity and "smooths" the decision landscape. The resulting defense is attack-agnostic, computationally efficient, and preserves high accuracy on clean data.

Introduction

The fragility of state-of-the-art DNNs poses a significant security risk. An attacker can manipulate a "stop sign" image with human-imperceptible noise to trick a model into seeing a "speed limit sign." Existing defenses often fall into a cat-and-mouse trap, where models are hardened against specific known attacks but remain vulnerable to new ones. Furthermore, many defenses are computationally expensive or degrade performance on un-attacked "clean" images. This work seeks a stable, efficient, and generalizable defense mechanism.

Methodology: BRELU and GDA

The proposed defense modifies the standard training pipeline through two key structural changes:

  1. Bounded ReLU (BRELU): Standard ReLU activations ($max(0, x)$) are unbounded, allowing small input perturbations to accumulate and "explode" through successive layers. BRELU ($min(t, max(0, x))$) caps activations at a threshold $t$, mathematically limiting the impact of small input changes on the final output.
  2. Gaussian Data Augmentation (GDA): Instead of training on specific adversarial examples, the authors add random Gaussian noise to training data. This encourages the model to be stable in all directions around a data point, rather than just the specific directions targeted by a particular attack.
Decision boundaries for toy datasets under various training schemes. Gaussian augmentation (GDA) produces smoother boundaries compared to standard training or adversarial methods.

Key Insights

The core philosophy of this approach is smoothing rather than hardening. While most defenses try to "harden" decision boundaries against specific attack shapes, GDA and BRELU smooth the entire loss landscape. A smoother landscape makes it significantly harder for gradient-based attacks, such as the Fast Gradient Sign Method (FGSM), to find a path to an incorrect prediction.

BRELU acts as a "circuit breaker" for error accumulation. By preventing activations from growing too large, it improves the model's Lipschitz continuity, ensuring that small changes in input result in bounded changes in output.

Experimental Results

The researchers evaluated the defense on MNIST and CIFAR10 datasets using various architectures, including CNNs and ResNets.

  • Robustness: On MNIST, the GDA + BRELU approach achieved 98.47% accuracy against black-box FGSM attacks, outperforming standard adversarial training.
  • Efficiency: Unlike adversarial training, which requires generating perturbations at every step, GDA uses simple random noise, adding almost zero overhead to training time.
  • Visual Detectability: A key finding is that when these defenses are active, an attack must be so aggressive to succeed that it becomes visually obvious to a human.
Adversarial examples generated by FGSM and DeepFool. Defended models (purple) require significantly more perturbation to flip predictions, often making the attack visually obvious or causing the image to become unrecognizable.

As shown in the figure above, "successful" attacks on defended models often result in unrecognizable nonsense or blank images, effectively neutralizing the "imperceptible" nature of adversarial threats.

Conclusion and Future Work

The combination of BRELU and GDA offers a simple yet effective recipe for building robust DNNs. While highly effective on MNIST, challenges remain for more complex datasets like CIFAR10, where high-intensity attacks still impact accuracy. Future research will focus on hyperparameter tuning for BRELU thresholds and scaling these techniques to high-resolution datasets like ImageNet.

Summary updated

BibTeX
@inproceedings{zantedeschi2017efficient,
  author = {Valentina Zantedeschi and Maria-Irina Nicolae and Ambrish Rawat},
  title = {{Efficient Defenses Against Adversarial Attacks}},
  booktitle = {AISec@CCS},
  year = {2017},
  doi = {10.1145/3128572.3140449},
}
Figure