以融合全局動量之梯度壓縮方法提高聯邦學習通信效率

Improving Federated Learning Communication Efficiency with Global Momentum Fusion for Gradient Compression Schemes

檔案

日期

2022

類型

語言

英文

摘要

在聯邦學習 (FL) 中加入更多參與訓練的客戶可以使整個模型學習到更多資料用以改進機器學習模型。然而,傳統聯邦學習設計需要消耗大量的通訊流量,需要在通訊流量與客戶數量之間取的平衡以改善訓練效率,此設計這在真實應用場景中並不盡理想。許多研究採用梯度壓縮方法來減緩通訊流量問題,卻會導致梯度資訊的丟失,而有效的梯度補償機制可以減緩資訊的丟失並提升準確度,但梯度補償機制對非獨立同分佈 (non-IID) 數據補償效果亦非常有限。

本論文提出Global Momentum Fusion (GMF),該技術利用梯度動量來提升對非獨立同分佈數據訓練的模型更新效率,同時提升梯度的壓縮效率,最終可以有效的減少通訊流量並同時處理non-IID 數據帶來準確度下降問題。GMF 技術核心並不是補償梯度損失,使此技術能夠與其他補償技術融和,如DGC。可以補足DGC面對非獨立同分佈數據帶來的準確度下降問題,並獲得更高的壓縮效率。在本文中,我們在 DGC 中實現了 GMF,稱為 DGCwGMF。

在本論文中,我們將DGCwGMF 實驗在圖像分類實驗和單詞預測實驗,使用 Cifar-10 和 Shakespeare 數據集。實證結果顯示,我們的方法 DGCwGMF 在non-IID 數據集下的準確率提高了 1.99%,並且在圖像分類任務中比 DGC 節省了 20.4% 的通訊流量。對於單詞預測實驗中,DGCwGMF 保持了與 DGC 相同的準確率,但與 DGC 相比減少了 12.9% 的通訊流量。
Federated Learning (FL) has been considered one of the effective tools for privacy-preserving machine learning approaches. Although FL does not require raw data to be transferred to a central data center, the model updates exchanged during the multi-iteration training rounds have raised concerns about the communication overheads as the sizes of models increase. Gradient compression methods are commonly employed to mitigate communication overhead problems. However, gradient compression techniques do not cope well with data unbalance and non-IID data.

In this thesis, we propose a novel gradient compression compensation technique called Global Momentum Fusion (GMF) that improves gradient compression mechanisms when dealing with unbalanced and non-IID datasets. We implemented the GMF in Deep Gradient Compression (DGC) as DGCwGMF and experimented with it in image classification and next-word prediction tasks, including the Cifar-10 and Shakespeare datasets. Empirical results show that our method, DGCwGMF, has 1.99% higher accuracy under the non-IID dataset and saves 20.4% communication overheads than DGC in the image classification task. For the next-word prediction task, DGCwGMF maintains the model accuracy as DGC but reduces 12.9% communication overheads compared to DGC.
顯示完整詮釋資料 統計資料

引用此條目

Kuo, Chun­-Chih (2022). Improving Federated Learning Communication Efficiency with Global Momentum Fusion for Gradient Compression Schemes. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/80459

BibTeX RIS

引用文字依 APA 第 7 版格式自動產生,使用前請再核對。

分享

永久網址:https://thesis.lib.nycu.edu.tw/handle/20.500.14371/80459