Introduction: The Straggler Problem in Edge Learning
Federated Learning (FL) has emerged as a powerful paradigm for training machine learning models across distributed devices, such as smartphones and IoT sensors, while preserving data privacy. However, deploying FL in Multi-access Edge Computing (MEC) environments introduces a significant bottleneck: stragglers.
In heterogeneous wireless networks, devices vary in hardware capabilities and connection stability. If a central server must wait for every device to complete its local update before proceeding to the next global iteration, the training speed is limited by the slowest participant. While Coded Federated Learning (CFL) was previously proposed to mitigate this by using redundant computations, it was limited to simple linear regression tasks. CodedFedL extends these benefits to non-linear regression and multi-class classification, offering a robust solution for real-world edge applications.
The CodedFedL Framework
CodedFedL introduces a novel approach to handle stragglers by "linearizing" non-linear problems through kernel embedding. The framework is built on three core components:
- Random Fourier Features (RFF): To apply linear coding theory to non-linear tasks, CodedFedL uses RFF to map raw data into a high-dimensional space. In this space, complex non-linear relationships can be approximated as linear ones, enabling the use of parity-based error correction.
- Distributed Parity Encoding: Before training, each client generates "parity data"—a weighted linear combination of their local data. This parity data is shared with the server. Crucially, because the server does not know the specific weights used by each client, the raw local data remains private.
- Analytical Load Allocation: The authors utilize the Lambert W-function to mathematically determine the optimal data load for each client and the server's waiting time. This ensures that the server receives enough gradient information—either from direct client updates or by computing a "coded gradient" on the parity data—to maintain progress even when some clients fail to report.
Experimental Results
The framework was evaluated using the MNIST and Fashion-MNIST datasets across 30 heterogeneous worker nodes in a non-IID setting.
Significant Speedup in Wall-Clock Time
The primary advantage of CodedFedL is its ability to drastically reduce training time. By compensating for stragglers with coded gradients, the system achieves up to a 2.7x speedup for MNIST and a 2.37x speedup for Fashion-MNIST compared to standard uncoded FL.
Convergence and Efficiency
Importantly, this speedup does not come at the cost of model quality. As shown in the iteration-wise analysis, CodedFedL follows the same convergence trajectory as the uncoded baseline. The speedup is entirely derived from reducing the time spent waiting per iteration, rather than requiring fewer iterations to reach a target accuracy.
These gains were achieved with a coding redundancy of only 10%, demonstrating that a small amount of extra server-side computation can yield massive improvements in overall system efficiency.
Conclusion and Future Work
CodedFedL successfully bridges the gap between coded computing and non-linear federated learning. By leveraging RFF and optimized load allocation, it provides a practical way to handle the inherent volatility of edge networks.
Future research directions include:
- Formal Privacy Analysis: Quantifying the exact "privacy leakage" potential of the parity data.
- Expanding Model Architectures: Moving beyond RFF-based kernels to support deep neural networks directly.
- Decentralized Architectures: Adapting the framework for serverless edge environments where central coordination is not available.
Summary updated