Papers › Towards Data-Free Domain Generalization

Towards Data-Free Domain Generalization

9 Oct 2021arXiv:2110.04545archive 2025-07-28

Ahmed Frikha, Haokun Chen, Denis Krompaß, Thomas Runkler, Volker Tresp

In this work, we investigate the unexplored intersection of domain generalization (DG) and data-free learning. In particular, we address the question: How can knowledge contained in models trained on different source domains be merged into a single model that generalizes well to unseen target domains, in the absence of source and target domain data? Machine learning models that can cope with domain shift are essential for real-world scenarios with often changing data distributions. Prior DG methods typically rely on using source domain data, making them unsuitable for private decentralized data. We define the novel problem of Data-Free Domain Generalization (DFDG), a practical setting where models trained on the source domains separately are available instead of the original datasets, and investigate how to effectively solve the domain generalization problem in that case. We propose DEKAN, an approach that extracts and fuses domain-specific knowledge from the available teacher models into a student model robust to domain shift. Our empirical evaluation demonstrates the effectiveness of our method which achieves first state-of-the-art results in DFDG by significantly outperforming data-free knowledge distillation and ensemble baselines.

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="2110.04545")

Code

Syntology Ran 15 of 20 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 2 ran · honoured contract; 7 ran · our draft was wrong; 1 ran · fixture could not drive it; 5 ran with no contract checked.

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

HaokunChen245/DFDG officialmentioned in papermentioned on GitHubpytorch 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

20 samples harvested; 15 ran; 2 honoured the contract we drafted; 5 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.

2ran · honoured contract
7ran · our draft was wrong
1ran · fixture could not drive it
5ran
5unverified

Licence: 0 of the 20 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 HaokunChen245/DFDG. “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.

MNISTM HaokunChen245/DFDG/dfdg/training/train_student_syn_img.py official repository ran Apache-2.0 (permissive) · cd7b9603cbce6487 · report
OfficeHome HaokunChen245/DFDG/dfdg/training/train_student_syn_img.py official repository ran Apache-2.0 (permissive) · 52e13479de87ebea · report
PACS HaokunChen245/DFDG/dfdg/training/train_student_syn_img.py official repository ran Apache-2.0 (permissive) · c8899dbd625b82a7 · report
VLCS HaokunChen245/DFDG/dfdg/training/train_student_syn_img.py official repository ran Apache-2.0 (permissive) · 7988844fd79a2a10 · report
evaluate_oneset HaokunChen245/DFDG/dfdg/training/train_student_syn_img.py official repository ran · honoured contract Apache-2.0 (permissive) · bf5c752f1fdd2344 · report
get_abbr_map HaokunChen245/DFDG/dfdg/training/train_student_syn_img.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 7e028dd7cef44939 · report
get_class_names HaokunChen245/DFDG/dfdg/training/train_student_syn_img.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 38e9002eb1f23978 · report
get_class_number HaokunChen245/DFDG/dfdg/training/train_student_syn_img.py official repository ran · honoured contract fingerprinted Apache-2.0 (permissive) · 068a32afcb1a875d · report
get_net HaokunChen245/DFDG/dfdg/training/train_student_syn_img.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 9966b8ec681f4404 · report
get_source_domains HaokunChen245/DFDG/dfdg/training/train_student_syn_img.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 56fb6475cb294744 · report
get_source_domains_abbr HaokunChen245/DFDG/dfdg/training/train_student_syn_img.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 32c7347d3ae61759 · report
kl_loss HaokunChen245/DFDG/dfdg/training/train_student_syn_img.py official repository ran · fixture could not drive it fingerprinted Apache-2.0 (permissive) · 7ee01bf5efd50d92 · report
lr_cosine_policy HaokunChen245/DFDG/dfdg/training/train_student_syn_img.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 9fd6750328ee3f9a · report
lr_policy HaokunChen245/DFDG/dfdg/training/train_student_syn_img.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 8879e55d89cdc808 · report
miniDomainNet HaokunChen245/DFDG/dfdg/training/train_student_syn_img.py official repository ran Apache-2.0 (permissive) · 1bf3b903e2947d69 · report
BaseDataset HaokunChen245/DFDG/dfdg/training/train_student_syn_img.py official repository unverified Apache-2.0 (permissive) · bbd4ba6ba7e4b9d1 · report
Digits HaokunChen245/DFDG/dfdg/training/train_student_syn_img.py official repository unverified Apache-2.0 (permissive) · 0f3ead3a52a4792f · report
FAKE HaokunChen245/DFDG/dfdg/training/train_student_syn_img.py official repository unverified Apache-2.0 (permissive) · 302b7a0d15a99b07 · report
get_dataset HaokunChen245/DFDG/dfdg/training/train_student_syn_img.py official repository unverified Apache-2.0 (permissive) · 18be128efd090a2d · report
train_student_syn_img HaokunChen245/DFDG/dfdg/training/train_student_syn_img.py official repository unverified Apache-2.0 (permissive) · 307f729c69e1ba8f · report

Tasks

Data-free Knowledge DistillationDomain GeneralizationKnowledge Distillation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Knowledge Distillation

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