Global Sharpness-Aware Minimization Is Suboptimal in Domain Generalization: Towards Individual Sharpness-Aware Minimization

Youngjun Song, Youngsik Hwang, Jonghun Lee, Heechang Lee, Dongyoung LimOpenReview 2026 · Submission to ICLR 2026 · Rejected · OpenReview

Abstract

Domain generalization (DG) aims to learn models that perform well on unseen target domains by training on multiple source domains. Sharpness-Aware Minimization (SAM), known for finding flat minima that improve generalization, has therefore been widely adopted in DG. However, we argue that the prevailing approach of applying SAM to the aggregated loss for domain generalization is fundamentally suboptimal. This ``aggregated sharpness'' objective can be deceptive, leading to convergence to fake flat minima where the total loss surface is flat, but the underlying per-domain landscapes remain sharp. To establish a more principled objective, we analyze a worst-case risk formulation that reflects the true nature of DG. Our analysis reveals that per-domain sharpness provides a valid upper bound on this risk, while aggregated sharpness does not, making it a more theoretically grounded target for robust domain generalization. Motivated by this, we propose \textcolor{blue}{\textit{Domain-wise Gradual SAM (DGSAM)}}, which applies gradual, domain-wise perturbations to effectively control per-domain sharpness in a computationally efficient manner. Extensive experiments demonstrate that DGSAM not only improves average accuracy but also reduces performance variance across domains, while incurring less computational overhead than SAM.
BibTeX
@misc{song2026global,
  author = {Youngjun Song and Youngsik Hwang and Jonghun Lee and Heechang Lee and Dongyoung Lim},
  title = {{Global Sharpness-Aware Minimization Is Suboptimal in Domain Generalization: Towards Individual Sharpness-Aware Minimization}},
  year = {2026},
  url = {https://openreview.net/forum?id=ntkYaHqlAX},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}
Figure