SGFusion: Stochastic Geographic Gradient Fusion in Federated Learning

Khoa Nguyen, Khang Tran, NhatHai Phan, Cristian Borcea, Ruoming Jin, Issa KhalilarXiv 2025 · DOI

Introduction

Federated Learning (FL) has emerged as a privacy-preserving paradigm for training machine learning models across decentralized data sources. However, a significant challenge remains: the "non-IID" (non-Independently and Identically Distributed) nature of data across different geographic regions. For instance, physiological data like heart rate patterns can vary drastically between populations due to environmental and lifestyle factors.

Standard "Zone FL" approaches, which train separate models for specific geographic areas, face a critical trade-off. Isolated training often leads to poor performance in data-sparse zones, while exhaustive gradient sharing across all zones introduces prohibitive computational costs and risks "gradient discrepancy," where dissimilar data distributions degrade model accuracy. SGFusion addresses this by intelligently sharing knowledge between zones using a Hierarchical Random Graph (HRG) and stochastic sampling.

System Architecture

SGFusion operates across a three-layer hierarchy designed to balance global knowledge discovery with local training efficiency.

The three-layer SGFusion architecture spanning cloud, edge, and geographical zones.
  1. Cloud Layer: Responsible for global coordination. It constructs a probabilistic dendrogram representing the statistical relationships between all participating zones using Markov Chain Monte Carlo (MCMC) sampling.
  2. Edge Layer: Houses FL Zone Managers (e.g., base stations) that coordinate training for local mobile devices and communicate with the cloud and other zones.
  3. Geographical and Mobile Layer: The source of raw data, where mobile devices perform local training and send updates to their respective Zone Managers.

The SGFusion Algorithm

The core innovation of SGFusion lies in its transition from static, proximity-based sharing to dynamic, similarity-based fusion. The process begins with the cloud server building a Hierarchical Random Graph (HRG) using differentially private label histograms from each zone. This structure identifies "statistically close" zones, regardless of their physical distance.

During the training phase, SGFusion employs a stochastic approach to gradient fusion. Instead of communicating with every other zone, a Zone Manager samples a small, optimal subset of similar zones from the HRG.

Algorithm 2: The SGFusion training process utilizing stochastic sampling and attention-based fusion.

As detailed in Algorithm 2, the local gradient is fused with sampled gradients using self-attention weights ($\lambda_{z,z'}$). This ensures that the most relevant external knowledge has the highest impact on the local model update, effectively automating cross-regional knowledge transfer while maintaining system scalability.

Experimental Evaluation

The framework was evaluated using a Heart Rate Prediction (HRP) dataset containing approximately 168,000 records from 956 users across 33 countries. The primary task involved predicting heart rates using an LSTM model based on features such as altitude, speed, and distance.

Key Results

  • Superior Utility: SGFusion achieved a 3.23% average improvement in model utility across major test countries (Norway, Spain, US, Thailand, France, and Poland) compared to state-of-the-art baselines like D-ZGD.
  • Enhanced Coverage: In a case study of Poland, SGFusion improved model performance in 12 distinct zones—a 200% increase over previous methods which only benefited 4 zones.
  • Privacy and Efficiency: By utilizing the Laplace mechanism for Differential Privacy, the system maintained high utility (only a 0.15% drop) while ensuring data privacy. Furthermore, the hierarchical structure ensures that the algorithm's complexity scales linearly with the number of zones.

Conclusion

SGFusion demonstrates that stochasticity and hierarchical modeling can overcome the traditional bottlenecks of geographic Federated Learning. By prioritizing statistical similarity over physical proximity and using efficient sampling techniques, SGFusion provides a scalable, privacy-preserving path toward high-performance global models.

Summary updated

BibTeX
@misc{nguyen2025sgfusion,
  author = {Khoa Nguyen and Khang Tran and NhatHai Phan and Cristian Borcea and Ruoming Jin and Issa Khalil},
  title = {{SGFusion: Stochastic Geographic Gradient Fusion in Federated Learning}},
  year = {2025},
  eprint = {2510.23455},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.23455},
}
Figure