Abstract
Asynchronous Decentralized Federated Learning (ADFL) offers a promising path toward scalable machine learning on edge devices by removing central server bottlenecks. However, ADFL faces significant challenges regarding model staleness and data non-IIDness. We present DySTop, a novel framework that jointly optimizes worker activation and network topology. By employing Lyapunov optimization and a phase-aware topology construction strategy, DySTop reduces training time by 51.8% and communication overhead by 57.1% compared to state-of-the-art methods while maintaining high accuracy on non-IID data.
Introduction
Federated Learning (FL) typically relies on a central server to aggregate models from edge devices, creating a massive communication bottleneck and a single point of failure. Decentralized FL (DFL) removes the server, allowing workers to swap models peer-to-peer. However, DFL faces two major hurdles: the straggler problem in synchronous settings and the staleness problem in asynchronous settings. Asynchronous DFL (ADFL) allows workers to move at their own pace, but this can lead to outdated model aggregations that degrade accuracy, especially when data is non-IID (Independent and Identically Distributed).
Existing solutions often ignore the network topology or fail to control staleness dynamically, leading to high communication costs and slow convergence. DySTop addresses these issues through a joint optimization of worker activation and network topology.
Methods
The DySTop framework tackles the challenges of ADFL through three core components designed to balance model freshness with training speed.
1. Lyapunov Optimization
To handle the "round-coupled" nature of staleness—where decisions today affect staleness tomorrow—DySTop uses Lyapunov drift-plus-penalty theory. This transforms a complex long-term constraint into a series of manageable, per-round optimization subproblems.
2. Worker Activation Algorithm (WAA)
This algorithm determines the "active set" of workers for each round. It balances the need for fresh models (staleness control) against the desire to minimize the duration of the training round, finding a mathematical "sweet spot" for activation.
3. Phase-aware Topology Construction Algorithm (PTCA)
DySTop employs a two-stage approach to building the P2P network:
- Phase 1 (Early Training): Focuses on overcoming data non-IIDness. It uses Earth Mover’s Distance (EMD) to pair workers with significantly different data distributions, effectively "mixing" the data to simulate a more global distribution.
- Phase 2 (Late Training): Shifts focus to staleness control and neighbor diversity. It prioritizes pulling models from neighbors that haven't been contacted recently and those with similar staleness levels.
Evaluation and Results
The researchers evaluated DySTop using standard benchmarks (FMNIST, CIFAR-10, SVHN, CIFAR-100) across both simulated environments (100 workers) and a real-world testbed of 15 NVIDIA Jetson devices (Nano, Orin, Xavier).
- Efficiency Gains: Compared to state-of-the-art asynchronous methods like SA-ADFL, DySTop reduced completion time by 51.8% and communication resource consumption by 57.1%.
- Robustness to Non-IID Data: On highly skewed datasets, DySTop maintained significantly higher accuracy. For ResNet-18 on CIFAR-10, it achieved ~81% accuracy, while competitors lagged between 67% and 78%.
- Hardware Validation: In the physical testbed, DySTop reduced completion time for SqueezeNet on SVHN by up to 61.34% compared to synchronous benchmarks, proving its effectiveness in handling real-world hardware heterogeneity.
Conclusion
DySTop demonstrates that a sparse, dynamically changing topology is more efficient than fixed graphs for decentralized learning. By pairing workers with complementary datasets and managing staleness through Lyapunov optimization, it avoids local optima and reduces network traffic. Future work will investigate the framework's resilience to extreme packet loss, worker churn, and potential security threats like poisoning attacks.
Summary updated