arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2311.07324cs.LG
收藏

通信受限移动计算中面向联邦学习的数据感知梯度压缩

Data-Aware Gradient Compression for FL in Communication-Constrained Mobile Computing

Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);AI Cloud Business Group, Baidu Incorporated(百度公司AI云业务集团);Department of Computer Science and Technology, Tsinghua University(清华大学计算机科学与技术系);Department of Computer Science and Technology, Harbin Institute of Technology(哈尔滨工业大学计算机科学与技术系);College of Computer Science and Software Engineering, Shenzhen University(深圳大学计算机与软件学院)

Rongwei Lu, Yutong Jiang, Yinan Mao, Chen Tang, Bin Chen, Laizhong Cui, Zhi Wang

AI总结:

本文针对移动联邦学习通信瓶颈,提出数据感知的非均匀梯度压缩方法 DAGC-R 和 DAGC-A,通过按工作节点数据量分配压缩比,在高度不平衡数据和受限通信下相比均匀压缩最高提速 25.43% 和 16.65%。

摘要:

移动环境中的联邦学习(FL)面临显著的通信瓶颈。梯度压缩已被证明是解决这一问题的有效方案,在带宽有限且流量计费的环境中带来了显著收益。然而,由于采用“一刀切”的压缩方式,未考虑不同工作节点之间数据量的差异,该方法在非独立同分布(non-IID)环境中会出现严重的性能下降。因此,为具有不同数据分布和数据量的工作节点分配不同的压缩比是一种有前景的解决方案。本文推导了非均匀压缩下分布式随机梯度下降(SGD)的收敛速率,揭示了模型收敛与施加在各个工作节点上的压缩比之间的复杂关系。据此,我们将相对压缩比分配问题构建为一个受有限通信预算约束的 n 变量卡方非线性优化问题。我们提出 DAGC-R,为处理较大数据量的工作节点分配更保守的压缩。考虑到移动设备计算能力的限制,我们提出 DAGC-A,其计算开销更低,并增强了非独立同分布场景下压缩的鲁棒性。实验证实,在处理高度不平衡的数据量分布和受限通信条件时,与均匀压缩相比,DAGC-R 和 DAGC-A 可分别将训练速度提升最高 25.43% 和 16.65%。

英文摘要:

Federated Learning (FL) in mobile environments faces significant communication bottlenecks. Gradient compression has proven as an effective solution to this issue, offering substantial benefits in environments with limited bandwidth and metered data. Yet, it encounters severe performance drops in non-IID environments due to a one-size-fits-all compression approach, which does not account for the varying data volumes across workers. Assigning varying compression ratios to workers with distinct data distributions and volumes is therefore a promising solution. This work derives the convergence rate of distributed SGD with non-uniform compression, which reveals the intricate relationship between model convergence and the compression ratios applied to individual workers. Accordingly, we frame the relative compression ratio assignment as an $n$-variable chi-squared nonlinear optimization problem, constrained by a limited communication budget. We propose DAGC-R, which assigns conservative compression to workers handling larger data volumes. Recognizing the computational limitations of mobile devices, we propose the DAGC-A, which is computationally less demanding and enhances the robustness of compression in non-IID scenarios. Our experiments confirm that the DAGC-R and DAGC-A can speed up the training speed by up to $25.43\%$ and $16.65\%$ compared to the uniform compression respectively, when dealing with highly imbalanced data volume distribution and restricted communication.

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

↑