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

面向资源受限异构设备的联邦学习混合精度量化

Mixed-Precision Quantization for Federated Learning on Resource-Constrained Heterogeneous Devices

University of Texas at Austin(德克萨斯大学奥斯汀分校)

Huancheng Chen, Haris Vikalo

AI总结:

本文提出 FedMPQ 算法,首次将混合精度量化引入资源异构联邦学习,通过正则化优化和服务器端自适应位宽分配,在多种模型与数据集上超越固定精度量化基线,且仅带来较小计算开销。

摘要:

虽然联邦学习(FL)系统通常利用量化来应对通信和计算瓶颈,但迄今为止它们仅限于部署固定精度量化方案。与此同时,混合精度量化(MPQ)的概念——即为深度学习模型的不同层分配不同的位宽——在联邦学习环境中仍未得到探索。我们提出了一种新颖的联邦学习算法 FedMPQ,将混合精度量化引入资源异构的联邦学习系统。具体而言,本地模型在满足位宽约束的条件下进行量化,并通过优化一个包含正则化项的目标函数进行训练,该正则化项促使某些层的精度降低而不会造成显著的性能下降。服务器收集本地模型更新,将其反量化为全精度模型,然后聚合成全局模型。为了初始化下一轮本地训练,服务器利用上一轮训练中学习到的信息,为发送给不同客户端的模型定制位宽分配。在多种模型架构和不同数据集上、独立同分布(iid)和非独立同分布(non-iid)设置下进行的大量基准测试实验中,FedMPQ 优于采用固定精度量化的基线联邦学习方案,同时仅在参与设备上产生较小的计算开销。

英文摘要:

While federated learning (FL) systems often utilize quantization to battle communication and computational bottlenecks, they have heretofore been limited to deploying fixed-precision quantization schemes. Meanwhile, the concept of mixed-precision quantization (MPQ), where different layers of a deep learning model are assigned varying bit-width, remains unexplored in the FL settings. We present a novel FL algorithm, FedMPQ, which introduces mixed-precision quantization to resource-heterogeneous FL systems. Specifically, local models, quantized so as to satisfy bit-width constraint, are trained by optimizing an objective function that includes a regularization term which promotes reduction of precision in some of the layers without significant performance degradation. The server collects local model updates, de-quantizes them into full-precision models, and then aggregates them into a global model. To initialize the next round of local training, the server relies on the information learned in the previous training round to customize bit-width assignments of the models delivered to different clients. In extensive benchmarking experiments on several model architectures and different datasets in both iid and non-iid settings, FedMPQ outperformed the baseline FL schemes that utilize fixed-precision quantization while incurring only a minor computational overhead on the participating devices.

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

↑