mlsanityData to 13 Oct 2026

Sharpness-Aware Gradient Matching for Domain Generalization

arXiv 2303.10353 ↗First posted 18 Mar 2023cs.CVcited by 102

Not on the map. Why?

Abstract (arXiv)

The goal of domain generalization (DG) is to enhance the generalization capability of the model learned from a source domain to other unseen domains. The recently developed Sharpness-Aware Minimization (SAM) method aims to achieve this goal by minimizing the sharpness measure of the loss landscape. Though SAM and its variants have demonstrated impressive DG performance, they may not always converge to the desired flat region with a small loss value. In this paper, we present two conditions to ensure that the model could converge to a flat minimum with a small loss, and present an algorithm, named Sharpness-Aware Gradient Matching (SAGM), to meet the two conditions for improving model generalization capability. Specifically, the optimization objective of SAGM will simultaneously minimize the empirical risk, the perturbed loss (i.e., the maximum loss within a neighborhood in the parameter space), and the gap between them. By implicitly aligning the gradient directions between the empirical risk and the perturbed loss, SAGM improves the generalization capability over SAM and its variants without increasing the computational cost. Extensive experimental results show that our proposed SAGM method consistently outperforms the state-of-the-art methods on five DG benchmarks, including PACS, VLCS, OfficeHome, TerraIncognita, and DomainNet. Codes are available at https://github.com/Wang-pengfei/SAGM.

Key facts. Cited by 102 papers in the map (data through 13 Oct 2026). Builds on 43 of its 57 references that are in the map. First posted on arXiv 18 Mar 2023.

Builds on

43 of 57 references.

References · 43

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,950
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,093
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,588
  4. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,476
  5. 2015Domain-Adversarial Training of Neural Networkscited by 3,030
  6. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,882
  7. 2019Invariant Risk Minimizationcited by 1,842
  8. 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,411
  9. 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,344
  10. 2018Moment Matching for Multi-Source Domain Adaptationcited by 1,328
  11. 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,202
  12. 2016Deep CORAL: Correlation Alignment for Deep Domain Adaptationcited by 1,196
31 more
  1. 2017Deep Hashing Network for Unsupervised Domain Adaptationcited by 1,183
  2. 2020In Search of Lost Domain Generalizationcited by 1,048
  3. 2017Deeper, Broader and Artier Domain Generalizationcited by 984
  4. 2017Learning to Generalize: Meta-Learning for Domain Generalizationcited by 763
  5. 2020Out-of-Distribution Generalization via Risk Extrapolation (REx)cited by 738
  6. 2018Recognition in Terra Incognitacited by 656
  7. 2013Domain Generalization via Invariant Feature Representationcited by 623
  8. 2018Loss Surfaces, Mode Connectivity, and Fast Ensembling of DNNscited by 586
  9. 2021Domain Generalization with MixStylecited by 563
  10. 2017Computing Nonvacuous Generalization Bounds for Deep (Stochastic) Neural Networks with Many More Parameters than Training Datacited by 530
  11. 2017Sharp Minima Can Generalize For Deep Netscited by 465
  12. 2019Domain Generalization by Solving Jigsaw Puzzlescited by 449
  13. 2021SWAD: Domain Generalization by Seeking Flat Minimacited by 431
  14. 2020Self-Challenging Improves Cross-Domain Generalizationcited by 426
  15. 2019Domain Generalization via Model-Agnostic Learning of Semantic Featurescited by 407
  16. 2018Generalizing Across Domains via Cross-Gradient Trainingcited by 268
  17. 2021Gradient Matching for Domain Generalizationcited by 258
  18. 2019Adversarial Domain Adaptation with Domain Mixupcited by 250
  19. 2019Learning De-biased Representations with Biased Representationscited by 199
  20. 2021SelfReg: Self-supervised Contrastive Regularization for Domain Generalizationcited by 189
  21. 2017Domain Generalization by Marginal Transfer Learningcited by 180
  22. 2022Surrogate Gap Minimization Improves Sharpness-Aware Trainingcited by 172
  23. 2018Domain Generalization via Conditional Invariant Representationcited by 146
  24. 2021Efficient Sharpness-aware Minimization for Improved Training of Neural Networkscited by 137
  25. 2022Domain Generalization by Mutual-Information Regularization with Pre-trained Modelscited by 133
  26. 2022Towards Efficient and Scalable Sharpness-Aware Minimizationcited by 129
  27. 2019Domain Agnostic Learning with Disentangled Representationscited by 107
  28. 2020Cross-domain Face Presentation Attack Detection via Multi-domain Disentangled Representation Learningcited by 93
  29. 2021Exploiting Domain-Specific Features to Enhance Domain Generalizationcited by 86
  30. 2021Domain Generalization via Gradient Surgerycited by 60
  31. 2021SAND-mask: An Enhanced Gradient Masking Strategy for the Discovery of Invariances in Domain Generalizationcited by 50

Built on by

Cited by year (2026 to 13 Oct)

Citing papers per year: 2023: 14; 2024: 37; 2025: 35; 2026: 16.

102 papers.

Sort:

