Abstract
Federated Learning (FL) typically relies on a central server, creating communication bottlenecks and single points of failure. Decentralized FL (DFL) removes the server but struggles with device heterogeneity—where slow "stragglers" delay the network—and the limited resources of edge devices. This paper introduces AEDFL (Asynchronous Efficient Decentralized Federated Learning), a framework that combines reinforcement learning for model selection, dynamic weighting for staleness mitigation, and adaptive Hessian-based pruning. Our evaluation shows that AEDFL outperforms state-of-the-art methods with up to 16.3% higher accuracy and 92.9% faster convergence, while significantly reducing computational costs.
Introduction
The proliferation of edge devices like smartphones and IoT sensors has fueled interest in Federated Learning, allowing models to be trained locally on private data. However, the traditional server-client architecture is often impractical due to bandwidth constraints and privacy concerns regarding central aggregation. Decentralized Federated Learning (DFL) offers a peer-to-peer alternative, yet it introduces new complexities. Specifically, asynchronous updates from devices with varying hardware capabilities lead to "staleness," where outdated model parameters can degrade the global model's performance. Furthermore, edge devices often lack the memory and processing power required for full-scale deep learning models.
The AEDFL Framework
AEDFL addresses these challenges through a multi-layered approach to decentralized coordination and local optimization.
1. RL-based Model Selection
In a decentralized network, a device must decide which neighbors to communicate with. AEDFL employs a Reinforcement Learning (RL) agent on each device. This agent learns to select neighbors whose models are most likely to improve local performance. By considering factors like the staleness of the neighbor's model and its impact on the local loss function, the RL agent optimizes the aggregation process in real-time.
2. Dynamic Weight Update
To handle asynchronous updates, AEDFL moves beyond simple averaging. It calculates dynamic weights for incoming models based on:
- Staleness: Older updates are given less weight to prevent them from "pulling" the model back to an outdated state.
- Local Importance: Models from neighbors with lower local loss or more significant updates are prioritized. This mechanism ensures that the system remains robust even when some devices are significantly slower than others.
3. Adaptive Sparse Training (Pruning)
To minimize the communication and computational footprint, AEDFL utilizes adaptive pruning. Unlike standard magnitude-based pruning, AEDFL uses a Hessian-based approach. By analyzing the curvature of the loss function (the Hessian matrix), the framework identifies neurons that contribute the least to model accuracy. This allows for "lossless" pruning, where the model size is reduced without a significant drop in performance. An exploration term is also included, allowing previously pruned parameters to be reintroduced if they become relevant during later stages of training.
Experimental Evaluation
The authors tested AEDFL against 14 baseline methods, including FedAvg, FedProx, and DisPFL, across several benchmark datasets:
- Image Classification: Emnist-letters (LeNet-5), CIFAR-10 (ResNet-8), and Tiny-ImageNet (VGG-9/ResNet-8).
- Natural Language Processing: IMDb (TextCNN) for sentiment analysis.
To simulate real-world conditions, data was distributed non-IID using a Dirichlet distribution, ensuring that each device held a unique and potentially biased subset of the data.
Key Results
- Superior Accuracy: AEDFL consistently achieved the highest accuracy across all tasks, with gains of up to 16.3% over competing decentralized methods.
- Rapid Convergence: The framework reached target accuracy levels up to 92.9% faster than synchronous baselines, effectively eliminating the "straggler" problem.
- Resource Efficiency: Adaptive pruning reduced computational costs (MFLOPs) by up to 42.3%, making it highly suitable for battery-constrained edge devices.
- Scalability: The system maintained high performance even on complex datasets like Tiny-ImageNet, where other decentralized methods often failed to converge efficiently.
Conclusion and Future Work
AEDFL represents a significant step forward for decentralized machine learning. By treating staleness as an optimizable variable and employing mathematically-grounded pruning, it bridges the gap between high-performance deep learning and resource-constrained edge environments.
Future research will focus on developing a formal end-to-end convergence proof for the combined RL and Hessian-based components. Additionally, the team aims to replace the current lightweight coordinator with a fully peer-to-peer indexing system, such as a Distributed Hash Table (DHT), to achieve total decentralization. Testing on massive networks of tens of thousands of devices will also be a priority to verify the framework's robustness at extreme scales.
Summary updated