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

Caesar:一种用于高效联邦学习的低偏差压缩方法

Caesar: A Low-deviation Compression Approach for Efficient Federated Learning

University of Science and Technology of China(中国科学技术大学);Suzhou Institute for Advanced Research, University of Science and Technology of China(中国科学技术大学苏州高等研究院);Guangdong OPPO Mobile Telecommunications Corp., Ltd.(广东欧珀移动通信有限公司)

Jiaming Yan, Jianchun Liu, Hongli Xu, Liusheng Huang, Jiantao Gong, Xudong Liu, Kun Hou

AI总结:

Caesar提出一种低偏差压缩联邦学习框架,通过贪心压缩比优化、梯度重要性量化和细粒度批量优化,在保持模型精度的同时显著降低通信流量成本。

摘要:

压缩是缓解联邦学习(FL)系统巨大通信开销的一种有效方式。然而,在现有工作中,压缩导致的信息损失会使联邦学习训练产生意外的模型/梯度偏差,显著降低训练性能,尤其是在数据异构性和模型陈旧性等挑战下。为了在模型精度与流量成本之间取得精细的权衡,我们提出了Caesar,一种具有低偏差压缩方法的新型联邦学习框架。在全局模型下载方面,我们设计了一种贪心方法,根据本地模型的陈旧程度为每个设备优化压缩比,从而为本地训练提供精确的初始模型。在本地梯度上传方面,我们利用设备的本地数据特性(即样本量和标签分布)来量化其本地梯度的重要性,进而指导梯度压缩比的确定。此外,通过细粒度的批量大小优化,Caesar能够显著减少同步屏障下设备的空闲等待时间。我们已在两个物理平台上实现了Caesar,分别包含40部智能手机和80台NVIDIA Jetson设备。大量结果表明,在相同目标精度下,与基于压缩的基线方法相比,Caesar可将流量成本降低约25.54%∼37.88%,而相对于全精度通信,最终测试精度仅下降0.68%。

英文摘要:

Compression is an efficient way to relieve the tremendous communication overhead of federated learning (FL) systems. However, for the existing works, the information loss under compression will lead to unexpected model/gradient deviation for the FL training, significantly degrading the training performance, especially under the challenges of data heterogeneity and model obsolescence. To strike a delicate trade-off between model accuracy and traffic cost, we propose Caesar, a novel FL framework with a low-deviation compression approach. For the global model download, we design a greedy method to optimize the compression ratio for each device based on the staleness of the local model, ensuring a precise initial model for local training. Regarding the local gradient upload, we utilize the device's local data properties (\ie, sample volume and label distribution) to quantify its local gradient's importance, which then guides the determination of the gradient compression ratio. Besides, with the fine-grained batch size optimization, Caesar can significantly diminish the devices' idle waiting time under the synchronized barrier. We have implemented Caesar on two physical platforms with 40 smartphones and 80 NVIDIA Jetson devices. Extensive results show that Caesar can reduce the traffic costs by about 25.54%$\thicksim$37.88% compared to the compression-based baselines with the same target accuracy, while incurring only a 0.68% degradation in final test accuracy relative to the full-precision communication.

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

↑