一種用於通訊高效的聯邦深度神經網路訓練的新穎演算法

A Novel Algorithm for Communication-Efficient Federated DNN Training

檔案

日期

2023

類型

語言

英文

摘要

本論文提出了一種名為CO3的全新演算法,旨在克服深度神經網路在聯邦學習中所面臨的通訊瓶頸問題。當遠端用戶將本地的深度神經網路梯度傳送至參數服務器之前,這些本地梯度會依序經過三個處理步驟,分別是:(1)透過浮點數轉換量化梯度,(2)無損壓縮量化後梯度,以及(3)校正量化誤差。在第一步和第二步中,我們採用了一個假設,即深度神經網路的梯度服從廣義常態分佈(generalized normal distribution)。這個假設在本文中經過大量的模擬驗證。為了校正第一步中產生的量化誤差,我們引入了一個帶有記憶衰減的誤差反饋機制。這涉及到使用一個記憶衰減係數,用來調節誤差反饋過程中記憶的累積。類似於學習率的調整,記憶衰減係數可以微調,以提升深度神經網路的收斂性能。在本論文中,我們對所提出的CO3演算法與隨機梯度下降法(SGD)的收斂性進行了嚴格分析。此外,通過大量的模擬實驗,我們也證實了CO3在模型分類準確度和通訊成本等性能方面勝過了先前研究中使用計數素描(count sketch)和非均勻量化(non-uniform quantization)的梯度壓縮方法。
This thesis introduces a novel algorithm called CO3, which solves the communication bottleneck for federated learning with Deep Neural Network (DNN). Before the local DNN gradients are transmitted from a worker to the central Parameter Server(PS), the local gradients are processed by three steps, (i) gradient quantization through floating-point conversion, (ii) lossless compression of the quantized gradient, and (iii) quantization error correction, which gives the name CO3. Steps (i) and (ii) employ an assumption that DNN gradients are distributed according to a generalized normal distribution (GenNorm), which is validated numerically in the thesis. In order to rectify the slow model convergence induced in step (i), the error feedback with memory decay in step (iii) is adopt. This involves incorporating a memory decay coefficient that regulates the accumulation of memory in the error feedback process. Similar to the learning rate, the memory decay coefficient can be finely adjusted to enhance convergence. A rigorous convergence analysis of the proposed CO3 with SGD is provided. Additionally, through extensive simulations, we demonstrate that CO3 outperforms existing gradient compression methods in the literature, which utilize count sketching and non-uniform quantization techniques on the local gradients, thereby providing enhanced performance in terms of the model classification accuracy and communication overhead trade-off.

所屬典藏

電信工程研究所
顯示完整詮釋資料 統計資料

引用此條目

Chen, Z.-J. (2023). A Novel Algorithm for Communication-Efficient Federated DNN Training. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/515

BibTeX RIS

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

分享

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