Model CBOR Serialization for Federated Learning

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Zandberg, Koen, Gulati, Mayank, Wunder, Gerhard, Baccelli, Emmanuel
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866916105454354432
author Zandberg, Koen
Gulati, Mayank
Wunder, Gerhard
Baccelli, Emmanuel
author_facet Zandberg, Koen
Gulati, Mayank
Wunder, Gerhard
Baccelli, Emmanuel
contents The typical federated learning workflow requires communication between a central server and a large set of clients synchronizing model parameters between each other. The current frameworks use communication protocols not suitable for resource-constrained devices and are either hard to deploy or require high-throughput links not available on these devices. In this paper, we present a generic message framework using CBOR for communication with existing federated learning frameworks optimised for use with resource-constrained devices and low power and lossy network links. We evaluate the resulting message sizes against JSON serialized messages where compare both with model parameters resulting in optimal and worst case serialization length, and with a real-world LeNet-5 model. Our benchmarks show that with our approach, messages are up to 75 % smaller in size when compared to the JSON alternative.
format Preprint
id arxiv_https___arxiv_org_abs_2401_14056
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Model CBOR Serialization for Federated Learning
Zandberg, Koen
Gulati, Mayank
Wunder, Gerhard
Baccelli, Emmanuel
Networking and Internet Architecture
The typical federated learning workflow requires communication between a central server and a large set of clients synchronizing model parameters between each other. The current frameworks use communication protocols not suitable for resource-constrained devices and are either hard to deploy or require high-throughput links not available on these devices. In this paper, we present a generic message framework using CBOR for communication with existing federated learning frameworks optimised for use with resource-constrained devices and low power and lossy network links. We evaluate the resulting message sizes against JSON serialized messages where compare both with model parameters resulting in optimal and worst case serialization length, and with a real-world LeNet-5 model. Our benchmarks show that with our approach, messages are up to 75 % smaller in size when compared to the JSON alternative.
title Model CBOR Serialization for Federated Learning
topic Networking and Internet Architecture
url https://arxiv.org/abs/2401.14056