paper-with-me

홈 › Papers

Gradient Matching for Domain Generalization

2021-04-20 · ICLR 2022 4 · Yuge Shi, Jeffrey Seely, Philip H. S. Torr, N. Siddharth, Awni Hannun, Nicolas Usunier, Gabriel Synnaeve

Machine learning systems typically assume that the distributions of training and test sets match closely. However, a critical requirement of such systems in the real world is their ability to generalize to unseen domains. Here, we propose an inter-domain gradient matching objective that targets domain generalization by maximizing the inner product between gradients from different domains. Since direct optimization of the gradient inner product can be computationally prohibitive -- requires computation of second-order derivatives -- we derive a simpler first-order algorithm named Fish that approximates its optimization. We demonstrate the efficacy of Fish on 6 datasets from the Wilds benchmark, which captures distribution shift across a diverse range of modalities. Our method produces competitive results on these datasets and surpasses all baselines on 4 of them. We perform experiments on both the Wilds benchmark, which captures distribution shift in the real world, as well as datasets in DomainBed benchmark that focuses more on synthetic-to-real transfer. Our method produces competitive results on both benchmarks, demonstrating its effectiveness across a wide range of domain generalization tasks.

📄 PDF Abstract BibTeX arXiv:2104.09937

Code (2)

YugeTen/fish 공식 구현 pytorch
facebookresearch/DomainBed pytorch

Tasks

Domain GeneralizationImage Classification

Similar Papers 제목 키워드 기반

How Does Distribution Matching Help Domain Generalization: An Information-theoretic Analysis

2024-06-14 · Yuxin Dong, Tieliang Gong, Hong Chen, Shuangyong Song 외

Domain generalization aims to learn invariance across multiple training domains, thereby enhancing generalization against out-of-distribution data. While gradient or representation matching algorithms have achieved remar…

Domain Generalization

Multi-Source Collaborative Gradient Discrepancy Minimization for Federated Domain Generalization

2024-01-05 · Yikang Wei, Yahong Han

Federated Domain Generalization aims to learn a domain-invariant model from multiple decentralized source domains for deployment on unseen target domain. Due to privacy concerns, the data from different source domains ar…

Domain AdaptationDomain Generalization

Balanced Direction from Multifarious Choices: Arithmetic Meta-Learning for Domain Generalization

2025-03-23 · CVPR 2025 1 · Xiran Wang, Jian Zhang, Lei Qi, Yinghuan Shi

Domain generalization is proposed to address distribution shift, arising from statistical disparities between training source and unseen target domains. The widely used first-order meta-learning algorithms demonstrate st…

Domain GeneralizationMeta-Learning

Domain Generalization via Pareto Optimal Gradient Matching

2025-07-16 · Khoi Do, Duong Nguyen, Nam-Khanh Le, Quoc-Viet Pham 외 arxiv

In this study, we address the gradient-based domain generalization problem, where predictors aim for consistent gradient directions across different domains. Existing methods have two main challenges. First, minimization…

Computational EfficiencyDomain Generalization

Federated Domain Generalization with Data-free On-server Matching Gradient

2025-01-24 · Trong-Binh Nguyen, Minh-Duong Nguyen, Jinsun Park, Quoc-Viet Pham 외

Domain Generalization (DG) aims to learn from multiple known source domains a model that can generalize well to unknown target domains. One of the key approaches in DG is training an encoder which generates domain-invari…

Domain GeneralizationFederated Learning