arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.14736cs.DCcs.LG
收藏

带宽感知与重叠加权的压缩方法:面向通信高效的联邦学习

Bandwidth-Aware and Overlap-Weighted Compression for Communication-Efficient Federated Learning

The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Hong Kong Baptist University(香港浸会大学);Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳))

Zichen Tang, Junlin Huang, Rudan Yan, Yuxin Wang, Zhenheng Tang, Shaohuai Shi, Amelie Chi Zhou, Xiaowen Chu

AI总结:

针对联邦学习中异构带宽和非独立同分布数据导致的落后者与性能下降问题,提出带宽感知压缩框架,通过动态调整压缩率及参数掩码加权平均,显著提升模型准确率与收敛速度。

摘要:

当前的数据压缩方法,例如 Federated Averaging (FedAvg) 中的稀疏化,有效地提升了联邦学习 (FL) 的通信效率。然而,这些方法面临着诸如落后者问题,以及由异构带宽和非独立同分布 (non-IID) 数据导致的模型性能下降等挑战。为了解决这些问题,我们引入了一种用于 FL 的带宽感知压缩框架,旨在提高通信效率的同时缓解与非 IID 数据相关的问题。首先,我们的策略根据带宽动态调整压缩率,使客户端能够以相近的速度上传模型,从而利用原本浪费的时间传输更多数据。其次,我们发现了压缩后保留参数的非重叠模式,这导致由于均匀平均权重而使客户端更新信号减弱。基于这一发现,我们提出了一种参数掩码,在参数级别调整客户端平均系数,从而更接近原始更新,并改善异构环境下的训练收敛性。我们的评估表明,我们的方法显著提升了模型准确率,与未压缩的 FedAvg 相比最高提升了 13%。此外,与使用 Top-K 压缩器的 FedAvg 相比,它在达到目标准确率方面实现了 3.37 倍的加速,证明了其在通过压缩加速收敛方面的有效性。将常见压缩技术集成到我们的框架中,进一步确立了其作为未来跨设备、通信高效 FL 研究通用基础的地位,解决了 FL 中的关键挑战并推动了分布式机器学习领域的发展。

英文摘要:

Current data compression methods, such as sparsification in Federated Averaging (FedAvg), effectively enhance the communication efficiency of Federated Learning (FL). However, these methods encounter challenges such as the straggler problem and diminished model performance due to heterogeneous bandwidth and non-IID (Independently and Identically Distributed) data. To address these issues, we introduce a bandwidth-aware compression framework for FL, aimed at improving communication efficiency while mitigating the problems associated with non-IID data. First, our strategy dynamically adjusts compression ratios according to bandwidth, enabling clients to upload their models at a close pace, thus exploiting the otherwise wasted time to transmit more data. Second, we identify the non-overlapped pattern of retained parameters after compression, which results in diminished client update signals due to uniformly averaged weights. Based on this finding, we propose a parameter mask to adjust the client-averaging coefficients at the parameter level, thereby more closely approximating the original updates, and improving the training convergence under heterogeneous environments. Our evaluations reveal that our method significantly boosts model accuracy, with a maximum improvement of 13% over the uncompressed FedAvg. Moreover, it achieves a $3.37\times$ speedup in reaching the target accuracy compared to FedAvg with a Top-K compressor, demonstrating its effectiveness in accelerating convergence with compression. The integration of common compression techniques into our framework further establishes its potential as a versatile foundation for future cross-device, communication-efficient FL research, addressing critical challenges in FL and advancing the field of distributed machine learning.

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

↑