Federated Learning with Label-Masking Distillation

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Lu, Jianghu, Li, Shikun, Bao, Kexin, Wang, Pengju, Qian, Zhenxing, Ge, Shiming
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866912036504469504
author Lu, Jianghu
Li, Shikun
Bao, Kexin
Wang, Pengju
Qian, Zhenxing
Ge, Shiming
author_facet Lu, Jianghu
Li, Shikun
Bao, Kexin
Wang, Pengju
Qian, Zhenxing
Ge, Shiming
contents Federated learning provides a privacy-preserving manner to collaboratively train models on data distributed over multiple local clients via the coordination of a global server. In this paper, we focus on label distribution skew in federated learning, where due to the different user behavior of the client, label distributions between different clients are significantly different. When faced with such cases, most existing methods will lead to a suboptimal optimization due to the inadequate utilization of label distribution information in clients. Inspired by this, we propose a label-masking distillation approach termed FedLMD to facilitate federated learning via perceiving the various label distributions of each client. We classify the labels into majority and minority labels based on the number of examples per class during training. The client model learns the knowledge of majority labels from local data. The process of distillation masks out the predictions of majority labels from the global model, so that it can focus more on preserving the minority label knowledge of the client. A series of experiments show that the proposed approach can achieve state-of-the-art performance in various cases. Moreover, considering the limited resources of the clients, we propose a variant FedLMD-Tf that does not require an additional teacher, which outperforms previous lightweight approaches without increasing computational costs. Our code is available at https://github.com/wnma3mz/FedLMD.
format Preprint
id arxiv_https___arxiv_org_abs_2409_13136
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Federated Learning with Label-Masking Distillation
Lu, Jianghu
Li, Shikun
Bao, Kexin
Wang, Pengju
Qian, Zhenxing
Ge, Shiming
Machine Learning
Cryptography and Security
Computer Vision and Pattern Recognition
Federated learning provides a privacy-preserving manner to collaboratively train models on data distributed over multiple local clients via the coordination of a global server. In this paper, we focus on label distribution skew in federated learning, where due to the different user behavior of the client, label distributions between different clients are significantly different. When faced with such cases, most existing methods will lead to a suboptimal optimization due to the inadequate utilization of label distribution information in clients. Inspired by this, we propose a label-masking distillation approach termed FedLMD to facilitate federated learning via perceiving the various label distributions of each client. We classify the labels into majority and minority labels based on the number of examples per class during training. The client model learns the knowledge of majority labels from local data. The process of distillation masks out the predictions of majority labels from the global model, so that it can focus more on preserving the minority label knowledge of the client. A series of experiments show that the proposed approach can achieve state-of-the-art performance in various cases. Moreover, considering the limited resources of the clients, we propose a variant FedLMD-Tf that does not require an additional teacher, which outperforms previous lightweight approaches without increasing computational costs. Our code is available at https://github.com/wnma3mz/FedLMD.
title Federated Learning with Label-Masking Distillation
topic Machine Learning
Cryptography and Security
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2409.13136