Papers › Federated Domain Generalization for Image Recognition via Cross-Client Style Transfer

Federated Domain Generalization for Image Recognition via Cross-Client Style Transfer

3 Oct 2022arXiv:2210.00912archive 2025-07-28

Junming Chen, Meirui Jiang, Qi Dou, Qifeng Chen

Domain generalization (DG) has been a hot topic in image recognition, with a goal to train a general model that can perform well on unseen domains. Recently, federated learning (FL), an emerging machine learning paradigm to train a global model from multiple decentralized clients without compromising data privacy, brings new challenges, also new possibilities, to DG. In the FL scenario, many existing state-of-the-art (SOTA) DG methods become ineffective, because they require the centralization of data from different domains during training. In this paper, we propose a novel domain generalization method for image recognition under federated learning through cross-client style transfer (CCST) without exchanging data samples. Our CCST method can lead to more uniform distributions of source clients, and thus make each local model learn to fit the image styles of all the clients to avoid the different model biases. Two types of style (single image style and overall domain style) with corresponding mechanisms are proposed to be chosen according to different scenarios. Our style representation is exceptionally lightweight and can hardly be used for the reconstruction of the dataset. The level of diversity is also flexible to be controlled with a hyper-parameter. Our method outperforms recent SOTA DG methods on two DG benchmarks (PACS, OfficeHome) and a large-scale medical image dataset (Camelyon17) in the FL setting. Last but not least, our method is orthogonal to many classic DG methods, achieving additive performance by combined utilization.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2210.00912")

Code

Syntology Ran 1 of 12 code samples harvested from 1 repository linked to this paper; 11 have no recorded run. Of those that ran: 1 ran with no contract checked.

By repository: official repository: 12 samples from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

JeremyCJM/CCST officialmentioned on GitHubpytorchCC0-1.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 1 ran; 0 honoured the contract we drafted; 11 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran
11unverified

Licence: 0 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from JeremyCJM/CCST. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

test_transform JeremyCJM/CCST/style_transfer/AdaIN/CCST_OverallStyleTransfer.py official repository ran CC0-1.0 (permissive) · 44b1906941c2c3ed · report
calc_mean_std JeremyCJM/CCST/reconstruct_img/imagenet_reconstruct.py official repository unverified CC0-1.0 (permissive) · 2d434599536522ee · report
calc_sum JeremyCJM/CCST/style_transfer/AdaIN/CCST_SingleStyleTransfer.py official repository unverified CC0-1.0 (permissive) · c72f36159b491762 · report
cast_to_image JeremyCJM/CCST/reconstruct_img/imagenet_reconstruct.py official repository unverified CC0-1.0 (permissive) · b1dd5c49ef99e5a4 · report
classifier JeremyCJM/CCST/utils/rsc_utils_densenet.py official repository unverified CC0-1.0 (permissive) · f6256149c0715845 · report
featurizer JeremyCJM/CCST/utils/rsc_utils_densenet.py official repository unverified CC0-1.0 (permissive) · 95bbc26484035020 · report
max_test JeremyCJM/CCST/read_log.py official repository unverified CC0-1.0 (permissive) · 9d5f72743fd7ee70 · report
train_fedprox JeremyCJM/CCST/federated/fed_run.py official repository unverified CC0-1.0 (permissive) · 3c6e4c6321f0a002 · report
train_meta JeremyCJM/CCST/federated/fed_run.py official repository unverified CC0-1.0 (permissive) · 660e83a7dc5113e8 · report
update JeremyCJM/CCST/utils/rsc_utils_densenet.py official repository unverified CC0-1.0 (permissive) · 69f7b99ec0fda254 · report
validate JeremyCJM/CCST/reconstruct_img/imagenet_reconstruct.py official repository unverified CC0-1.0 (permissive) · 7114e27587038e77 · report
validate JeremyCJM/CCST/reconstruct_img/imagenet_reconstruct_lpips.py official repository unverified CC0-1.0 (permissive) · a5faead5c0894c58 · report

Tasks

Domain GeneralizationFederated LearningStyle Transfer

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections