Yang Xu, Junhao Cheng, Hongli Xu, Changyu Guo, Yunming Liao, Zhiwei Yao
{"title":"Towards layer-wise quantization for heterogeneous federated clients","authors":"Yang Xu, Junhao Cheng, Hongli Xu, Changyu Guo, Yunming Liao, Zhiwei Yao","doi":"10.1016/j.comnet.2025.111223","DOIUrl":null,"url":null,"abstract":"<div><div>Federated Learning (FL) has arisen to train deep learning models on massive private data, which are produced and possessed by geographically dispersed clients at the network edge. However, in edge computing scenarios, FL usually suffers from the constrained and heterogeneous communication resource. To achieve communication-efficient FL, we concentrate on the technique of model quantization. The existing researches in FL mainly perform model quantization at the grain of the entire model. However, according to our empirical analysis, when quantizing each layer of a model with the same quantization level, the amount of saved memory differs significantly across layers. Besides, the model exhibits different decreases in test accuracy when each layer is separately quantized to the same degree. To this end, we propose a more efficient and flexible Layer-wise Quantization scheme for FL, termed FedLQ. We further theoretically analyze the relationship between the convergence bound and the quantization level. Furthermore, considering that the quantization of each layer will yield different effects on the communication cost and model accuracy, we develop a joint metric (<em>i.e.</em>, layer significance) to evaluate the comprehensive influence of layer-wise quantization on model training, and design a significance-aware algorithm to determine adaptive layer-wise quantization levels for different clients. Extensive experiments in simulation environment illustrate that FedLQ is able to effectively reduce communication consumption while still achieving promising accuracy even with low-bit quantization. Compared to the baselines, FedLQ can achieve up to 5.77<span><math><mo>×</mo></math></span> speedup when reaching the target accuracy, or obtain at most 27% improvement in test accuracy under low-bits quantization scenarios.</div></div>","PeriodicalId":50637,"journal":{"name":"Computer Networks","volume":"264 ","pages":"Article 111223"},"PeriodicalIF":4.4000,"publicationDate":"2025-03-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Networks","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1389128625001914","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0
Abstract
Federated Learning (FL) has arisen to train deep learning models on massive private data, which are produced and possessed by geographically dispersed clients at the network edge. However, in edge computing scenarios, FL usually suffers from the constrained and heterogeneous communication resource. To achieve communication-efficient FL, we concentrate on the technique of model quantization. The existing researches in FL mainly perform model quantization at the grain of the entire model. However, according to our empirical analysis, when quantizing each layer of a model with the same quantization level, the amount of saved memory differs significantly across layers. Besides, the model exhibits different decreases in test accuracy when each layer is separately quantized to the same degree. To this end, we propose a more efficient and flexible Layer-wise Quantization scheme for FL, termed FedLQ. We further theoretically analyze the relationship between the convergence bound and the quantization level. Furthermore, considering that the quantization of each layer will yield different effects on the communication cost and model accuracy, we develop a joint metric (i.e., layer significance) to evaluate the comprehensive influence of layer-wise quantization on model training, and design a significance-aware algorithm to determine adaptive layer-wise quantization levels for different clients. Extensive experiments in simulation environment illustrate that FedLQ is able to effectively reduce communication consumption while still achieving promising accuracy even with low-bit quantization. Compared to the baselines, FedLQ can achieve up to 5.77 speedup when reaching the target accuracy, or obtain at most 27% improvement in test accuracy under low-bits quantization scenarios.
期刊介绍:
Computer Networks is an international, archival journal providing a publication vehicle for complete coverage of all topics of interest to those involved in the computer communications networking area. The audience includes researchers, managers and operators of networks as well as designers and implementors. The Editorial Board will consider any material for publication that is of interest to those groups.