paper-with-me

홈 › Papers

Improving Sharpness-Aware Minimization with Fisher Mask for Better Generalization on Language Models

2022-10-11 · Qihuang Zhong, Liang Ding, Li Shen, Peng Mi, Juhua Liu, Bo Du, DaCheng Tao

Fine-tuning large pretrained language models on a limited training corpus usually suffers from poor generalization. Prior works show that the recently-proposed sharpness-aware minimization (SAM) optimization method can improve the model generalization. However, SAM adds a perturbation to each model parameter equally (but not all parameters contribute equally to the optimization of training), which we argue is sub-optimal and will lead to excessive computation. In this paper, we propose a novel optimization procedure, namely FSAM, which introduces a Fisher mask to improve the efficiency and performance of SAM. In short, instead of adding perturbation to all parameters, FSAM uses the Fisher information to identity the important parameters and formulates a Fisher mask to obtain the sparse perturbation, i.e., making the optimizer focus on these important parameters. Experiments on various tasks in GLUE and SuperGLUE benchmarks show that FSAM consistently outperforms the vanilla SAM by 0.67~1.98 average score among four different pretrained models. We also empirically show that FSAM works well in other complex scenarios, e.g., fine-tuning on generation tasks or limited training data. Encouragingly, when training data is limited, FSAM improves the SAM by a large margin, i.e., up to 15.1.

📄 PDF Abstract BibTeX arXiv:2210.05497

Code (1)

whu-zqh/fsam4plm 공식 구현 pytorch

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 제목 키워드 기반

Make Sharpness-Aware Minimization Stronger: A Sparsified Perturbation Approach

2022-10-11 · Peng Mi, Li Shen, Tianhe Ren, Yiyi Zhou 외

Deep neural networks often suffer from poor generalization caused by complex and non-convex loss landscapes. One of the popular solutions is Sharpness-Aware Minimization (SAM), which smooths the loss landscape via minimi…

Systematic Investigation of Sparse Perturbed Sharpness-Aware Minimization Optimizer

2023-06-30 · Peng Mi, Li Shen, Tianhe Ren, Yiyi Zhou 외

Deep neural networks often suffer from poor generalization due to complex and non-convex loss landscapes. Sharpness-Aware Minimization (SAM) is a popular solution that smooths the loss landscape by minimizing the maximiz…

Towards Compact and Robust DNNs via Compression-aware Sharpness Minimization

2026-01-28 · Jialuo He, Huangxun Chen arxiv

Sharpness-Aware Minimization (SAM) has recently emerged as an effective technique for improving DNN robustness to input variations. However, its interplay with the compactness requirements of on-device DNN deployments re…

Riemannian SAM: Sharpness-Aware Minimization on Riemannian Manifolds

2023-09-21 · NeurIPS 2023 11

Contemporary advances in the field of deep learning have embarked upon an exploration of the underlying geometric properties of data, thus encouraging the investigation of techniques that consider general manifolds, for …

S2AP: Score-space Sharpness Minimization for Adversarial Pruning

2025-10-21 · Giorgio Piras, Qi Zhao, Fabio Brau, Maura Pintor 외 arxiv

Adversarial pruning methods have emerged as a powerful tool for compressing neural networks while preserving robustness against adversarial attacks. These methods typically follow a three-step pipeline: (i) pretrain a ro…