Data-Aware Gradient Compression for FL in Communication-Constrained Mobile Computing

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Lu, Rongwei, Jiang, Yutong, Mao, Yinan, Tang, Chen, Chen, Bin, Cui, Laizhong, Wang, Zhi
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913584071573504
author Lu, Rongwei
Jiang, Yutong
Mao, Yinan
Tang, Chen
Chen, Bin
Cui, Laizhong
Wang, Zhi
author_facet Lu, Rongwei
Jiang, Yutong
Mao, Yinan
Tang, Chen
Chen, Bin
Cui, Laizhong
Wang, Zhi
contents Federated Learning (FL) in mobile environments faces significant communication bottlenecks. Gradient compression has proven as an effective solution to this issue, offering substantial benefits in environments with limited bandwidth and metered data. Yet, it encounters severe performance drops in non-IID environments due to a one-size-fits-all compression approach, which does not account for the varying data volumes across workers. Assigning varying compression ratios to workers with distinct data distributions and volumes is therefore a promising solution. This work derives the convergence rate of distributed SGD with non-uniform compression, which reveals the intricate relationship between model convergence and the compression ratios applied to individual workers. Accordingly, we frame the relative compression ratio assignment as an $n$-variable chi-squared nonlinear optimization problem, constrained by a limited communication budget. We propose DAGC-R, which assigns conservative compression to workers handling larger data volumes. Recognizing the computational limitations of mobile devices, we propose the DAGC-A, which is computationally less demanding and enhances the robustness of compression in non-IID scenarios. Our experiments confirm that the DAGC-R and DAGC-A can speed up the training speed by up to $25.43\%$ and $16.65\%$ compared to the uniform compression respectively, when dealing with highly imbalanced data volume distribution and restricted communication.
format Preprint
id arxiv_https___arxiv_org_abs_2311_07324
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Data-Aware Gradient Compression for FL in Communication-Constrained Mobile Computing
Lu, Rongwei
Jiang, Yutong
Mao, Yinan
Tang, Chen
Chen, Bin
Cui, Laizhong
Wang, Zhi
Machine Learning
Federated Learning (FL) in mobile environments faces significant communication bottlenecks. Gradient compression has proven as an effective solution to this issue, offering substantial benefits in environments with limited bandwidth and metered data. Yet, it encounters severe performance drops in non-IID environments due to a one-size-fits-all compression approach, which does not account for the varying data volumes across workers. Assigning varying compression ratios to workers with distinct data distributions and volumes is therefore a promising solution. This work derives the convergence rate of distributed SGD with non-uniform compression, which reveals the intricate relationship between model convergence and the compression ratios applied to individual workers. Accordingly, we frame the relative compression ratio assignment as an $n$-variable chi-squared nonlinear optimization problem, constrained by a limited communication budget. We propose DAGC-R, which assigns conservative compression to workers handling larger data volumes. Recognizing the computational limitations of mobile devices, we propose the DAGC-A, which is computationally less demanding and enhances the robustness of compression in non-IID scenarios. Our experiments confirm that the DAGC-R and DAGC-A can speed up the training speed by up to $25.43\%$ and $16.65\%$ compared to the uniform compression respectively, when dealing with highly imbalanced data volume distribution and restricted communication.
title Data-Aware Gradient Compression for FL in Communication-Constrained Mobile Computing
topic Machine Learning
url https://arxiv.org/abs/2311.07324