BUZz: BUffer Zones for defending adversarial examples in image classification

Phuong Ha Nguyen, Kaleel Mahmood, Lam M. Nguyen, Thanh Nguyen, Marten van DijkarXiv 2019

Introduction

Deep neural networks (DNNs) have revolutionized image classification but remain vulnerable to adversarial examples—carefully crafted inputs that deceive models while appearing unchanged to humans. Black-box attacks are particularly concerning as they do not require internal knowledge of the target model's weights. Current defenses often struggle with the "transferability trap," where adversarial examples generated on surrogate models successfully fool the target. Furthermore, evaluating these defenses is difficult due to the inherent trade-off between clean accuracy and security.

The BUZz Defense Mechanism

The core innovation of the BUZz (BUffer Zones) defense is the introduction of a "no-man's land" between classification regions. In a standard classifier, decision boundaries are infinitesimal; a minor perturbation can shift an input from one class to another. BUZz creates a gray area where ambiguous or manipulated inputs are assigned a "null label" ($\perp$), effectively flagging them as adversarial rather than allowing a misclassification.

Visualizing the transition from standard decision boundaries to the BUZz buffer zone defense across different ensemble sizes.

The authors implement these zones through a multi-network ensemble. Each of the $m$ networks is trained on images subjected to secret, randomized linear transformations ($Ax+b$) and resizing. For an input to be accepted, the system requires unanimous voting: all $m$ networks must agree on the label. If they disagree, the input falls into the buffer zone. This approach breaks transferability because an adversary cannot easily replicate the secret transformations used across the ensemble.

A New Standard for Evaluation: The $\delta$ Metric

To fairly compare defenses that sacrifice clean accuracy for robustness, the authors introduce the $\delta$ (Delta) metric: $$\delta = \gamma + (p - \gamma)\alpha$$ Here, $p$ represents the original accuracy, $\gamma$ is the drop in clean accuracy, and $\alpha$ is the attack success rate. $\delta$ quantifies the total accuracy loss in a malicious environment. A lower $\delta$ indicates a more effective balance between utility and security.

Experimental Results

The defense was evaluated on Fashion-MNIST and CIFAR-10 using ResNet56 and VGG16 architectures. BUZz demonstrates superior robustness against strong black-box attacks like the Momentum Iterative Method (MIM).

Trade-off between clean accuracy and robustness for BUZz and competing defense strategies.

On CIFAR-10, the BUZz-8 configuration (using 8 networks) reduced the attack success rate to under 11%. While this comes at a clean accuracy cost of 11–18%, the resulting $\delta$ values (approximately 0.25–0.27) are significantly better than those of existing methods like Adversarial Training ($\delta = 0.54$) or Randomized 1-Net ($\delta = 0.72$). This highlights that BUZz provides greater real-world utility in adversarial settings.

Conclusion and Future Work

BUZz offers a tunable defense strategy, allowing users to choose between higher accuracy (e.g., BUZz-2) or maximum security (e.g., BUZz-8). While the computational overhead and accuracy penalty are notable, the significant gain in black-box robustness marks a meaningful step forward. Future research will focus on reducing the clean accuracy penalty and exploring the long-term security of the secret transformation parameters.

Summary updated

Abstract

We propose a novel defense against all existing gradient based adversarial attacks on deep neural networks for image classification problems. Our defense is based on a combination of deep neural networks and simple image transformations. While straightforward in implementation, this defense yields a unique security property which we term buffer zones. We argue that our defense based on buffer zones offers significant improvements over state-of-the-art defenses. We are able to achieve this improvement even when the adversary has access to the {\em entire} original training data set and unlimited query access to the defense. We verify our claim through experimentation using Fashion-MNIST and CIFAR-10: We demonstrate $<11\%$ attack success rate -- significantly lower than what other well-known state-of-the-art defenses offer -- at only a price of a $11-18\%$ drop in clean accuracy. By using a new intuitive metric, we explain why this trade-off offers a significant improvement over prior work.
BibTeX
@misc{nguyen2019buzz,
  author = {Phuong Ha Nguyen and Kaleel Mahmood and Lam M. Nguyen and Thanh Nguyen and Marten van Dijk},
  title = {{BUZz: BUffer Zones for defending adversarial examples in image classification}},
  year = {2019},
  eprint = {1910.02785},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.02785},
}
Figure