FedSCAl: Leveraging Server and Client Alignment for Unsupervised Federated Source-Free Domain Adaptation

M. Yashwanth, Sampath Koti, Arunabh Singh, Shyam Marjit, Anirban Chakraborty

TL;DR

FedSCAl introduces a novel framework for Federated Source-Free Domain Adaptation (FFreeDA), where clients train on unlabeled data using only a pre-trained server model. By implementing a Server-Client Alignment (SCAl) mechanism alongside dynamic adaptive thresholding, it successfully mitigates client-drift caused by extreme data heterogeneity. The framework consistently outperforms existing state-of-the-art federated learning methods across multiple standard vision benchmarks.

What Problem Does This Paper Address?

Standard Federated Learning (FL) typically relies on clients having fully labeled datasets. In real-world applications, however, data annotation is expensive, time-consuming, and often restricted by privacy constraints.

To solve this, researchers use Federated Source-Free Domain Adaptation (FFreeDA). In this setup, a central server provides a model pre-trained on a labeled source dataset, and multiple clients must adapt this model to their own unlabeled target datasets. The catch? The server cannot share the original source data due to privacy or logistical constraints, and the clients face significant "domain gaps" (covariate shifts) between each other and the source data.

When clients try to self-train using standard pseudo-labeling techniques, they suffer from client-drift—overfitting to their local, heterogeneous data distributions. This causes the local models to diverge drastically, ultimately leading to a sub-optimal aggregated global model. Existing solutions try to group clients using clustering, but their performance is highly sensitive to cluster quality and can introduce privacy risks.

FFreeDA Setup: Multiple clients with unlabeled data from different domains communicating with a central server holding a pre-trained model.

Methods

The authors propose FedSCAl, a clustering-free framework that stabilizes pseudo-labeling by aligning local client predictions with the global server model.

1. Server-Client Alignment (SCAl) Mechanism

Instead of grouping clients, FedSCAl uses the global server model as an anchor. During local training, each client minimizes a joint objective function consisting of:

  • Local Adaptation Loss ($L^{\text{LoA}}$): Standard information maximization and pseudo-labeling losses to adapt to local data.
  • Client Alignment Loss ($L^l$): Ensures consistency between the client model's predictions on weakly and strongly augmented versions of the same image.
  • Server Alignment Loss ($L^g$): Uses Kullback-Leibler (KL) divergence to align the client model's predictions with the global server model's predictions on weakly augmented images.
Overview of the proposed FedSCAl framework showing weak/strong augmentations and alignment loss computation during a communication round.

2. Adaptive Thresholding

Standard pseudo-labeling filters out low-confidence predictions using a fixed threshold ($\tau$). However, a fixed threshold fails when clients have varying levels of domain difficulty or confidence.

FedSCAl introduces a dynamic thresholding approach based on the skewness ($\gamma$) of the prediction entropy distribution.

  • Positive Skewness: Indicates the client model is highly confident (low entropy). The threshold is tightened to keep out potential noise.
  • Negative Skewness: Indicates the model is struggling/uncertain (high entropy). The threshold is relaxed to ensure the model still receives enough training signals.

Datasets

The framework was evaluated across three widely used vision benchmarks adapted to a cross-silo federated setup:

  • Office-Home: 4 domains (Art, Clipart, Product, Real-World) split across 15 clients.
  • DomainNet: A highly challenging dataset with 6 domains (Clipart, Infograph, Painting, Quickdraw, Real, Sketch) split across 10 clients.
  • Office-31: 3 domains (Amazon, DSLR, Webcam) split across 6 clients.

Key Insights and Ideas

  • Global Anchoring Overcomes Local Drift: The "aha moment" of the paper is that explicitly regularizing client models against the global server model prevents them from overfitting to their local domain quirks. This eliminates the need for complex, privacy-risky client clustering.
  • Entropy Skewness Matters: Looking at the shape (skewness) of the entropy distribution across a batch provides a much better indicator of model adaptation quality than simply looking at raw average confidence scores.
  • Dual-Model Supervision: The authors mathematically demonstrate that combining both local and global predictions strictly increases the probability of obtaining correct supervision compared to relying on either model alone.
Pseudo-label prediction accuracy difference (left) and entropy density visualization demonstrating positive and negative skewness across clients (right).

Key Results

FedSCAl consistently achieved state-of-the-art performance across all datasets and source-to-target domain configurations:

  • Office-Home: FedSCAl achieved up to a 3.50% accuracy improvement over the standard federated baseline (FedLoA) when initialized with an Art pre-trained server model.
  • DomainNet: In highly heterogeneous scenarios, FedSCAl delivered massive gains. For instance, with a Real-domain pre-trained server model, FedSCAl outperformed FedProx by 11.57% and FedMOON by 6.35% in average accuracy.
  • Office-31: FedSCAl achieved the highest average accuracy across all settings, reaching 96.46% when initialized on Amazon data.
Performance comparison of different methods on the Office-Home dataset, highlighting FedSCAl's superior accuracy.

Limitations and Future Work

While FedSCAl is highly effective, the authors note a couple of limitations:

  1. Predefined Class Count: The framework assumes that the number of target classes is fixed and known beforehand across all clients.
  2. Static Distributions: It does not account for open-set scenarios or environments where class distributions dynamically evolve over time (continual learning).

The authors point to adapting FedSCAl for evolving class distributions as a vital direction for future work.

Summary updated

BibTeX
@inproceedings{yashwanth2026fedscal,
  author = {M. Yashwanth and Sampath Koti and Arunabh Singh and Shyam Marjit and Anirban Chakraborty},
  title = {{FedSCAl: Leveraging Server and Client Alignment for Unsupervised Federated Source-Free Domain Adaptation}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2026},
  doi = {10.1109/wacv61042.2026.00400},
}
Figure