Cargando…

Two-layer accumulated quantized compression for communication-efficient federated learning: TLAQC

Federated learning enables multiple nodes to perform local computations and collaborate to complete machine learning tasks without centralizing private data of nodes. However, the frequent model gradients upload/download operations required by the framework result in high communication costs, which...

Descripción completa

Detalles Bibliográficos
Autores principales: Ren, Yaoyao, Cao, Yu, Ye, Chengyin, Cheng, Xu
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Nature Publishing Group UK 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10356777/
https://www.ncbi.nlm.nih.gov/pubmed/37468562
http://dx.doi.org/10.1038/s41598-023-38916-x
_version_ 1785075348695678976
author Ren, Yaoyao
Cao, Yu
Ye, Chengyin
Cheng, Xu
author_facet Ren, Yaoyao
Cao, Yu
Ye, Chengyin
Cheng, Xu
author_sort Ren, Yaoyao
collection PubMed
description Federated learning enables multiple nodes to perform local computations and collaborate to complete machine learning tasks without centralizing private data of nodes. However, the frequent model gradients upload/download operations required by the framework result in high communication costs, which have become the main bottleneck for federated learning as deep models scale up, hindering its performance. In this paper, we propose a two-layer accumulated quantized compression algorithm (TLAQC) that effectively reduces the communication cost of federated learning. TLAQC achieves this by reducing both the cost of individual communication and the number of global communication rounds. TLAQC introduces a revised quantization method called RQSGD, which employs zero-value correction to mitigate ineffective quantization phenomena and minimize average quantization errors. Additionally, TLAQC reduces the frequency of gradient information uploads through an adaptive threshold and parameter self-inspection mechanism, further reducing communication costs. It also accumulates quantization errors and retained weight deltas to compensate for gradient knowledge loss. Through quantization correction and two-layer accumulation, TLAQC significantly reduces precision loss caused by communication compression. Experimental results demonstrate that RQSGD achieves an incidence of ineffective quantization as low as 0.003% and reduces the average quantization error to 1.6 × [Formula: see text] . Compared to full-precision FedAVG, TLAQC compresses uploaded traffic to only 6.73% while increasing accuracy by 1.25%.
format Online
Article
Text
id pubmed-10356777
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher Nature Publishing Group UK
record_format MEDLINE/PubMed
spelling pubmed-103567772023-07-21 Two-layer accumulated quantized compression for communication-efficient federated learning: TLAQC Ren, Yaoyao Cao, Yu Ye, Chengyin Cheng, Xu Sci Rep Article Federated learning enables multiple nodes to perform local computations and collaborate to complete machine learning tasks without centralizing private data of nodes. However, the frequent model gradients upload/download operations required by the framework result in high communication costs, which have become the main bottleneck for federated learning as deep models scale up, hindering its performance. In this paper, we propose a two-layer accumulated quantized compression algorithm (TLAQC) that effectively reduces the communication cost of federated learning. TLAQC achieves this by reducing both the cost of individual communication and the number of global communication rounds. TLAQC introduces a revised quantization method called RQSGD, which employs zero-value correction to mitigate ineffective quantization phenomena and minimize average quantization errors. Additionally, TLAQC reduces the frequency of gradient information uploads through an adaptive threshold and parameter self-inspection mechanism, further reducing communication costs. It also accumulates quantization errors and retained weight deltas to compensate for gradient knowledge loss. Through quantization correction and two-layer accumulation, TLAQC significantly reduces precision loss caused by communication compression. Experimental results demonstrate that RQSGD achieves an incidence of ineffective quantization as low as 0.003% and reduces the average quantization error to 1.6 × [Formula: see text] . Compared to full-precision FedAVG, TLAQC compresses uploaded traffic to only 6.73% while increasing accuracy by 1.25%. Nature Publishing Group UK 2023-07-19 /pmc/articles/PMC10356777/ /pubmed/37468562 http://dx.doi.org/10.1038/s41598-023-38916-x Text en © The Author(s) 2023 https://creativecommons.org/licenses/by/4.0/Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) .
spellingShingle Article
Ren, Yaoyao
Cao, Yu
Ye, Chengyin
Cheng, Xu
Two-layer accumulated quantized compression for communication-efficient federated learning: TLAQC
title Two-layer accumulated quantized compression for communication-efficient federated learning: TLAQC
title_full Two-layer accumulated quantized compression for communication-efficient federated learning: TLAQC
title_fullStr Two-layer accumulated quantized compression for communication-efficient federated learning: TLAQC
title_full_unstemmed Two-layer accumulated quantized compression for communication-efficient federated learning: TLAQC
title_short Two-layer accumulated quantized compression for communication-efficient federated learning: TLAQC
title_sort two-layer accumulated quantized compression for communication-efficient federated learning: tlaqc
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10356777/
https://www.ncbi.nlm.nih.gov/pubmed/37468562
http://dx.doi.org/10.1038/s41598-023-38916-x
work_keys_str_mv AT renyaoyao twolayeraccumulatedquantizedcompressionforcommunicationefficientfederatedlearningtlaqc
AT caoyu twolayeraccumulatedquantizedcompressionforcommunicationefficientfederatedlearningtlaqc
AT yechengyin twolayeraccumulatedquantizedcompressionforcommunicationefficientfederatedlearningtlaqc
AT chengxu twolayeraccumulatedquantizedcompressionforcommunicationefficientfederatedlearningtlaqc