Federated Unsupervised Domain Generalization Using Global and Local Alignment of Gradients
Farhad Pourpanah, Mahdiyar Molahasani, Milad Soltany, Michael A. Greenspan, Ali Etemad
Abstract
We address the problem of federated domain generalization in an unsupervised setting for the first time. We first theoretically establish a connection between domain shift and alignment of gradients in unsupervised federated learning and show that aligning the gradients at both client and server levels can facilitate the generalization of the model to new (target) domains. Building on this insight, we propose a novel method named FedGaLA, which performs gradient alignment at the client level to encourage clients to learn domain-invariant features, as well as global gradient alignment at the server to obtain a more generalized aggregated model. To empirically evaluate our method, we perform various experiments on four commonly used multi-domain datasets, PACS, OfficeHome, DomainNet, and TerraInc. The results demonstrate the effectiveness of our method which outperforms comparable baselines. Ablation and sensitivity studies demonstrate the impact of different components and parameters in our approach. The source code is available at: https://github.com/MahdiyarMM/FedGaLA .
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext b3a2877e-ebcb-4a4e-b2de-98d00a0dc0c0Cited by top-tier papers2
- SPFL: Sequential updates with Parallel aggregation for Enhanced Federated Learning under Category and Domain ShiftsHaoyuan Liang, Shilei Cao, Guowen Li, Zhiyu Ye et al.NeurIPS 2025 · 1 citation
- Cooperative Pseudo Labeling for Unsupervised Federated ClassificationKuangpu Guo, Lijun Sheng, Yongcan Yu, Jian Liang et al.ICCV 2025 · 1 citation
Builds on34
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
- Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec et al.NeurIPS 2020 · 9,171 citations
- Moment Matching for Multi-Source Domain AdaptationXingchao Peng, Qinxun Bai, Xide Xia, Zijun Huang et al.ICCV 2019 · 2,239 citations
- In Search of Lost Domain GeneralizationIshaan Gulrajani, David Lopez-PazICLR 2021 · 1,416 citations
- Federated Learning with Matched AveragingHongyi Wang, Mikhail Yurochkin, Yuekai Sun, Dimitris S. Papailiopoulos et al.ICLR 2020 · 1,368 citations
Related papers
- HFedATM: Hierarchical Federated Domain Generalization via Optimal Transport and Regularized Mean AggregationThinh Nguyen, Trung Phan, Binh T. Nguyen, Khoa D. Doan et al.CVPR 2026
- Multi-Source Collaborative Gradient Discrepancy Minimization for Federated Domain GeneralizationYikang Wei, Yahong HanAAAI 2024 · 20 citations
- Efficiently Assemble Normalization Layers and Regularization for Federated Domain GeneralizationKhiem Le, Long Ho, Cuong Do, Danh Le Phuoc et al.CVPR 2024
- Federated Domain Generalization with Generalization AdjustmentRuipeng Zhang, Qinwei Xu, Jiangchao Yao, Ya Zhang et al.CVPR 2023
- Federated Adversarial Domain AdaptationXingchao Peng, Zijun Huang, Yizhe Zhu, Kate SaenkoICLR 2020 · 310 citations
