paper-with-me

홈 › Papers

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

2025-01-02 · Bhavna Gopal, Huanrui Yang, Mark Horton, Yiran Chen

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.

📄 PDF Abstract BibTeX arXiv:2501.01529

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Sharpness-Aware Minimization Sharpness-Aware Minimization, or SAM, is a procedure that improves model generalization by simultaneously minimizing loss value and loss sharpness. SAM functions by…

Similar Papers 제목 키워드 기반

Flatness Preserves Instruction Following in Vision-Language-Action Models

2026-06-22 · Haochen Zhang, Yonatan Bisk arxiv

Vision-language-action (VLA) models have the potential for open-world generalization by leveraging pretrained vision-language representations, yet downstream finetuning on limited robot data often degrades these represen…

Instruction Following

Confidence-Adaptive SwiGLU for Mixture-of-Experts

2026-05-30 · Shaohua Li, Xiuchao Sui, Xiaobing Sun, Yuhang Wu 외 arxiv

SwiGLU has become a standard gated activation in modern Transformer MLPs, yet its gate sharpness -- the smoothness and selectivity of the gating function -- is typically fixed throughout training. In this work, we propos…

TALAS: Teacher-Anchored Layer Alignment with Adaptive Sharpness-Aware Minimization for Embedding Distillation

2026-06-20 · Quoc Phong Dao, Hoang Son Nguyen, Pham Khanh Chi, Linh Ngo Van 외 arxiv

Knowledge Distillation (KD) has established itself as a pivotal technique for compressing large pre-trained language models. However, existing methods that force a student to strictly mimic the teacher's sentence embeddi…

Knowledge Distillation

Implicit Regularization of Sharpness-Aware Minimization for Scale-Invariant Problems

2024-10-18 · Bingcong Li, Liang Zhang, Niao He

Sharpness-aware minimization (SAM) improves generalization of various deep learning tasks. Motivated by popular architectures such as LoRA, we explore the implicit regularization of SAM for scale-invariant problems invol…

Normalization Layers Are All That Sharpness-Aware Minimization Needs

2023-06-07 · NeurIPS 2023 11 · Maximilian Mueller, Tiffany Vlaar, David Rolnick, Matthias Hein

Sharpness-aware minimization (SAM) was proposed to reduce sharpness of minima and has been shown to enhance generalization performance in various settings. In this work we show that perturbing only the affine normalizati…

All