Towards Federated Learning with On-device Training and Communication in 8-bit Floating Point

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Wang, Bokun, Berg, Axel, Acar, Durmus Alp Emre, Zhou, Chuteng
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866915417249808384
author Wang, Bokun
Berg, Axel
Acar, Durmus Alp Emre
Zhou, Chuteng
author_facet Wang, Bokun
Berg, Axel
Acar, Durmus Alp Emre
Zhou, Chuteng
contents Recent work has shown that 8-bit floating point (FP8) can be used for efficiently training neural networks with reduced computational cost compared to training in FP32/FP16. In this work, we investigate the use of FP8 training in a federated learning context. This approach brings not only the usual benefits of FP8 which are desirable for on-device training at the edge, but also reduces client-server communication costs due to significant weight compression. We present a novel method for combining FP8 client training while maintaining a global FP32 server model and provide convergence analysis. Experiments with various machine learning models and datasets show that our method consistently yields communication reductions of at least 2.9x across a variety of tasks and models compared to an FP32 baseline to achieve the same trained model accuracy.
format Preprint
id arxiv_https___arxiv_org_abs_2407_02610
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Towards Federated Learning with On-device Training and Communication in 8-bit Floating Point
Wang, Bokun
Berg, Axel
Acar, Durmus Alp Emre
Zhou, Chuteng
Machine Learning
Distributed, Parallel, and Cluster Computing
Recent work has shown that 8-bit floating point (FP8) can be used for efficiently training neural networks with reduced computational cost compared to training in FP32/FP16. In this work, we investigate the use of FP8 training in a federated learning context. This approach brings not only the usual benefits of FP8 which are desirable for on-device training at the edge, but also reduces client-server communication costs due to significant weight compression. We present a novel method for combining FP8 client training while maintaining a global FP32 server model and provide convergence analysis. Experiments with various machine learning models and datasets show that our method consistently yields communication reductions of at least 2.9x across a variety of tasks and models compared to an FP32 baseline to achieve the same trained model accuracy.
title Towards Federated Learning with On-device Training and Communication in 8-bit Floating Point
topic Machine Learning
Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2407.02610