SkyMask: Attack-agnostic Robust Federated Learning with Fine-grained Learnable Masks

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Yan, Peishen, Wang, Hao, Song, Tao, Hua, Yang, Ma, Ruhui, Hu, Ningxin, Haghighat, Mohammad R., Guan, Haibing
Format: Preprint
Publié: 2023
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866916329006563328
author Yan, Peishen
Wang, Hao
Song, Tao
Hua, Yang
Ma, Ruhui
Hu, Ningxin
Haghighat, Mohammad R.
Guan, Haibing
author_facet Yan, Peishen
Wang, Hao
Song, Tao
Hua, Yang
Ma, Ruhui
Hu, Ningxin
Haghighat, Mohammad R.
Guan, Haibing
contents Federated Learning (FL) is becoming a popular paradigm for leveraging distributed data and preserving data privacy. However, due to the distributed characteristic, FL systems are vulnerable to Byzantine attacks that compromised clients attack the global model by uploading malicious model updates. With the development of layer-level and parameter-level fine-grained attacks, the attacks' stealthiness and effectiveness have been significantly improved. The existing defense mechanisms solely analyze the model-level statistics of individual model updates uploaded by clients to mitigate Byzantine attacks, which are ineffective against fine-grained attacks due to unawareness or overreaction. To address this problem, we propose SkyMask, a new attack-agnostic robust FL system that firstly leverages fine-grained learnable masks to identify malicious model updates at the parameter level. Specifically, the FL server freezes and multiplies the model updates uploaded by clients with the parameter-level masks, and trains the masks over a small clean dataset (i.e., root dataset) to learn the subtle difference between benign and malicious model updates in a high-dimension space. Our extensive experiments involve different models on three public datasets under state-of-the-art (SOTA) attacks, where the results show that SkyMask achieves up to 14% higher testing accuracy compared with SOTA defense strategies under the same attacks and successfully defends against attacks with malicious clients of a high fraction up to 80%. Code is available at https://github.com/KoalaYan/SkyMask.
format Preprint
id arxiv_https___arxiv_org_abs_2312_12484
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle SkyMask: Attack-agnostic Robust Federated Learning with Fine-grained Learnable Masks
Yan, Peishen
Wang, Hao
Song, Tao
Hua, Yang
Ma, Ruhui
Hu, Ningxin
Haghighat, Mohammad R.
Guan, Haibing
Cryptography and Security
Distributed, Parallel, and Cluster Computing
Machine Learning
Federated Learning (FL) is becoming a popular paradigm for leveraging distributed data and preserving data privacy. However, due to the distributed characteristic, FL systems are vulnerable to Byzantine attacks that compromised clients attack the global model by uploading malicious model updates. With the development of layer-level and parameter-level fine-grained attacks, the attacks' stealthiness and effectiveness have been significantly improved. The existing defense mechanisms solely analyze the model-level statistics of individual model updates uploaded by clients to mitigate Byzantine attacks, which are ineffective against fine-grained attacks due to unawareness or overreaction. To address this problem, we propose SkyMask, a new attack-agnostic robust FL system that firstly leverages fine-grained learnable masks to identify malicious model updates at the parameter level. Specifically, the FL server freezes and multiplies the model updates uploaded by clients with the parameter-level masks, and trains the masks over a small clean dataset (i.e., root dataset) to learn the subtle difference between benign and malicious model updates in a high-dimension space. Our extensive experiments involve different models on three public datasets under state-of-the-art (SOTA) attacks, where the results show that SkyMask achieves up to 14% higher testing accuracy compared with SOTA defense strategies under the same attacks and successfully defends against attacks with malicious clients of a high fraction up to 80%. Code is available at https://github.com/KoalaYan/SkyMask.
title SkyMask: Attack-agnostic Robust Federated Learning with Fine-grained Learnable Masks
topic Cryptography and Security
Distributed, Parallel, and Cluster Computing
Machine Learning
url https://arxiv.org/abs/2312.12484