Abstract
Federated Learning (FL) often struggles with statistical heterogeneity among clients. While Clustered Federated Learning (CFL) addresses this by grouping similar clients, existing methods like IFCA require prior knowledge of the cluster count and high-quality initialization. This paper presents Successive Refine Federated Clustering Algorithm (SR-FCA), a bottom-up framework that discovers clusters automatically from a random start. By leveraging robust statistics to handle mis-clustered "impurities," SR-FCA achieves superior accuracy and clustering precision on benchmarks like CIFAR10 and Shakespeare.
Introduction
Standard Federated Learning (FL) aims to train a single global model across decentralized devices. However, this "one-size-fits-all" approach often fails when clients have highly diverse data distributions. For instance, a predictive text model for a teenager will differ significantly from one for a medical professional.
Clustered Federated Learning (CFL) addresses this by grouping similar clients. However, state-of-the-art algorithms like IFCA suffer from two major drawbacks: the Initialization Trap, requiring a "warm start" to converge, and the "K" Problem, requiring prior knowledge of the exact number of clusters. SR-FCA overcomes these by using a bottom-up approach that discovers the cluster structure dynamically.
The SR-FCA Framework
SR-FCA operates in two main phases to iteratively refine client groupings:
- ONE_SHOT Initialization: Clients train local models briefly. The server then builds a graph where edges connect clients with similar models (based on a distance threshold $\lambda$). Connected components in this graph form the initial clusters.
- The REFINE Loop: This phase iteratively improves clusters using three sub-routines:
- TrimmedMeanGD: Instead of simple averaging, the server uses a "trimmed mean" to aggregate gradients. This robust technique ignores "impurities"—clients accidentally placed in the wrong cluster—allowing the model to converge toward the true local optimum.
- RECLUSTER: Clients are reassigned to the cluster whose model yields the lowest local loss.
- MERGE: If two cluster models become sufficiently similar, they are merged into one.
Robustness and Impurities
Handling impurities and cluster splitting during the refinement process. Source, p. 4
A key innovation in SR-FCA is treating mis-clustered clients as "impurities" or attackers. By using TrimmedMeanGD, the algorithm prevents these outliers from pulling the cluster model away from its true center. This "purity" eventually makes it easier for mis-clustered clients to identify their correct group during the RECLUSTER step.
Experimental Evaluation
The researchers evaluated SR-FCA on both simulated (MNIST, CIFAR10) and real-world (FEMNIST, Shakespeare) benchmarks. Key results include:
- Superior Accuracy: On CIFAR10, SR-FCA achieved a 5% higher test accuracy than IFCA.
- Clustering Precision: In tests with known ground-truth clusters, SR-FCA recovered the correct structure with zero error, whereas baselines often struggled with mis-clustering.
- Real-World Utility: On the Shakespeare dataset, SR-FCA outperformed both global models and local-only training, demonstrating its effectiveness in complex natural language settings.
Complexity and Efficiency
While SR-FCA provides higher accuracy, it introduces different computational trade-offs compared to IFCA. The algorithm's reliance on pairwise distances or cross-cluster losses can impact communication overhead.
As shown in the complexity analysis, SR-FCA's forward pass requirements scale with the number of clusters ($K$) and refinement steps ($R$), rather than the total training iterations ($T$), which can be advantageous in specific federated settings.
Conclusion and Future Work
SR-FCA represents a significant step toward automated, robust clustered federated learning. By removing the need for a warm start and a pre-defined $K$, it offers a more flexible solution for heterogeneous environments. Future work may focus on reducing the sensitivity to the distance threshold $\lambda$ and integrating advanced optimizers like FedProx to further enhance stability in noisy environments.
Summary updated