StableFDG: Style and Attention Based Learning for Federated Domain Generalization

Jun-Gyu Park, Dong-Jun Han, Jinho Kim, Shiqiang Wang, Christopher G. Brinton +1 more
11/1/2023
35 citations
federated

No official code found. Best implementation: weiyikang/FedAdvSty (1 star, Python, MIT, last commit 2025-08-14).

Abstract

Traditional federated learning (FL) algorithms operate under the assumption that the data distributions at training (source domains) and testing (target domain) are the same. The fact that domain shifts often occur in practice necessitates equipping FL methods with a domain generalization (DG) capability.

Show full abstract

However, existing DG algorithms face fundamental challenges in FL setups due to the lack of samples/domains in each client's local dataset. In this paper, we propose StableFDG, a style and attention based learning strategy for accomplishing federated domain generalization, introducing two key contributions. The first is style-based learning, which enables each client to explore novel styles beyond the original source domains in its local dataset, improving domain diversity based on the proposed style sharing, shifting, and exploration strategies. Our second contribution is an attention-based feature highlighter, which captures the similarities between the features of data samples in the same class, and emphasizes the important/common characteristics to better learn the domain-invariant characteristics of each class in data-poor FL scenarios. Experimental results show that StableFDG outperforms existing baselines on various DG benchmark datasets, demonstrating its efficacy.

View on arXivView PDF

Code Implementations(1)

MIT

"Multi-Source Collaborative Style Augmentation and Domain-Invariant Learning for Federated Domain Generalization", IJCAI 2025

10Python, ShellMay 25, 20251 years agoMIT

Similar Papers

Cite this paper

@article{park2023stablefdg,
  title  = {StableFDG: Style and Attention Based Learning for Federated Domain Generalization},
  author = {Jun-Gyu Park and Dong-Jun Han and Jinho Kim and Shiqiang Wang and Christopher G. Brinton and Jaekyun Moon},
  year   = {2023},
  eprint = {2311.00227},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2311.00227},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.00227.svg)](https://codeofpaper.com/paper/2311.00227)

Discussion