By area:

  1. 2023Leveraging Vision-Language Models for Improving Domain Generalization in Image Classificationcited by 41
  2. 2023Enhancing Sharpness-Aware Optimization Through Variance Suppressioncited by 37
  3. 2024GeneOH Diffusion: Towards Generalizable Hand-Object Interaction Denoising via Denoising Diffusioncited by 34
  4. 2024Locally Estimated Global Perturbations are Better than Local Perturbations for Federated Sharpness-aware Minimizationcited by 28
  5. 2024Gradient Alignment for Cross-Domain Face Anti-Spoofingcited by 26
  6. 2023Fast-Slow Test-Time Adaptation for Online Vision-and-Language Navigationcited by 25
  7. 2024DGMamba: Domain Generalization via Generalized State Space Modelcited by 21
  8. 2023Practical Sharpness-Aware Minimization Cannot Converge All the Way to Optimacited by 20
  9. 2023FlatMatch: Bridging Labeled Data and Unlabeled Data with Cross-Sharpness for Semi-Supervised Learningcited by 20
  10. 2025Learning to Unlearn while Retaining: Combating Gradient Conflicts in Machine Unlearningcited by 19
  11. 2025Mitigating Parameter Interference in Model Merging via Sharpness-Aware Fine-Tuningcited by 16
  12. 2024PracticalDG: Perturbation Distillation on Vision-Language Models for Hybrid Domain Generalizationcited by 15
38 more
  1. 2025CLIP-Powered Domain Generalization and Domain Adaptation: A Comprehensive Surveycited by 15
  2. 2023FedSOL: Stabilized Orthogonal Learning with Proximal Restrictions in Federated Learningcited by 14
  3. 2023Domain Generalisation via Risk Distribution Matchingcited by 14
  4. 2024A Universal Class of Sharpness-Aware Minimization Algorithmscited by 14
  5. 2025Handling Out-of-Distribution Data: A Surveycited by 14
  6. 2024Domain-Inspired Sharpness-Aware Minimization Under Domain Shiftscited by 12
  7. 2024Gradient Alignment Improves Test-Time Adaptation for Medical Image Segmentationcited by 11
  8. 2023Diverse Target and Contribution Scheduling for Domain Generalizationcited by 10
  9. 2024Seeking Consistent Flat Minima for Better Domain Generalization via Refining Loss Landscapescited by 10
  10. 2024Sharpness-Aware Minimization Enhances Feature Quality via Balanced Learningcited by 9
  11. 2024Implicit Regularization of Sharpness-Aware Minimization for Scale-Invariant Problemscited by 9
  12. 2024Is Large-Scale Pretraining the Secret to Good Domain Generalization?cited by 9
  13. 2025Gradient-Guided Annealing for Domain Generalizationcited by 9
  14. 2023NormAUG: Normalization-guided Augmentation for Domain Generalizationcited by 8
  15. 2024HCVP: Leveraging Hierarchical Contrastive Visual Prompt for Domain Generalizationcited by 8
  16. 2024Enhancing Domain Adaptation through Prompt Gradient Alignmentcited by 8
  17. 2025Prompt Disentanglement via Language Guidance and Representation Alignment for Domain Generalizationcited by 8
  18. 2023Generalizing to Unseen Domains in Diabetic Retinopathy Classificationcited by 7
  19. 2024Decoupled Prototype Learning for Reliable Test-Time Adaptationcited by 7
  20. 2024Unknown Domain Inconsistency Minimization for Domain Generalizationcited by 7
  21. 2024Cross-Domain Feature Augmentation for Domain Generalizationcited by 7
  22. 2026Reasoning-Driven Multimodal LLM for Domain Generalizationcited by 7
  23. 2024DPStyler: Dynamic PromptStyler for Source-Free Domain Generalizationcited by 6
  24. 2025Learning Fine-grained Domain Generalization via Hyperbolic State Space Hallucinationcited by 6
  25. 2025Modality-Balanced Collaborative Distillation for Multi-Modal Domain Generalizationcited by 6
  26. 2024Improving Generalization with Flat Hilbert Bayesian Inferencecited by 5
  27. 2024(FL)2: Overcoming Few Labels in Federated Semi-Supervised Learningcited by 5
  28. 2025Balanced Direction from Multifarious Choices: Arithmetic Meta-Learning for Domain Generalizationcited by 5
  29. 2025Sharpness-Aware Data Generation for Zero-shot Quantizationcited by 5
  30. 2023Multi-Scale and Multi-Layer Contrastive Learning for Domain Generalizationcited by 4
  31. 2023INSURE: An Information Theory Inspired Disentanglement and Purification Model for Domain Generalizationcited by 4
  32. 2024START: A Generalized State Space Model with Saliency-Driven Token-Aware Transformationcited by 4
  33. 2026Adversarial Domain Prompt Tuning and Generation for Single Domain Generalizationcited by 4
  34. 2024SETA: Semantic-Aware Token Augmentation for Domain Generalizationcited by 3
  35. 2024Changing the Training Data Distribution to Reduce Simplicity Bias Improves In-distribution Generalizationcited by 3
  36. 2024Fine-Grained Domain Generalization with Feature Structuralizationcited by 3
  37. 2025Transforming Future Data Center Operations and Management via Physical AIcited by 3
  38. 2025Domain Generalization via Discrete Codebook Learningcited by 3

50 most cited of 102 All 102 (JSON)