集群化逐層優化模型更新以提高聯邦學習通訊效率
FedCLO: Federated Learning with Clustered Layer-wise Communication Load Optimization
摘要
聯邦學習旨在解決分散式系統中機器學習的隱私問題,但它面臨較高的通訊負擔。 近年來,研究人員致力於研究模型壓縮技術以降低聯邦學習的通訊成本。我們旨在 解決基於全模型傳輸的模型壓縮方法無法應對由系統因素引起的聚合週期增加的問 題。分層模型聚合技術可以處理聚合週期的增加,但根據我們的分析,先前的方法在 本地迭代次數方面具有二次複雜度。因此,我們提出了一種集群化分層聚合方案, 即FedCLO,以解決這一問題。通過集群化及部分參與,我們確保本地迭代次數是一個 較小的常數,並達到更快的熱身速度,以節省更多通訊資源。此外,我們分析了集群 化引起的誤差,並設計了分佈歐式距離(DED)集群方案,以盡可能減少集群化誤差。實 驗結果顯示,與以往方法相比,FedCLO在我們的場景中提高了2.7%的準確度,並減少 了1.8%的通訊成本。
Federated Learning (FL) is designed to address the privacy issues of ML in distributed sys- tems, yet it confronts high communication load. Recently, model compression techniques are used to reduce the communication costs of FL. Our focus is to address the limitations of model compression methods that rely on full model transmission, which struggle with the increased aggregation period due to system factors. Layer-wise model aggregation technique can handle the increase in aggregation period, however, according to our analysis, previous method have a quadratic complexity with respect to the number of local iterations. Therefore, we propose a clustered layer-wise aggregation scheme, FedCLO, to solve this problem. By implementing clustering, we maintain a smaller constant number of local iterations and achieve a faster warm- up speed, thereby conserving more communication resources. In addition, we analyze the error caused by clustering and design the DED clustering scheme to minimize the clustering error as much as possible. Our experiments demonstrate that, compared to previous methods, FedCLO improves accuracy by 2.7% and reduces communication cost by 1.8% in our scenarios.