Boosting Adversarial Transferability via Commonality-Oriented Gradient Optimization

Yanting Gao, Yepeng Liu, Junming Liu, Qi Zhang, Hongyun Zhang, Duoqian Miao, Cairong ZhaoarXiv 2025 · DOI

Introduction

Transfer-based adversarial attacks represent a significant "black-box" threat to machine learning models. In this scenario, an attacker generates adversarial examples using a known surrogate model to deceive an unknown target model. However, these attacks often suffer from adversarial overfitting, where perturbations become overly specialized to the surrogate's architecture, failing to transfer effectively. Existing methods like noise injection or gradient smoothing often fail to distinguish between universal features and model-specific quirks.

The COGO Framework

The Commonality-Oriented Gradient Optimization (COGO) framework addresses overfitting by focusing on "commonality"—features shared across different architectures—while suppressing "individuality."

Commonality Enhancement (CE)

COGO utilizes the Discrete Cosine Transform (DCT) to analyze images in the frequency domain. By identifying and amplifying mid-to-low frequency components, the attack targets the structural and semantic features that Vision Transformers (ViTs) consistently rely on for recognition. This focuses the perturbation on the "common language" shared by different models.

Individuality Suppression (IS)

To further refine the attack, COGO targets the $qkv$ (query, key, value) modules of the Transformer during gradient calculation:

  1. Redundant Feature Suppression: By calculating Mutual Information and Pearson Correlation between gradient channels, COGO identifies and dampens highly correlated channels likely unique to the surrogate.
  2. Distillation Token Suppression: COGO adaptively scales down gradients from distillation tokens, which often encode model-specific knowledge that hinders transferability.
Visual comparison of adversarial perturbations and feature activations under the COGO framework, illustrating the focus on common features.

Experimental Evaluation

The researchers benchmarked COGO using 1,000 images from the ILSVRC 2012 (ImageNet) validation set. The method was tested against diverse target architectures, including ViTs (TNT, ConViT) and CNNs (Inception-v3, ResNet-101), as well as models with adversarial defenses.

Key Results

COGO significantly outperforms existing state-of-the-art methods:

  • ViT-to-ViT Transfer: Achieved an average improvement of 7.2% in attack success rate (ASR) over GNS-HFA and a 10.1% boost over the ATT method.
  • Cross-Architecture Transfer: Improved ASR by 10.5% over the ATT method when attacking CNNs from a ViT surrogate, demonstrating the robustness of the commonality approach across structural differences.
  • Ablation Studies: Confirmed that while Commonality Enhancement is the primary driver of performance, Individuality Suppression provides critical refinement for peak transferability.

Conclusion and Future Directions

COGO demonstrates that focusing on shared model features rather than architecture-specific details is key to robust adversarial transfer. While highly effective, the method's sensitivity to hyperparameters suggests a need for more automated tuning. Future research should explore the applicability of these "commonality" principles when using CNNs as surrogate models and investigate new defensive strategies against frequency-aware perturbations.

Summary updated

BibTeX
@misc{gao2025boosting,
  author = {Yanting Gao and Yepeng Liu and Junming Liu and Qi Zhang and Hongyun Zhang and Duoqian Miao and Cairong Zhao},
  title = {{Boosting Adversarial Transferability via Commonality-Oriented Gradient Optimization}},
  year = {2025},
  eprint = {2506.06992},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.06992},
}
Figure