TL;DR
This paper introduces Coded Federated Dropout (CFD), a novel approach that enhances Federated Learning (FL) by using coding theory to select client sub-models and adaptively tuning the server's learning rate. CFD significantly reduces communication bandwidth while maintaining high accuracy, achieving 99.6% of the performance of standard FL with 2.43x less bandwidth.
What Problem Does This Paper Address?
Federated Learning (FL) enables training machine learning models across decentralized devices without sharing raw data. However, communication overhead is a major bottleneck, especially in cross-device FL where clients have limited computational power. Federated Dropout (FD) was proposed to mitigate this by having clients train only a subset of model parameters, reducing update size. Despite its bandwidth benefits, FD suffers from lower accuracy and slower convergence compared to standard FL. This paper tackles the challenge of improving FD's accuracy and convergence speed without sacrificing its communication efficiency.
Methods
The authors propose Coded Federated Dropout (CFD), which combines two key innovations:
- Coding Theory for Sub-model Selection: Instead of random sub-model selection, CFD leverages coding theory, specifically Gold codes and Constant Weight Codes (CWC), to deterministically generate masks for selecting client sub-models. The intuition is that these codes, inspired by techniques like Code Division Multiple Access (CDMA), can create more orthogonal sub-models, leading to better performance.
- Fast Server Learning Rate Adaptation: The paper observes that the optimal server learning rate for FD differs from standard FL and can significantly impact convergence speed. They introduce a novel, parallelized algorithm (Algorithm 1) to efficiently search for the best server learning rate at the beginning of an FL session. This algorithm iteratively narrows down the search space for the learning rate by aborting sessions that don't meet a target accuracy within a certain number of rounds.
Datasets
The primary dataset used for evaluation is EMNIST62, a dataset of handwritten characters and digits. The authors also mention using a convolutional model (C) for this dataset.
Key Insights and Ideas
- Coding Theory as a Sub-model Selector: Applying principles from coding theory (like Gold codes) to select sub-models in FD is a novel way to improve orthogonality and reduce interference between client updates, leading to better accuracy and convergence.
- Adaptive Learning Rate is Crucial for FD: The optimal server learning rate for FD is not the same as for standard FL. A dedicated, fast tuning mechanism is necessary to find this optimal rate.
- Bandwidth Savings with High Accuracy: It's possible to achieve near-state-of-the-art accuracy in FL while drastically reducing communication bandwidth, challenging the notion that high accuracy necessitates high communication.
- Cross-correlation vs. Minimal Distance: Minimizing cross-correlation (as with Gold codes) appears to be more effective for sub-model orthogonality in this context than maximizing minimal distance (as with CWC).
Key Results
- Accuracy: CFD with Gold codes achieves 99.6% of the final accuracy of the no-dropout FL case.
- Bandwidth Reduction: CFD with Gold codes and FedAdam reduces the bandwidth needed to reach maximum test accuracy by 2.43x compared to no dropout. CFD plus FAVG achieves a 2.01x reduction.
- Convergence Speed: CFD, particularly with Gold codes and FedAdam, improves convergence rate compared to baseline FD and random sub-model selection.
- Learning Rate Tuning Efficiency: The proposed fast server learning rate adaptation algorithm significantly reduces the number of rounds required to find the optimal learning rate compared to exhaustive search. The overhead in additional rounds for tuning is minimal.
Limitations and Future Work
- Gold Code Flexibility: Gold codes have specific lengths and Hamming weights, making them less flexible for arbitrary model architectures or dropout fractions.
- CWC Performance: CWC did not consistently improve performance over random dropout in their experiments, suggesting further investigation into code selection is needed.
- Future Work: The authors suggest exploring further sequences from coding theory for FD to overcome the limitations of Gold codes and improve flexibility. They also hint at investigating other optimization mechanisms beyond FedAdam and FAVG.
Summary updated