Introduction
Federated Learning (FL) faces a significant challenge in handling statistically heterogeneous, or "Non-IID," data across clients. When data distributions vary wildly, training a single global model often results in suboptimal performance for all participants. Clustered Federated Learning (CFL) addresses this by grouping clients with similar distributions to train specialized cluster models.
However, traditional CFL methods like IFCA identify these clusters iteratively during the training process. This approach is communication-intensive, requires pre-defining the number of clusters, and struggles with "newcomer" clients. This paper introduces PACFL (Principal Angles for Clustered Federated Learning), a framework that identifies distribution similarities in a single shot before training begins, drastically improving efficiency and accuracy.
The PACFL Framework
PACFL leverages the geometric properties of data to measure similarity without sharing raw information. The process follows four distinct steps:
- Client-Side Signature Extraction: Each client performs a truncated Singular Value Decomposition (SVD) on their local data matrix to extract the top $p$ left singular vectors. These vectors act as a compact "signature" of the client's data subspace.
- Server-Side Angle Analysis: The server calculates the principal angles between these subspaces. Smaller angles indicate higher statistical alignment between client datasets.
- One-Shot Clustering: Using these angles, the server constructs a proximity matrix and applies Agglomerative Hierarchical Clustering. A distance threshold ($\beta$) allows the server to automatically determine the optimal number of clusters.
- Federated Training: Standard FL (e.g., FedAvg) is then executed independently within each established cluster.
Experimental Evaluation
The authors evaluated PACFL across standard benchmarks (CIFAR-10, CIFAR-100, SVHN, FMNIST, USPS) and a custom MIX-4 dataset designed to simulate extreme real-world heterogeneity by mixing four distinct datasets across 100 clients.
Accuracy and Personalization
PACFL consistently outperformed state-of-the-art baselines. On CIFAR-100 with 20% label skew, PACFL achieved 73.10% accuracy, compared to IFCA's 71.84% and FedAvg's 53.73%. On the challenging MIX-4 dataset, PACFL correctly identified the four underlying clusters and achieved 77.83% accuracy, while IFCA (forced to guess two clusters) reached only 70.32%.
The threshold parameter $\beta$ serves as a natural dial for personalization. As shown in the experimental results, tuning $\beta$ allows the system to find the optimal balance between global generalization and local specialization.
Communication Efficiency and Newcomers
By clustering before training, PACFL avoids the unstable early rounds typical of iterative clustering methods. To reach 80% accuracy on CIFAR-10, PACFL required only 24 rounds, whereas FedAvg failed to reach that target even after 200 rounds. Furthermore, PACFL excels at integrating newcomer clients; by simply submitting their SVD signature, new clients are instantly assigned to the correct cluster, achieving 87.14% accuracy on CIFAR-10 compared to PerFedAvg's 73.79%.
Key Insights and Future Work
The core innovation of PACFL is using subspace geometry as a proxy for distribution similarity. This method captures relationships similar to complex metrics like Maximum Mean Discrepancy (MMD) but with significantly lower computational and communication overhead.
While the transmission of singular vectors is more private than sharing raw data, the authors note that it does not provide a perfect privacy guarantee. Future work involves integrating PACFL with Secure Aggregation or Differential Privacy to enhance security in highly sensitive environments. Additionally, the authors recommend using trace-based summation metrics to handle potential subspace misalignments when multiple principal vectors are extracted.
Summary updated