Improving Sharpness-Aware Minimization with Fisher Mask for Better Generalization on Language Models
Qihuang Zhong, Liang Ding, Li Shen, Peng Mi, Juhua Liu, Bo Du and, Dacheng Tao

TL;DR
This paper introduces FSAM, an improved optimization method for fine-tuning large language models that uses a Fisher mask to focus perturbations on important parameters, enhancing generalization and efficiency.
Contribution
FSAM leverages Fisher information to create a sparse perturbation mask, improving upon SAM by focusing on key parameters and reducing computation during fine-tuning.
Findings
FSAM outperforms vanilla SAM by 0.67-1.98 points on GLUE and SuperGLUE.
FSAM is effective in low-data and complex generation tasks.
FSAM significantly improves performance when training data is limited.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Speech Recognition and Synthesis · Natural Language Processing Techniques
MethodsSharpness-Aware Minimization
