Improving Sharpness-Aware Minimization with Fisher Mask for Better Generalization on Language Models
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 42 papers in the map (data through 14 Oct 2026). Builds on 45 of its 75 references that are in the map. First posted on arXiv 11 Oct 2022.
Builds on
45 of 75 references.
References · 45
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
33 more
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,181
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,729
- 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,417
- 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,352
- 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,317
- 2017Visualizing the Loss Landscape of Neural Netscited by 1,130
- 2015Teaching Machines to Read and Comprehendcited by 1,049
- 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 1,001
- 2018Neural Network Acceptability Judgmentscited by 958
- 2019SpanBERT: Improving Pre-training by Representing and Predicting Spanscited by 834
- 2015Improving Neural Machine Translation Models with Monolingual Datacited by 788
- 2017Exploring Generalization in Deep Learningcited by 600
- 2018WiC: the Word-in-Context Dataset for Evaluating Context-Sensitive Meaning Representationscited by 372
- 2021ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networkscited by 293
- 2021When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentationscited by 260
- 2021SPoT: Better Frozen Model Adaptation through Soft Prompt Transfercited by 235
- 2022Surrogate Gap Minimization Improves Sharpness-Aware Trainingcited by 172
- 2021On the Effectiveness of Adapter-based Tuning for Pretrained Language Model Adaptationcited by 147
- 2021Raise a Child in Large Language Model: Towards Effective and Generalizable Fine-tuningcited by 146
- 2021Efficient Sharpness-aware Minimization for Improved Training of Neural Networkscited by 137
- 2020Dynamic Model Pruning with Feedbackcited by 125
- 2021Sharpness-Aware Minimization Improves Language Model Generalizationcited by 108
- 2020Regularizing Neural Networks via Adversarial Model Perturbationcited by 78
- 2018SwitchOut: an Efficient Data Augmentation Algorithm for Neural Machine Translationcited by 72
- 2019Visualizing and Understanding the Effectiveness of BERTcited by 67
- 2018A Multilayer Convolutional Encoder-Decoder Neural Network for Grammatical Error Correctioncited by 36
- 2021ProphetNet-X: Large-Scale Pre-training Models for English, Chinese, Multi-lingual, Dialog, and Code Generationcited by 31
- 2020Understanding and Improving Encoder Layer Fusion in Sequence-to-Sequence Learningcited by 26
- 2021Progressive Multi-Granularity Training for Non-Autoregressive Translationcited by 25
- 2022E2S2: Encoding-Enhanced Sequence-to-Sequence Pretraining for Language Understanding and Generationcited by 19
- 2022On the Complementarity between Pre-Training and Random-Initialization for Resource-Rich Machine Translationcited by 15
- 2022BLISS: Robust Sequence-to-Sequence Learning via Self-Supervised Input Representationcited by 8
Built on by
Citing papers per year: 2022: 2; 2023: 24; 2024: 6; 2025: 5; 2026: 5.
42 papers.
Sort:
By area:
- 2023Can ChatGPT Understand Too? A Comparative Study on ChatGPT and Fine-tuned BERTcited by 155
- 2024Revisiting Catastrophic Forgetting in Large Language Model Tuningcited by 99
- 2023Enhancing Fine-Tuning Based Backdoor Defense with Sharpness-Aware Minimizationcited by 64
- 2023Gradient Norm Aware Minimization Seeks First-Order Flatness and Improves Generalizationcited by 57
- 2023FedSpeed: Larger Local Interval, Less Communication Round, and Higher Generalization Accuracycited by 49
- 2023Dynamic Regularized Sharpness Aware Minimization in Federated Learning: Approaching Global Consistency and Smooth Landscapecited by 46
- 2023Improving the Model Consistency of Decentralized Federated Learningcited by 45
- 2024Revisiting Knowledge Distillation for Autoregressive Language Modelscited by 42
- 2023Merging Experts into One: Improving Computational Efficiency of Mixture of Expertscited by 37
- 2024Make Continual Learning Stronger via C-Flatcited by 35
- 2023Make Landscape Flatter in Differentially Private Federated Learningcited by 33
- 2023Robust Generalization against Photon-Limited Corruptions via Worst-Case Sharpness Minimizationcited by 29
30 more
- 2023Diversifying the Mixture-of-Experts Representation for Language Models with Orthogonal Optimizercited by 29
- 2023Flatness-Aware Minimization for Domain Generalizationcited by 27
- 2023The Crucial Role of Normalization in Sharpness-Aware Minimizationcited by 26
- 2022Toward Efficient Language Model Pretraining and Downstream Adaptation via Self-Evolution: A Case Study on SuperGLUEcited by 24
- 2023AdaSAM: Boosting Sharpness-Aware Minimization with Adaptive Learning Rate and Momentum for Training Deep Neural Networkscited by 21
- 2023Sharpness-Aware Minimization Alone can Improve Adversarial Robustnesscited by 14
- 2024A Universal Class of Sharpness-Aware Minimization Algorithmscited by 14
- 2023Bag of Tricks for Effective Language Model Pretraining and Downstream Adaptation: A Case Study on GLUEcited by 11
- 2023Revisiting Token Dropping Strategy in Efficient BERT Pretrainingcited by 11
- 2022PAD-Net: An Efficient Framework for Dynamic Networkscited by 9
- 2025ZeroFlow: Overcoming Catastrophic Forgetting is Easier than You Thinkcited by 9
- 2023Towards More Suitable Personalization in Federated Learning via Decentralized Partial Model Trainingcited by 8
- 2023Self-Evolution Learning for Discriminative Language Model Pretrainingcited by 8
- 2024SAMPa: Sharpness-aware Minimization Parallelizedcited by 8
- 2023DFedADMM: Dual Constraints Controlled Model Inconsistency for Decentralized Federated Learningcited by 6
- 2023Towards the Flatter Landscape and Better Generalization in Federated Learning under Client-level Differential Privacycited by 5
- 2023Asymmetrically Decentralized Federated Learningcited by 5
- 2025LORENZA: Enhancing Generalization in Low-Rank Gradient LLM Training via Efficient Zeroth-Order Adaptive SAMcited by 5
- 2023Prompt-Learning for Cross-Lingual Relation Extractioncited by 4
- 2024Improving SAM Requires Rethinking its Optimization Formulationcited by 4
- 2026Revisiting Robustness for LLM Safety Alignment via Selective Geometry Controlcited by 4
- 2026Convex Dominance in Deep Learning I: A Scaling Law of Loss and Learning Ratecited by 3
- 2023Zero-Shot Sharpness-Aware Quantization for Pre-trained Language Modelscited by 2
- 2023Clustering Pseudo Language Family in Multilingual Translation Models with Fisher Information Matrixcited by 2
- 2025Modality-Aware SAM: Sharpness-Aware-Minimization Driven Gradient Modulation for Harmonized Multimodal Learningcited by 2
- 2025C-Flat++: Towards a More Efficient and Powerful Framework for Continual Learningcited by 1
- 2026Sparse Layer Sharpness-Aware Minimization for Efficient Fine-Tuningcited by 1
- 2026A Faster Path to Continual Learningcited by 1
- 2025Sharpness-Aware Minimization Can Hallucinate Minimizerscited by 0
- 2026Gradient-Energy Guided Block-Wise Perturbations for Sharpness-Aware Minimizationcited by 0
- 2026Gradient-Energy Guided Block-Wise Perturbations for Sharpness-Aware Minimization17 Jul 2026
- 2026A Faster Path to Continual Learning13 Apr 2026
- 2026Sparse Layer Sharpness-Aware Minimization for Efficient Fine-Tuning10 Feb 2026
- 2026Revisiting Robustness for LLM Safety Alignment via Selective Geometry Control7 Feb 2026
- 2026Convex Dominance in Deep Learning I: A Scaling Law of Loss and Learning Rate6 Feb 2026
- 2025Modality-Aware SAM: Sharpness-Aware-Minimization Driven Gradient Modulation for Harmonized Multimodal Learning28 Oct 2025
- 2025Sharpness-Aware Minimization Can Hallucinate Minimizers26 Sep 2025
- 2025C-Flat++: Towards a More Efficient and Powerful Framework for Continual Learning26 Aug 2025
- 2025LORENZA: Enhancing Generalization in Low-Rank Gradient LLM Training via Efficient Zeroth-Order Adaptive SAM26 Feb 2025
- 2025ZeroFlow: Overcoming Catastrophic Forgetting is Easier than You Think2 Jan 2025
- 2024SAMPa: Sharpness-aware Minimization Parallelized14 Oct 2024
- 2024Improving SAM Requires Rethinking its Optimization Formulation17 Jul 2024
30 more
- 2024Revisiting Catastrophic Forgetting in Large Language Model Tuning7 Jun 2024
- 2024A Universal Class of Sharpness-Aware Minimization Algorithms6 Jun 2024
- 2024Make Continual Learning Stronger via C-Flat1 Apr 2024
- 2024Revisiting Knowledge Distillation for Autoregressive Language Models19 Feb 2024
- 2023Clustering Pseudo Language Family in Multilingual Translation Models with Fisher Information Matrix5 Dec 2023
- 2023Zero-Shot Sharpness-Aware Quantization for Pre-trained Language Models20 Oct 2023
- 2023Merging Experts into One: Improving Computational Efficiency of Mixture of Experts15 Oct 2023
- 2023Diversifying the Mixture-of-Experts Representation for Language Models with Orthogonal Optimizer15 Oct 2023
- 2023Asymmetrically Decentralized Federated Learning8 Oct 2023
- 2023DFedADMM: Dual Constraints Controlled Model Inconsistency for Decentralized Federated Learning16 Aug 2023
- 2023Flatness-Aware Minimization for Domain Generalization20 Jul 2023
- 2023The Crucial Role of Normalization in Sharpness-Aware Minimization24 May 2023
- 2023Self-Evolution Learning for Discriminative Language Model Pretraining24 May 2023
- 2023Revisiting Token Dropping Strategy in Efficient BERT Pretraining24 May 2023
- 2023Towards More Suitable Personalization in Federated Learning via Decentralized Partial Model Training24 May 2023
- 2023Dynamic Regularized Sharpness Aware Minimization in Federated Learning: Approaching Global Consistency and Smooth Landscape19 May 2023
- 2023Sharpness-Aware Minimization Alone can Improve Adversarial Robustness9 May 2023
- 2023Towards the Flatter Landscape and Better Generalization in Federated Learning under Client-level Differential Privacy1 May 2023
- 2023Enhancing Fine-Tuning Based Backdoor Defense with Sharpness-Aware Minimization24 Apr 2023
- 2023Prompt-Learning for Cross-Lingual Relation Extraction20 Apr 2023
- 2023Robust Generalization against Photon-Limited Corruptions via Worst-Case Sharpness Minimization23 Mar 2023
- 2023Make Landscape Flatter in Differentially Private Federated Learning20 Mar 2023
- 2023Gradient Norm Aware Minimization Seeks First-Order Flatness and Improves Generalization3 Mar 2023
- 2023AdaSAM: Boosting Sharpness-Aware Minimization with Adaptive Learning Rate and Momentum for Training Deep Neural Networks1 Mar 2023
- 2023FedSpeed: Larger Local Interval, Less Communication Round, and Higher Generalization Accuracy21 Feb 2023
- 2023Can ChatGPT Understand Too? A Comparative Study on ChatGPT and Fine-tuned BERT19 Feb 2023
- 2023Bag of Tricks for Effective Language Model Pretraining and Downstream Adaptation: A Case Study on GLUE18 Feb 2023
- 2023Improving the Model Consistency of Decentralized Federated Learning8 Feb 2023
- 2022Toward Efficient Language Model Pretraining and Downstream Adaptation via Self-Evolution: A Case Study on SuperGLUE4 Dec 2022
- 2022PAD-Net: An Efficient Framework for Dynamic Networks10 Nov 2022
- 2023Can ChatGPT Understand Too? A Comparative Study on ChatGPT and Fine-tuned BERTcited by 155
- 2024Revisiting Catastrophic Forgetting in Large Language Model Tuningcited by 99
- 2023Enhancing Fine-Tuning Based Backdoor Defense with Sharpness-Aware Minimizationcited by 64
- 2023Gradient Norm Aware Minimization Seeks First-Order Flatness and Improves Generalizationcited by 57
- 2023FedSpeed: Larger Local Interval, Less Communication Round, and Higher Generalization Accuracycited by 49
- 2023Dynamic Regularized Sharpness Aware Minimization in Federated Learning: Approaching Global Consistency and Smooth Landscapecited by 46
- 2023Improving the Model Consistency of Decentralized Federated Learningcited by 45
- 2024Make Continual Learning Stronger via C-Flatcited by 35
- 2023Make Landscape Flatter in Differentially Private Federated Learningcited by 33
- 2023Robust Generalization against Photon-Limited Corruptions via Worst-Case Sharpness Minimizationcited by 29
- 2023Flatness-Aware Minimization for Domain Generalizationcited by 27
- 2023The Crucial Role of Normalization in Sharpness-Aware Minimizationcited by 26
12 most cited of 36 All 36 (JSON)
- 2026Gradient-Energy Guided Block-Wise Perturbations for Sharpness-Aware Minimization17 Jul 2026
- 2026A Faster Path to Continual Learning13 Apr 2026
- 2026Sparse Layer Sharpness-Aware Minimization for Efficient Fine-Tuning10 Feb 2026
- 2026Convex Dominance in Deep Learning I: A Scaling Law of Loss and Learning Rate6 Feb 2026
- 2025Modality-Aware SAM: Sharpness-Aware-Minimization Driven Gradient Modulation for Harmonized Multimodal Learning28 Oct 2025
- 2025Sharpness-Aware Minimization Can Hallucinate Minimizers26 Sep 2025
- 2025C-Flat++: Towards a More Efficient and Powerful Framework for Continual Learning26 Aug 2025
- 2025LORENZA: Enhancing Generalization in Low-Rank Gradient LLM Training via Efficient Zeroth-Order Adaptive SAM26 Feb 2025
- 2025ZeroFlow: Overcoming Catastrophic Forgetting is Easier than You Think2 Jan 2025
- 2024SAMPa: Sharpness-aware Minimization Parallelized14 Oct 2024
- 2024Improving SAM Requires Rethinking its Optimization Formulation17 Jul 2024
- 2024Revisiting Catastrophic Forgetting in Large Language Model Tuning7 Jun 2024
12 newest of 36 All 36 (JSON)