arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.08272cs.DC
收藏

基于自适应梯度Quantization的异构边缘设备通信高效联邦学习

Communication-Efficient Federated Learning for Heterogeneous Edge Devices Based on Adaptive Gradient Quantization

Heting Liu, Fang He, Guohong Cao

摘要:

联邦学习(FL)使地理上分散的边缘设备(即,客户端)学习全局模型而不共享本地数据集,其中每个客户端利用其本地数据执行梯度下降,并将梯度上传到中央服务器以更新全局模型。然而,FL面临着在每个训练轮中上传梯度所导致的巨大通信开销。为了解决这个问题,大多数现有的研究对所有客户端使用固定和统一的量化来压缩梯度,这既不寻求由于不同轮的梯度范数不同而导致的自适应量化,也不利用客户端的异质性来加速FL。我们提出了一种新的自适应和异构梯度量化算法(AdaGQ)的FL,以尽量减少挂钟训练时间从两个方面:i)自适应量化,其利用梯度范数的变化来调整每个训练轮中的量化分辨率;以及ii)异构量化,其将较低的量化分辨率分配给慢客户端以使其训练时间与其他客户端对准以减轻通信瓶颈,并且将较高的量化分辨率分配给快客户端以实现更好的通信效率和准确性折衷。基于各种模型和数据集的评估验证了AdaGQ的优势,与基线算法相比,总训练时间减少了52.1%(例如,FedAvg,QSGD)。

英文摘要:

Federated learning (FL) enables geographically dispersed edge devices (i.e., clients) to learn a global model without sharing the local datasets, where each client performs gradient descent with its local data and uploads the gradients to a central server to update the global model. However, FL faces massive communication overhead resulted from uploading the gradients in each training round. To address this problem, most existing research compresses the gradients with fixed and unified quantization for all the clients, which neither seeks adaptive quantization due to the varying gradient norms at different rounds, nor exploits the heterogeneity of the clients to accelerate FL. In this paper, we propose a novel adaptive and heterogeneous gradient quantization algorithm (AdaGQ) for FL to minimize the wall-clock training time from two aspects: i) adaptive quantization which exploits the change of gradient norm to adjust the quantization resolution in each training round; and ii) heterogeneous quantization which assigns lower quantization resolution to slow clients to align their training time with other clients to mitigate the communication bottleneck, and higher quantization resolution to fast clients to achieve a better communication efficiency and accuracy tradeoff. Evaluations based on various models and datasets validate the benefits of AdaGQ, reducing the total training time by up to 52.1% compared to baseline algorithms (e.g., FedAvg, QSGD).

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