Bridging Symmetry and Robustness: On the Role of Equivariance in Enhancing Adversarial Robustness

Longwei Wang, Ifrat Ikhtear Uddin, Kc Santosh, Chaowei Zhang, Xiao Qin, Yang Zhou

Abstract

Deep neural networks are notoriously vulnerable to adversarial perturbations—small, intentional changes to input data that trigger misclassification. While adversarial training (AT) is the current standard for defense, it is computationally expensive and often degrades performance on clean data. This paper explores an architectural alternative: embedding geometric symmetries directly into the model's structure. By utilizing Group-Equivariant Convolutions (G-CNNs) to enforce rotation and scale equivariance, the authors demonstrate that architectural priors can provide significant adversarial resilience without the overhead of traditional defense mechanisms.

Introduction

The fragility of deep learning models stems largely from their reliance on spurious, non-semantic features that do not align with the underlying geometry of the data. When a model is not constrained to respect physical symmetries, an attacker can exploit "off-orbit" directions in the high-dimensional feature space to manipulate the output.

This research investigates whether robustness can be built into a model's "DNA" through architectural design. Specifically, the authors focus on Group-Equivariant Convolutions (G-CNNs). Unlike standard CNNs, which are only equivariant to translations, G-CNNs ensure that the model's response remains consistent across transformations like rotations and scaling. The central hypothesis is that forcing the model to respect these symmetries will naturally smooth the decision boundaries that attackers typically exploit.

Methodology: Designing for Symmetry

The researchers evaluate two primary architectural designs to integrate symmetry-aware features:

  1. Parallel Design: The input is processed through three independent branches: a standard convolutional branch, a rotation-equivariant branch (utilizing the P4 group of 90° rotations), and a scale-equivariant branch. These features are subsequently fused via concatenation or weighted sums.
  2. Cascaded Design: Equivariant operations are applied sequentially (e.g., standard layers followed by rotation-equivariant layers, then scale-equivariant layers).

Theoretical Foundation

To explain the observed robustness, the authors employ the CLEVER framework (Cross Lipschitz Extreme Value for nEtwork Robustness). Their theoretical analysis suggests that equivariant architectures act as a natural regularizer by contracting the hypothesis space. By requiring the network to respond consistently across a group of transformations, the "spiky" gradients often used by attackers to find adversarial directions are effectively smoothed out. This gradient smoothing acts as a structural shield against gradient-based attacks.

Experimental Results

The models were rigorously tested on CIFAR-10, CIFAR-100, and CIFAR-10C (a dataset featuring 19 types of natural corruptions such as blur and fog). The evaluation focused on two common attack vectors: the Fast Gradient Sign Method (FGSM) and the Projected Gradient Descent (PGD).

Performance Against Adversarial Attacks

The results indicate that architectural equivariance provides a formidable defense:

  • High Resilience: A 10-layer fully equivariant model achieved 73.01% accuracy under FGSM and 64.96% under PGD attacks on CIFAR-10.
  • Comparison to Adversarial Training: In a head-to-head comparison, the G-CNN (trained only on clean data) remained highly competitive with standard CNNs that underwent intensive adversarial training. Notably, at higher perturbation levels ($\epsilon = 0.05$), the G-CNN outperformed the adversarially trained model in FGSM accuracy (60.23% vs. 57.3%).

Natural Robustness

On the CIFAR-10C benchmark, the Parallel G-CNN design consistently outperformed standard architectures across most corruption types. This suggests that geometric priors do not just defend against malicious attacks but also improve generalizability to real-world environmental noise.

Key Insights

  • Parallelism is Superior: The Parallel Design outperformed the Cascaded Design. The authors conclude that processing standard and equivariant features independently preserves complementary feature spaces, whereas sequential application can lead to feature redundancy.
  • Concatenation over Weighted Fusion: When merging branches, simple concatenation proved more robust than learnable weighted sums. This suggests that learned weights for fusion may themselves become a point of failure under adversarial pressure.
  • Defense Without Training: Perhaps the most significant finding is that these models achieve high adversarial accuracy without ever seeing an adversarial example during training. This positions symmetry as a principled, low-cost alternative to data-augmentation-based defenses.

Conclusion and Future Work

By shifting the burden of defense from the training process to the model architecture, this work demonstrates that geometric symmetry is a powerful tool for building trustworthy AI. While the current study focused on $\ell_p$-norm attacks on CIFAR-scale datasets, it opens the door for future research into larger architectures like Transformers and more diverse threat models. Integrating equivariance into the early stages of network design may eventually lead to models that are inherently stable, regardless of the noise or attacks they encounter.

Summary updated

BibTeX
@inproceedings{wang2025bridging,
  author = {Longwei Wang and Ifrat Ikhtear Uddin and KC Santosh and Chaowei Zhang and Xiao Qin and Yang Zhou},
  title = {{Bridging Symmetry and Robustness: On the Role of Equivariance in Enhancing Adversarial Robustness}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=xDxskDUvte},
}
Figure