Introduction
Federated Learning (FL) enables collaborative model training across decentralized clients without compromising raw data privacy. However, real-world deployments often encounter domain shift, where data distributions vary significantly between clients (e.g., different medical imaging hardware across hospitals). While Federated Domain Adaptation (FDA) aims to mitigate this, most existing approaches assume the "target" client possesses substantial unlabeled data. In practice, target clients often face the dual challenge of severe domain shift and extreme data scarcity.
FedDAF (Federated Domain Adaptation Using Model Functional Distance) is proposed to address these constraints. It intelligently aggregates a target client's local model with a global source model by measuring "model functional distance" via gradient fields, ensuring that only objective-aligned knowledge is transferred.
The FedDAF Framework
The core innovation of FedDAF lies in its target-centric aggregation mechanism, which uses gradients as a proxy for relevance. The process follows five key stages:
- Global Source Model Creation: Source clients perform local training and transmit their models to a central server, which produces a global source model through simple averaging.
- Gradient Field Computation: Upon receiving the global model, the target client evaluates the mean gradient fields of both its local model and the global source model using its limited local data.
- Model Functional Distance: The method calculates the cosine similarity between these two gradient fields. This metric quantifies the alignment between the global source knowledge and the target's specific objective.
- Gompertz Normalization: The resulting similarity is mapped to a weight ($\alpha \in [0, 1]$) using a Gompertz function.
- Target-Centric Aggregation: The target client uses $\alpha$ to merge the global source model with its local model, pulling the target model toward the global source only when it is demonstrably beneficial.
Experimental Evaluation
The authors evaluated FedDAF across controlled and real-world domain shift scenarios:
- Controlled Shift (CIFAR-10): Source clients were partitioned using a Dirichlet distribution. Domain shift was simulated by adding Gaussian noise (varying standard deviations) to the target client's data.
- Real-World Shift: Benchmarks included PACS (Photo, Art, Cartoon, Sketch), VLCS, and Office-Caltech10.
- Data Scarcity: To test robustness, the target client was restricted to minimal training data (e.g., 2% for PACS/VLCS and 5% for CIFAR-10).
Results and Discussion
FedDAF consistently outperformed standard FL (FedAvg), personalized FL (FedDWA), and state-of-the-art FDA methods like FedGP.
As shown in the table above, FedDAF maintains superior accuracy even under extreme conditions. For instance, with a noise level of 0.9 and only 5% data scarcity, FedDAF achieved 36.27% accuracy, significantly higher than FedGP (33.21%) and FedAvg (13.9%). On the real-world PACS dataset, FedDAF reached 60.35% accuracy using only 2% training data, outperforming the next best method by over 11 percentage points.
These results highlight that "model functional distance" is a reliable similarity metric even with very small batches of target data. By empowering the target client to control knowledge absorption, FedDAF effectively balances local specialization with global generalization.
Summary updated