mlsanityData to 7 Oct 2026

SAFER: Sharpness Aware layer-selective Finetuning for Enhanced Robustness in vision transformers

arXiv 2501.01529 ↗First posted 2 Jan 2025cs.CVcited by 2

Not on the map. Why?

Abstract (arXiv)

Vision transformers (ViTs) have become essential backbones in advanced computer vision applications and multi-modal foundation models. Despite their strengths, ViTs remain vulnerable to adversarial perturbations, comparable to or even exceeding the vulnerability of convolutional neural networks (CNNs). Furthermore, the large parameter count and complex architecture of ViTs make them particularly prone to adversarial overfitting, often compromising both clean and adversarial accuracy. This paper mitigates adversarial overfitting in ViTs through a novel, layer-selective fine-tuning approach: SAFER. Instead of optimizing the entire model, we identify and selectively fine-tune a small subset of layers most susceptible to overfitting, applying sharpness-aware minimization to these layers while freezing the rest of the model. Our method consistently enhances both clean and adversarial accuracy over baseline approaches. Typical improvements are around 5%, with some cases achieving gains as high as 20% across various ViT architectures and datasets.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 24 of its 31 references that are in the map. First posted on arXiv 2 Jan 2025.

Builds on

24 of 31 references.

References · 24

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  4. 2020End-to-End Object Detection with Transformerscited by 7,384
  5. 2022Scalable Diffusion Models with Transformerscited by 5,931
  6. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  7. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
  8. 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,510
  9. 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,442
  10. 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,404
  11. 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,259
  12. 2022BEVFormer: Learning Bird's-Eye-View Representation from Multi-Camera Images via Spatiotemporal Transformerscited by 1,213
12 more
  1. 2024DoRA: Weight-Decomposed Low-Rank Adaptationcited by 740
  2. 2024Parameter-Efficient Fine-Tuning for Large Models: A Comprehensive Surveycited by 641
  3. 2019Adversarial Training for Free!cited by 638
  4. 2020Overfitting in adversarially robust deep learningcited by 504
  5. 2021ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biasescited by 484
  6. 2019Unlabeled Data Improves Adversarial Robustnesscited by 415
  7. 2021Are Transformers More Robust Than CNNs?cited by 187
  8. 2020DVERGE: Diversifying Vulnerabilities for Enhanced Robust Generation of Ensemblescited by 73
  9. 2022When Adversarial Training Meets Vision Transformers: Recipes from Training to Architecturecited by 64
  10. 2024AutoLoRA: Automatically Tuning Matrix Ranks in Low-Rank Adaptation Based on Meta Learningcited by 30
  11. 2022Deeper Insights into the Robustness of ViTs towards Common Corruptionscited by 5
  12. 2024Criticality Leveraged Adversarial Training (CLAT) for Boosted Performance via Parameter Efficiencycited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 1.

2 papers.