paper-with-me

Papers

SWAD: Domain Generalization by Seeking Flat Minima

2021-02-17 · NeurIPS 2021 12 · Junbum Cha, Sanghyuk Chun, Kyungjae Lee, Han-Cheol Cho, Seunghyun Park, Yunsung Lee, Sungrae Park

Domain generalization (DG) methods aim to achieve generalizability to an unseen target domain by using only training data from the source domains. Although a variety of DG methods have been proposed, a recent study shows that under a fair evaluation protocol, called DomainBed, the simple empirical risk minimization (ERM) approach works comparable to or even outperforms previous methods. Unfortunately, simply solving ERM on a complex, non-convex loss function can easily lead to sub-optimal generalizability by seeking sharp minima. In this paper, we theoretically show that finding flat minima results in a smaller domain generalization gap. We also propose a simple yet effective method, named Stochastic Weight Averaging Densely (SWAD), to find flat minima. SWAD finds flatter minima and suffers less from overfitting than does the vanilla SWA by a dense and overfit-aware stochastic weight sampling strategy. SWAD shows state-of-the-art performances on five DG benchmarks, namely PACS, VLCS, OfficeHome, TerraIncognita, and DomainNet, with consistent and large margins of +1.6% averagely on out-of-domain accuracy. We also compare SWAD with conventional generalization methods, such as data augmentation and consistency regularization methods, to verify that the remarkable performance improvements are originated from by seeking flat minima, not from better in-domain generalizability. Last but not least, SWAD is readily adaptable to existing DG methods without modification; the combination of SWAD and an existing DG method further improves DG performances. Source code is available at https://github.com/khanrc/swad.

📄 PDF Abstract BibTeX arXiv:2102.08604

Code (4)

khanrc/swad 공식 구현 pytorch
kakaobrain/miro pytorch
salesforce/ensemble-of-averages pytorch
ys-zong/medfair pytorch

Tasks

Domain GeneralizationGeneralization BoundsRobust classification

Methods 이 논문이 사용한 방법론

Stochastic Weight Averaging Stochastic Weight Averaging is an optimization procedure that averages multiple points along the trajectory of SGD, with a cyclical or…

Similar Papers 제목 키워드 기반

Exploring Flat Minima for Domain Generalization with Large Learning Rates

2023-09-12 · Jian Zhang, Lei Qi, Yinghuan Shi, Yang Gao

Domain Generalization (DG) aims to generalize to arbitrary unseen domains. A promising approach to improve model generalization in DG is the identification of flat minima. One typical method for this task is SWAD, which …

DiversityDomain GeneralizationSemantic Segmentation

Seeking Consistent Flat Minima for Better Domain Generalization via Refining Loss Landscapes

2024-12-18 · CVPR 2025 1 · Aodi Li, Liansheng Zhuang, Xiao Long, Minghong Yao 외

Domain generalization aims to learn a model from multiple training domains and generalize it to unseen test domains. Recent theory has shown that seeking the deep models, whose parameters lie in the flat minima of the lo…

Domain Generalization

Seeking Flat Minima with Mean Teacher on Semi- and Weakly-Supervised Domain Generalization for Object Detection

2023-10-30 · Ryosuke Furuta, Yoichi Sato

Object detectors do not work well when domains largely differ between training and testing data. To overcome this domain gap in object detection without requiring expensive annotations, we consider two problem settings: …

Domain AdaptationDomain GeneralizationObjectobject-detection+2

Improving Generalization in Federated Learning by Seeking Flat Minima

2022-03-22 · Debora Caldarola, Barbara Caputo, Marco Ciccone

Models trained in federated settings often suffer from degraded performances and fail at generalizing, especially when facing heterogeneous scenarios. In this work, we investigate such behavior through the lens of geomet…

Domain GeneralizationFederated LearningImage ClassificationSemantic Segmentation

Flatness-aware Curriculum Learning via Adversarial Difficulty

2025-08-26 · Hiroaki Aizawa, Yoshikazu Hayashi arxiv

Neural networks trained by empirical risk minimization often suffer from overfitting, especially to specific samples or domains, which leads to poor generalization. Curriculum Learning (CL) addresses this issue by select…

Domain GeneralizationImage Classification