Caesar: A Low-deviation Compression Approach for Efficient Federated Learning

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Yan, Jiaming, Liu, Jianchun, Xu, Hongli, Huang, Liusheng, Gong, Jiantao, Liu, Xudong, Hou, Kun
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912171281088512
author Yan, Jiaming
Liu, Jianchun
Xu, Hongli
Huang, Liusheng
Gong, Jiantao
Liu, Xudong
Hou, Kun
author_facet Yan, Jiaming
Liu, Jianchun
Xu, Hongli
Huang, Liusheng
Gong, Jiantao
Liu, Xudong
Hou, Kun
contents Compression is an efficient way to relieve the tremendous communication overhead of federated learning (FL) systems. However, for the existing works, the information loss under compression will lead to unexpected model/gradient deviation for the FL training, significantly degrading the training performance, especially under the challenges of data heterogeneity and model obsolescence. To strike a delicate trade-off between model accuracy and traffic cost, we propose Caesar, a novel FL framework with a low-deviation compression approach. For the global model download, we design a greedy method to optimize the compression ratio for each device based on the staleness of the local model, ensuring a precise initial model for local training. Regarding the local gradient upload, we utilize the device's local data properties (\ie, sample volume and label distribution) to quantify its local gradient's importance, which then guides the determination of the gradient compression ratio. Besides, with the fine-grained batch size optimization, Caesar can significantly diminish the devices' idle waiting time under the synchronized barrier. We have implemented Caesar on two physical platforms with 40 smartphones and 80 NVIDIA Jetson devices. Extensive results show that Caesar can reduce the traffic costs by about 25.54%$\thicksim$37.88% compared to the compression-based baselines with the same target accuracy, while incurring only a 0.68% degradation in final test accuracy relative to the full-precision communication.
format Preprint
id arxiv_https___arxiv_org_abs_2412_19989
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Caesar: A Low-deviation Compression Approach for Efficient Federated Learning
Yan, Jiaming
Liu, Jianchun
Xu, Hongli
Huang, Liusheng
Gong, Jiantao
Liu, Xudong
Hou, Kun
Machine Learning
Distributed, Parallel, and Cluster Computing
Compression is an efficient way to relieve the tremendous communication overhead of federated learning (FL) systems. However, for the existing works, the information loss under compression will lead to unexpected model/gradient deviation for the FL training, significantly degrading the training performance, especially under the challenges of data heterogeneity and model obsolescence. To strike a delicate trade-off between model accuracy and traffic cost, we propose Caesar, a novel FL framework with a low-deviation compression approach. For the global model download, we design a greedy method to optimize the compression ratio for each device based on the staleness of the local model, ensuring a precise initial model for local training. Regarding the local gradient upload, we utilize the device's local data properties (\ie, sample volume and label distribution) to quantify its local gradient's importance, which then guides the determination of the gradient compression ratio. Besides, with the fine-grained batch size optimization, Caesar can significantly diminish the devices' idle waiting time under the synchronized barrier. We have implemented Caesar on two physical platforms with 40 smartphones and 80 NVIDIA Jetson devices. Extensive results show that Caesar can reduce the traffic costs by about 25.54%$\thicksim$37.88% compared to the compression-based baselines with the same target accuracy, while incurring only a 0.68% degradation in final test accuracy relative to the full-precision communication.
title Caesar: A Low-deviation Compression Approach for Efficient Federated Learning
topic Machine Learning
Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2412.19989