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

Fed-CVLC:利用变长编码压缩联邦学习通信

Fed-CVLC: Compressing Federated Learning Communications with Variable-Length Codes

College of Computer Science and Software Engineering, Shenzhen University(深圳大学计算机与软件学院);School of Computing, Faculty of Science and Engineering, Macquarie University(麦考瑞大学计算学院);Guangdong Laboratory of Artificial Intelligence and Digital Economy (SZ), Shenzhen University(深圳大学广东省人工智能与数字经济实验室);Department of Computer Science and Engineering, The Chinese University of Hong Kong(香港中文大学计算机科学与工程学系);School of Computing Science, Simon Fraser University(西蒙菲莎大学计算科学学院)

Xiaoxin Su, Yipeng Zhou, Laizhong Cui, John C. S. Lui, Jiangchuan Liu

AI总结:

针对联邦学习通信瓶颈,提出Fed-CVLC变长编码压缩方法,动态调整码长以优化模型效用,实验显示效用提升1.50%-5.44%或流量缩减16.67%-41.61%。

摘要:

在联邦学习(FL)范式中,参数服务器(PS)与分布式参与的客户端并发通信,进行多轮模型收集、更新聚合和模型分发,而不接触各个客户端拥有的私有数据。FL在保护数据隐私方面具有吸引力;然而,PS与分散客户端之间的通信可能成为严重瓶颈。已有模型压缩算法(如量化和稀疏化)被提出,但它们通常假设固定码长,这未能反映模型更新的异质性和可变性。在本文中,通过分析和实验,我们提供了强有力的证据表明变长编码有利于FL中的压缩。据此,我们提出了Fed-CVLC(基于变长编码的联邦学习压缩),它根据模型更新的动态微调码长。我们开发了最优调整策略,在通信预算约束下最小化损失函数(等价于最大化模型效用)。我们进一步证明,Fed-CVLC确实是一种通用压缩设计,桥接了量化和稀疏化,具有更大的灵活性。我们使用公开数据集进行了大量实验,证明Fed-CVLC显著优于最先进的基线,将模型效用提高了1.50%-5.44%,或将通信流量缩减了16.67%-41.61%。

英文摘要:

In Federated Learning (FL) paradigm, a parameter server (PS) concurrently communicates with distributed participating clients for model collection, update aggregation, and model distribution over multiple rounds, without touching private data owned by individual clients. FL is appealing in preserving data privacy; yet the communication between the PS and scattered clients can be a severe bottleneck. Model compression algorithms, such as quantization and sparsification, have been suggested but they generally assume a fixed code length, which does not reflect the heterogeneity and variability of model updates. In this paper, through both analysis and experiments, we show strong evidences that variable-length is beneficial for compression in FL. We accordingly present Fed-CVLC (Federated Learning Compression with Variable-Length Codes), which fine-tunes the code length in response of the dynamics of model updates. We develop optimal tuning strategy that minimizes the loss function (equivalent to maximizing the model utility) subject to the budget for communication. We further demonstrate that Fed-CVLC is indeed a general compression design that bridges quantization and sparsification, with greater flexibility. Extensive experiments have been conducted with public datasets to demonstrate that Fed-CVLC remarkably outperforms state-of-the-art baselines, improving model utility by 1.50%-5.44%, or shrinking communication traffic by 16.67%-41.61%.

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

↑