Saved in:
Bibliographic Details
Main Authors: Chan, Yun-Hin, Jiang, Zhihan, Deng, Jing, Ngai, Edith C. -H.
Format: Preprint
Published: 2023
Subjects:
Online Access:https://arxiv.org/abs/2304.00759
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909089585430528
author Chan, Yun-Hin
Jiang, Zhihan
Deng, Jing
Ngai, Edith C. -H.
author_facet Chan, Yun-Hin
Jiang, Zhihan
Deng, Jing
Ngai, Edith C. -H.
contents Federated learning (FL) facilitates edge devices to cooperatively train a global shared model while maintaining the training data locally and privately. However, a common assumption in FL requires the participating edge devices to have similar computation resources and train on an identical global model architecture. In this study, we propose an FL method called Federated Intermediate Layers Learning (FedIN), supporting heterogeneous models without relying on any public dataset. Instead, FedIN leverages the inherent knowledge embedded in client model features to facilitate knowledge exchange. The training models in FedIN are partitioned into three distinct components: an extractor, intermediate layers, and a classifier. We capture client features by extracting the outputs of the extractor and the inputs of the classifier. To harness the knowledge from client features, we propose IN training for aligning the intermediate layers based on features obtained from other clients. IN training only needs minimal memory and communication overhead by utilizing a single batch of client features. Additionally, we formulate and address a convex optimization problem to mitigate the challenge of gradient divergence caused by conflicts between IN training and local training. The experiment results demonstrate the superior performance of FedIN in heterogeneous model environments compared to state-of-the-art algorithms. Furthermore, our ablation study demonstrates the effectiveness of IN training and the proposed solution for alleviating gradient divergence.
format Preprint
id arxiv_https___arxiv_org_abs_2304_00759
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle FedIN: Federated Intermediate Layers Learning for Model Heterogeneity
Chan, Yun-Hin
Jiang, Zhihan
Deng, Jing
Ngai, Edith C. -H.
Machine Learning
Federated learning (FL) facilitates edge devices to cooperatively train a global shared model while maintaining the training data locally and privately. However, a common assumption in FL requires the participating edge devices to have similar computation resources and train on an identical global model architecture. In this study, we propose an FL method called Federated Intermediate Layers Learning (FedIN), supporting heterogeneous models without relying on any public dataset. Instead, FedIN leverages the inherent knowledge embedded in client model features to facilitate knowledge exchange. The training models in FedIN are partitioned into three distinct components: an extractor, intermediate layers, and a classifier. We capture client features by extracting the outputs of the extractor and the inputs of the classifier. To harness the knowledge from client features, we propose IN training for aligning the intermediate layers based on features obtained from other clients. IN training only needs minimal memory and communication overhead by utilizing a single batch of client features. Additionally, we formulate and address a convex optimization problem to mitigate the challenge of gradient divergence caused by conflicts between IN training and local training. The experiment results demonstrate the superior performance of FedIN in heterogeneous model environments compared to state-of-the-art algorithms. Furthermore, our ablation study demonstrates the effectiveness of IN training and the proposed solution for alleviating gradient divergence.
title FedIN: Federated Intermediate Layers Learning for Model Heterogeneity
topic Machine Learning
url https://arxiv.org/abs/2304.00759