Federated Learning (FL) typically assumes that clients are consistently available for training. However, in real-world deployments—such as mobile phones or IoT devices—clients are often intermittent due to connectivity issues or power constraints. This paper, presented at AAAI-23, introduces FedGS (Federated Graph-based Sampling), a framework designed to maintain model stability and fairness under arbitrary client availability patterns.
The Challenge of Intermittent Availability
Unpredictable client availability introduces two primary complications in FL:
- Instability: When a server samples only from currently active clients, the resulting update may poorly represent the global population, leading to high variance in training and slow convergence.
- Long-term Bias: Clients that are online more frequently (e.g., due to time zones or superior hardware) can dominate the global model, causing it to drift toward their specific data distributions and "forget" rare participants.
Existing methods often struggle to balance these issues, either sacrificing convergence speed or fairness. FedGS addresses both by modeling client relationships and optimizing selection based on diversity and historical participation.
Methodology: The Data-Distribution-Dependency Graph (3DG)
The core innovation of FedGS is the Data-Distribution-Dependency Graph (3DG). In this graph, each client is represented as a node, and edges denote the similarity between their data distributions.
Diversity and Fairness Optimization
To achieve an optimal approximation of a full population update, FedGS selects a subset of available clients that are "far apart" on the 3DG, maximizing diversity. Simultaneously, it prioritizes clients with the lowest historical sampling counts to ensure long-term fairness. This dual-objective optimization ensures that "rare" clients are prioritized the moment they become available, provided they contribute unique information to the current round.
Privacy-Preserving Construction
To build the 3DG without accessing raw data, the authors use a "functional similarity" approach. The server sends random Gaussian noise to clients, who return their models' internal embeddings for that noise. The server then compares these embeddings to map client relationships, maintaining the privacy-centric nature of FL.
Experimental Results
FedGS was evaluated against standard benchmarks including CIFAR-10, FashionMNIST, and highly imbalanced synthetic datasets across seven distinct availability modes.
Superior Stability and Convergence
In nearly all scenarios, FedGS achieved lower test loss and smoother convergence than baselines like Uniform Sampling or FedProx. For instance, on synthetic data, FedGS remained within 5% of the performance of an "ideal" (always-on) scenario, whereas uniform sampling saw a 20% degradation.
Visualized Fairness
One of the most striking results is the uniformity of client participation. While other methods heavily favor "always-on" clients, FedGS produces a remarkably balanced distribution of sampling counts across the entire client pool, regardless of their individual availability patterns.
Conclusion and Future Work
FedGS provides a robust solution for FL in unstable environments by leveraging graph-based diversity and fairness constraints. While highly effective, future research may address the "cold start" problem for new clients joining mid-training and the computational complexity of solving the p-dispersion problem in massive-scale networks.
Summary updated