Hyper adversarial tuning for boosting adversarial robustness of pretrained large vision transformers

  • Kangtao Lv
  • , Wenyan Fan
  • , Huangsen Cao
  • , Kainan Tu
  • , Yihuai Xu
  • , Zhimeng Zhang
  • , Yang Li
  • , Xin Ding
  • , Yongwei Wang

Research output: Contribution to journalArticlepeer-review

1 Scopus citations

Abstract

Large vision Transformers (ViTs) have achieved competitive performance in various computer vision tasks based on large-scale pre-training. However, large ViTs still remain vulnerable to adversarial examples, emphasizing the necessity of enhancing their adversarial robustness. While adversarial training is an effective defense for deep convolutional models, it often faces scalability issues with large ViTs due to high computational costs. Recent approaches propose robust fine-tuning methods, such as adversarial tuning of low-rank adaptation (LoRA) in ViT, however, they still struggle to match the accuracy of full parameter adversarial fine-tuning. An effective synergy of various defense mechanisms offers a promising approach to enhancing the robustness of ViT, yet this paradigm remains largely underexplored. To address this, we propose hyper adversarial tuning (HyperAT), a meta learning approach, which captures shared defensive knowledge among different methods to improve model robustness efficiently and effectively simultaneously. Specifically, adversarial tuning of each defense method is formulated as a learning task, and a HyperNetwork generates LoRA specific to this defense. Then, a random sampling and tuning strategy is proposed to extract and facilitate the defensive knowledge transfer between different defenses. Finally, diverse LoRAs are merged adaptively to further enhance the adversarial robustness. Experiments on various datasets and model architectures demonstrate that HyperAT significantly enhances the adversarial robustness of pretrained large vision models without excessive computational overhead, establishing a new state-of-the-art benchmark.

Original languageEnglish
Article number112158
JournalPattern Recognition
Volume171
DOIs
StatePublished - Mar 2026

Keywords

  • Adversarial robustness
  • Adversarial tuning
  • Hypernetwork
  • Model merging
  • Robust LoRa

Fingerprint

Dive into the research topics of 'Hyper adversarial tuning for boosting adversarial robustness of pretrained large vision transformers'. Together they form a unique fingerprint.

Cite this