Abstract
In massive Fog or Edge networks, standard Federated Learning (FL) faces significant communication bottlenecks and energy constraints. Semi-decentralized FL (SD-FL) addresses this by utilizing local device-to-device (D2D) communication within subnets. However, non-IID data distributions lead to "subnet-drift," where local clusters converge toward biased optima. This paper introduces Semi-Decentralized Gradient Tracking (SD-GT), which employs a dual-tracking mechanism to eliminate drift. By maintaining separate correction terms for intra-subnet and inter-subnet gradients, SD-GT achieves faster convergence and higher accuracy while minimizing expensive long-distance communication.
Introduction
Standard FL architectures typically employ a star topology, requiring every device to communicate directly with a central server. In Fog computing environments, this approach is often impractical due to the high energy cost and latency of long-distance device-to-server (DS) links. SD-FL offers a more scalable alternative by grouping devices into local subnets (e.g., sensors in a specific factory) that perform frequent, low-cost D2D consensus rounds before occasionally syncing with the central server.
Despite its efficiency, SD-FL is vulnerable to subnet-drift when data is heterogeneous (non-IID). In such scenarios, subnets diverge from the global objective, a problem that existing methods struggle to solve without unrealistic assumptions about data similarity.
Mitigating Subnet-Drift via Dual Tracking
The core innovation of SD-GT is its dual-level gradient tracking. Unlike standard methods, SD-GT does not assume "bounded gradient diversity." Instead, it "learns" and cancels out data bias through two distinct correction terms:
- Within-subnet tracking ($z_i^t$): Corrects the discrepancy between an individual device's local gradient and its subnet's average gradient.
- Between-subnet tracking ($y_i^t$): Corrects the drift between the subnet's average and the global gradient maintained at the server.
By integrating these terms into the local update step, SD-GT ensures that every device is "nudged" toward the global optimum. Furthermore, a Dynamic Control Algorithm based on Geometric Programming (GP) allows the server to adaptively tune the number of D2D rounds ($K$) and sampling rates ($\beta_s$), optimizing the trade-off between training speed and energy consumption.
Experimental Evaluation
The researchers evaluated SD-GT across several benchmarks, including MNIST, CIFAR-10, CIFAR-100, and a synthetic least-squares problem.
- Accuracy and Robustness: On the highly heterogeneous CIFAR-100 dataset, SD-GT significantly outperformed SD-FedAvg and SCAFFOLD. It remained robust even in sparsely connected subnets where neighbor-to-neighbor communication is limited.
- Convergence: For strongly convex problems, SD-GT achieves a linear convergence rate, providing a strong theoretical foundation for hierarchical decentralized learning.
- Efficiency: The adaptive control mechanism allowed the system to reach target accuracy with lower total energy costs by intelligently increasing cheap D2D rounds as the model matured.
Conclusion
SD-GT provides a robust framework for learning in heterogeneous Fog networks by effectively taming subnet-drift. While the current model assumes synchronous communication and static topologies, it sets a new benchmark for hierarchical FL. Future research will focus on handling "straggler" devices through asynchronous updates and managing dynamic device mobility between subnets.
Summary updated