Robustness Against Adversarial Attacks Via Learning Confined Adversarial Polytopes

Shayan Mohajer Hamidi, Linfeng Ye

Introduction

Deep Neural Networks (DNNs) have demonstrated remarkable performance across various domains, yet they remain notoriously vulnerable to adversarial examples—small, human-imperceptible perturbations designed to trigger misclassification. This fragility poses a significant barrier to the deployment of AI in safety-critical applications, such as autonomous driving and medical diagnostics. While Adversarial Training (AT) has emerged as a primary defense, it often suffers from a "robustness-accuracy trade-off," where gains in security come at the expense of performance on clean, unperturbed data.

This paper introduces Confined Adversarial Polytopes (CAP), a novel training methodology designed to mitigate this trade-off by geometrically regularizing the model's output space. By shrinking the set of all possible outputs reachable from a perturbed input—the adversarial polytope—CAP achieves superior robustness and maintains higher clean accuracy compared to state-of-the-art methods.

The Geometry of Vulnerability

The authors identify the geometric properties of the adversarial polytope as a key factor in model vulnerability. For any given input, the adversarial polytope represents the "cloud" of potential outputs generated by all possible perturbations within a specific noise budget (e.g., an $\ell_\infty$ ball). If this polytope is large or irregularly shaped, it is more likely to intersect with the decision boundaries of incorrect classes, leading to successful adversarial attacks.

Traditional AT methods like TRADES typically focus on a single "worst-case" adversarial point. However, this approach may fail to account for the overall volume and spread of the reachable output space. CAP addresses this by explicitly aiming to make the adversarial polytope more compact and centered.

The CAP Methodology

The CAP framework employs a two-step strategy to confine the adversarial polytope during training:

1. Particle-Based Corner Detection

Because adversarial polytopes are often non-convex and high-dimensional, identifying their boundaries is computationally challenging. The authors propose a particle-based algorithm to approximate the polytope's geometry. The process begins by generating $N$ random "particles" (perturbed versions of the input). These particles are then optimized using projected gradient ascent to move toward the "corners" or extreme points of the output set. This multi-particle approach provides a more comprehensive view of the threat landscape surrounding a data point than single-point methods.

2. Polytope Squeezing via Regularization

Once the corner points are identified, the model is trained with a specialized regularization term. This loss function penalizes the distance between the identified corner points and the center of the polytope. By minimizing this distance, the training process effectively "squeezes" the output cloud, forcing the model to produce more consistent and stable predictions across the entire range of allowed perturbations. This confinement keeps the output space safely away from the decision boundaries of competing classes.

Experimental Evaluation

The researchers evaluated CAP against standard benchmarks, including CIFAR-10, CIFAR-100, and the Street View House Numbers (SVHN) dataset. They utilized common architectures such as ResNet-18 and Wide-ResNet-34-10 to ensure the results were broadly applicable.

Key Results

CAP consistently outperformed established methods like TRADES and MART across multiple metrics:

  • Enhanced Robustness: On the CIFAR-10 dataset, CAP achieved a robust accuracy of 50.24% against AutoAttack (AA), the current gold standard for evaluating adversarial defenses. This surpassed TRADES (49.37%) and MART (47.49%).
  • Improved Clean Accuracy: Notably, CAP mitigated the robustness-accuracy trade-off more effectively than its predecessors. It maintained a clean accuracy of 83.04% on CIFAR-10, compared to 82.41% for TRADES and 80.70% for MART.
  • Scalability: The benefits of CAP scaled with model size. Using Wide-ResNet-34-10, the method reached 53.24% robust accuracy against AutoAttack, the highest performance recorded in the study.

Discussion and Future Work

The success of CAP suggests that the geometric volume of the adversarial polytope is a powerful proxy for model robustness. By utilizing multiple particles, the algorithm gains a "3D view" of the local output space, allowing for more precise regularization. While the optimization of $N$ particles is independent and thus parallelizable, the method does involve higher memory and computational requirements than single-point AT.

Future research directions include optimizing the hyperparameter tuning process for the number of particles ($N$) and the regularization weight ($\lambda$). Additionally, while this study focused on image classification, the concept of confined polytopes could potentially be extended to other domains, such as Natural Language Processing or tabular data, where the structure of the input and output spaces differs significantly.

Summary updated

BibTeX
@inproceedings{hamidi2024robustness,
  author = {Shayan Mohajer Hamidi and Linfeng Ye},
  title = {{Robustness Against Adversarial Attacks Via Learning Confined Adversarial Polytopes}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2024},
  doi = {10.1109/icassp48485.2024.10446776},
}
Figure