FedSZ: Leveraging Error-Bounded Lossy Compression for Federated Learning Communications

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Wilkins, Grant, Di, Sheng, Calhoun, Jon C., Li, Zilinghan, Kim, Kibaek, Underwood, Robert, Mortier, Richard, Cappello, Franck
Natura: Preprint
Pubblicazione: 2023
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866917648363683840
author Wilkins, Grant
Di, Sheng
Calhoun, Jon C.
Li, Zilinghan
Kim, Kibaek
Underwood, Robert
Mortier, Richard
Cappello, Franck
author_facet Wilkins, Grant
Di, Sheng
Calhoun, Jon C.
Li, Zilinghan
Kim, Kibaek
Underwood, Robert
Mortier, Richard
Cappello, Franck
contents With the promise of federated learning (FL) to allow for geographically-distributed and highly personalized services, the efficient exchange of model updates between clients and servers becomes crucial. FL, though decentralized, often faces communication bottlenecks, especially in resource-constrained scenarios. Existing data compression techniques like gradient sparsification, quantization, and pruning offer some solutions, but may compromise model performance or necessitate expensive retraining. In this paper, we introduce FedSZ, a specialized lossy-compression algorithm designed to minimize the size of client model updates in FL. FedSZ incorporates a comprehensive compression pipeline featuring data partitioning, lossy and lossless compression of model parameters and metadata, and serialization. We evaluate FedSZ using a suite of error-bounded lossy compressors, ultimately finding SZ2 to be the most effective across various model architectures and datasets including AlexNet, MobileNetV2, ResNet50, CIFAR-10, Caltech101, and Fashion-MNIST. Our study reveals that a relative error bound 1E-2 achieves an optimal tradeoff, compressing model states between 5.55-12.61x while maintaining inference accuracy within <0.5% of uncompressed results. Additionally, the runtime overhead of FedSZ is <4.7% or between of the wall-clock communication-round time, a worthwhile trade-off for reducing network transfer times by an order of magnitude for networks bandwidths <500Mbps. Intriguingly, we also find that the error introduced by FedSZ could potentially serve as a source of differentially private noise, opening up new avenues for privacy-preserving FL.
format Preprint
id arxiv_https___arxiv_org_abs_2312_13461
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle FedSZ: Leveraging Error-Bounded Lossy Compression for Federated Learning Communications
Wilkins, Grant
Di, Sheng
Calhoun, Jon C.
Li, Zilinghan
Kim, Kibaek
Underwood, Robert
Mortier, Richard
Cappello, Franck
Distributed, Parallel, and Cluster Computing
With the promise of federated learning (FL) to allow for geographically-distributed and highly personalized services, the efficient exchange of model updates between clients and servers becomes crucial. FL, though decentralized, often faces communication bottlenecks, especially in resource-constrained scenarios. Existing data compression techniques like gradient sparsification, quantization, and pruning offer some solutions, but may compromise model performance or necessitate expensive retraining. In this paper, we introduce FedSZ, a specialized lossy-compression algorithm designed to minimize the size of client model updates in FL. FedSZ incorporates a comprehensive compression pipeline featuring data partitioning, lossy and lossless compression of model parameters and metadata, and serialization. We evaluate FedSZ using a suite of error-bounded lossy compressors, ultimately finding SZ2 to be the most effective across various model architectures and datasets including AlexNet, MobileNetV2, ResNet50, CIFAR-10, Caltech101, and Fashion-MNIST. Our study reveals that a relative error bound 1E-2 achieves an optimal tradeoff, compressing model states between 5.55-12.61x while maintaining inference accuracy within <0.5% of uncompressed results. Additionally, the runtime overhead of FedSZ is <4.7% or between of the wall-clock communication-round time, a worthwhile trade-off for reducing network transfer times by an order of magnitude for networks bandwidths <500Mbps. Intriguingly, we also find that the error introduced by FedSZ could potentially serve as a source of differentially private noise, opening up new avenues for privacy-preserving FL.
title FedSZ: Leveraging Error-Bounded Lossy Compression for Federated Learning Communications
topic Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2312.13461