Introduction
Federated Learning (FL) enables collaborative model training across distributed devices without centralizing raw data. However, a primary obstacle to efficient FL is statistical heterogeneity, or non-IID data distribution across clients. This heterogeneity causes client drift, where local model updates diverge significantly from the global objective, leading to slow convergence or suboptimal performance. Standard algorithms like FedAvg often struggle to reconcile these conflicting updates.
Methodology: Synchronization as Optimization
The proposed Kuramoto-FedAvg algorithm addresses client drift by drawing an analogy between model updates and coupled oscillators. In the Kuramoto model, individual oscillators synchronize their phases based on their relative alignment.
In the context of FL, each client's update is treated as an oscillator in a high-dimensional parameter space. The algorithm proceeds as follows:
- Directional Analysis: The central server computes the cosine similarity between each client's update and the aggregate global update.
- Dynamic Sync Weighting: Instead of uniform or data-size-based averaging, the server assigns a "sync weight." Updates that align with the global direction (in-phase) are amplified, while divergent updates (out-of-phase) are suppressed.
- Synchronization Strength ($\kappa_0$): A tunable parameter determines the intensity of this alignment enforcement.
This mechanism acts as a "conductor," filtering out dissonant updates at the aggregation step without requiring additional local memory or communication overhead.
Experimental Results
Convergence and Stability
The researchers evaluated the stability of the training process by measuring the variance of training loss ($\sigma^2$) across clients. Lower variance indicates that the global model is less susceptible to being pulled in conflicting directions by biased local updates.
As shown in Figure 1, Kuramoto-FedAvg achieves stable variance levels significantly earlier than baselines, particularly in MNIST and FMNIST tasks. This suggests a more robust and predictable convergence path.
Accuracy Performance
The algorithm was tested against FedAvg and SCAFFOLD using MNIST, Fashion-MNIST (FMNIST), and CIFAR-10 datasets under varying degrees of heterogeneity (controlled by the number of shards per client, $\lambda$).
Figure 4 highlights the performance gains. On the complex CIFAR-10 dataset with high heterogeneity ($\lambda=3$), Kuramoto-FedAvg outperforms standard FedAvg by approximately 10–15% in final accuracy. The benefit persists across different client counts (10 vs. 20), demonstrating the scalability of the synchronization approach.
Conclusion
Kuramoto-FedAvg provides a novel perspective on federated optimization by framing weight aggregation as a synchronization problem. By dynamically weighting updates based on their directional alignment, the method effectively mitigates client drift. Future work will explore the application of these dynamics to massive-scale networks and decentralized topologies.
Summary updated