Domain-Inspired Sharpness-Aware Minimization Under Domain Shifts
Ruipeng Zhang, Ziqing Fan, Jiangchao Yao, Ya Zhang, Yanfeng Wang
Abstract
This paper presents a Domain-Inspired Sharpness-Aware Minimization (DISAM) algorithm for optimization under domain shifts. It is motivated by the inconsistent convergence degree of SAM across different domains, which induces optimization bias towards certain domains and thus impairs the overall convergence. To address this issue, we consider the domain-level convergence consistency in the sharpness estimation to prevent the overwhelming (deficient) perturbations for less (well) optimized domains. Specifically, DISAM introduces the constraint of minimizing variance in the domain loss, which allows the elastic gradient calibration in perturbation generation: when one domain is optimized above the averaging level w.r.t. loss, the gradient perturbation towards that domain will be weakened automatically, and vice versa. Under this mechanism, we theoretically show that DISAM can achieve faster overall convergence and improved generalization in principle when inconsistent convergence emerges. Extensive experiments on various domain generalization benchmarks show the superiority of DISAM over a range of state-of-the-art methods. Furthermore, we show the superior efficiency of DISAM in parameter-efficient fine-tuning combined with the pretraining models. The source code is released at https://github.com/MediaBrain-SJTU/DISAM.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
13 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- A-FedPD: Aligning Dual-Drift is All Federated Primal-Dual Learning Needs cites Locally Estimated Global Perturbations are Better than Local Perturbations for Federated Sharpness-aware Minimization
- A-FedPD: Aligning Dual-Drift is All Federated Primal-Dual Learning Needs cites Sharpness-aware Minimization for Efficiently Improving Generalization
- Exploring Training on Heterogeneous Data with Mixture of Low-rank Adapters cites Locally Estimated Global Perturbations are Better than Local Perturbations for Federated Sharpness-aware Minimization
- Locally Estimated Global Perturbations are Better than Local Perturbations for Federated Sharpness-aware Minimization cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Locally Estimated Global Perturbations are Better than Local Perturbations for Federated Sharpness-aware Minimization cites Moment Matching for Multi-Source Domain Adaptation
- Locally Estimated Global Perturbations are Better than Local Perturbations for Federated Sharpness-aware Minimization cites Sharpness-aware Minimization for Efficiently Improving Generalization
- Implicit Regularization of Sharpness-Aware Minimization for Scale-Invariant Problems cites Sharpness-aware Minimization for Efficiently Improving Generalization
- Learning Transferable Visual Models From Natural Language Supervision cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- In Search of Lost Domain Generalization cites Moment Matching for Multi-Source Domain Adaptation
Cited by top-tier papers13
- Locally Estimated Global Perturbations are Better than Local Perturbations for Federated Sharpness-aware MinimizationZiqing Fan, Shengchao Hu, Jiangchao Yao, Gang Niu et al.ICML 2024 · 35 citations
- HarmoDT: Harmony Multi-Task Decision Transformer for Offline Reinforcement LearningShengchao Hu, Ziqing Fan, Li Shen, Ya Zhang et al.ICML 2024 · 15 citations
- Implicit Regularization of Sharpness-Aware Minimization for Scale-Invariant ProblemsBingcong Li, Liang Zhang, Niao HeNeurIPS 2024 · 14 citations
- Exploring Training on Heterogeneous Data with Mixture of Low-rank AdaptersYuhang Zhou, Zihua Zhao, Siyuan Du, Haolin Li et al.ICML 2024 · 11 citations
- A-FedPD: Aligning Dual-Drift is All Federated Primal-Dual Learning NeedsYan Sun, Li Shen, Dacheng TaoNeurIPS 2024 · 6 citations
Builds on29
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- Moment Matching for Multi-Source Domain AdaptationXingchao Peng, Qinxun Bai, Xide Xia, Zijun Huang et al.ICCV 2019 · 2,239 citations
- Sharpness-aware Minimization for Efficiently Improving GeneralizationPierre Foret, Ariel Kleiner, Hossein Mobahi, Behnam NeyshaburICLR 2021 · 1,861 citations
- In Search of Lost Domain GeneralizationIshaan Gulrajani, David Lopez-PazICLR 2021 · 1,416 citations
Related papers
- Navigating the Flatlands: Dual Adaptive Sharpness-Aware Minimization for Domain GeneralizationJunwen He, Yang He, Lebing Zheng, Zirui Yin et al.ICML 2026
- Unknown Domain Inconsistency Minimization for Domain GeneralizationSeungjae Shin, HeeSun Bae, Byeonghu Na, Yoon-Yeong Kim et al.ICLR 2024 · 10 citations
- Sharpness-Aware Gradient Matching for Domain GeneralizationPengfei Wang, Zhaoxiang Zhang, Zhen Lei, Lei ZhangCVPR 2023
- Towards Understanding Sharpness-Aware MinimizationMaksym Andriushchenko, Nicolas FlammarionICML 2022 · 190 citations
- Align-SAM: Seeking Flatter Minima for Better Cross-Subset AlignmentVan-Anh Nguyen, Mehrtash Harandi, Thanh-Toan Do, Linh Ngo Van et al.ICLR 2026
