Home > Technology peripherals > AI > ICLR 2024 | Model critical layers for federated learning backdoor attacks

ICLR 2024 | Model critical layers for federated learning backdoor attacks

PHPz
Release: 2024-04-07 09:04:08
forward
1099 people have browsed it

Federated learning uses multiple parties to train models while data privacy is protected. However, because the server cannot monitor the training process performed locally by participants, participants can tamper with the local training model, thus posing security risks to the overall federated learning model, such as backdoor attacks.

This article focuses on how to launch a backdoor attack on federated learning under a defensively protected training framework. This paper finds that the implantation of backdoor attacks is more closely related to some neural network layers, and calls these layers the key layers for backdoor attacks. In federated learning, clients participating in training are distributed on different devices. They each train their own models, and then upload the updated model parameters to the server for aggregation. Since the client participating in the training is not trustworthy and there is a certain risk, the server

is based on the discovery of the key layer of the backdoor. This article proposes to bypass the defense algorithm detection by attacking the key layer of the backdoor, so that a small number of participants can be controlled to perform efficient backdoor attack.

ICLR 2024 | 联邦学习后门攻击的模型关键层

Paper title: Backdoor Federated Learning By Poisoning Backdoor-Critical Layers

Paper link: https://openreview.net/pdf?id=AJBGSVSTT2

Code link: https://github.com/zhmzm/Poisoning_Backdoor-critical_Layers_Attack

Method

ICLR 2024 | 联邦学习后门攻击的模型关键层

This article A layer replacement method is proposed to identify key layers of backdoors. The specific method is as follows:

  • The first step is to train the model on a clean data set until convergence, and save the model parameters as benign modelICLR 2024 | 联邦学习后门攻击的模型关键层. Then copy the benign model and train it on the data set containing the backdoor. After convergence, save the model parameters and record them as malicious model ICLR 2024 | 联邦学习后门攻击的模型关键层.

  • The second step is to replace a layer of parameters in the benign model into the malicious model containing the backdoor, and calculate the backdoor attack success rateICLR 2024 | 联邦学习后门攻击的模型关键层 of the resulting model. The difference between the obtained backdoor attack success rate and the malicious model's backdoor attack success rate BSR is ΔBSR, which can be used to obtain the impact of this layer on backdoor attacks. Using the same method for each layer in the neural network, you can get a list of the impact of all layers on backdoor attacks.

  • The third step is to sort all layers according to their impact on backdoor attacks. Take the layer with the greatest impact from the list and add it to the backdoor attack key layer set ICLR 2024 | 联邦学习后门攻击的模型关键层, and implant the backdoor attack key layer (layers in the set ICLR 2024 | Model critical layers for federated learning backdoor attacks) parameters in the malicious model into the benign model. Calculate the backdoor attack success rateICLR 2024 | 联邦学习后门攻击的模型关键层 of the obtained model. If the backdoor attack success rate is greater than the set threshold τ multiplied by the malicious model backdoor attack success rateICLR 2024 | 联邦学习后门攻击的模型关键层, the algorithm will be stopped. If it is not satisfied, continue to add the largest layer among the remaining layers in the list to the key layer for backdoor attack ICLR 2024 | Model critical layers for federated learning backdoor attacks until the conditions are met.

After obtaining the collection of key layers of backdoor attacks, this article proposes a method to bypass the detection of defense methods by attacking the key layers of backdoors. In addition, this paper introduces simulation aggregation and benign model centers to further reduce the distance from other benign models.

Experimental results

This article verifies the effectiveness of key layer attacks based on backdoors on multiple defense methods on the CIFAR-10 and MNIST data sets. The experiment will use the backdoor attack success rate BSR and the malicious model acceptance rate MAR (benign model acceptance rate BAR) as indicators to measure the effectiveness of the attack.

First of all, layer-based attack LP Attack can allow malicious clients to obtain a high selection rate. As shown in the table below, LP Attack achieved a reception rate of 90% on the CIFAR-10 dataset, which is much higher than the 34% of benign users.

ICLR 2024 | 联邦学习后门攻击的模型关键层

Then, LP Attack can achieve a high backdoor attack success rate, even in a setting with only 10% malicious clients. As shown in the table below, LP Attack can achieve a high backdoor attack success rate BSR under the protection of different data sets and different defense methods.

ICLR 2024 | 联邦学习后门攻击的模型关键层

In the ablation experiment, this article poisoned the backdoor key layer and the non-backdoor key layer respectively and measured the backdoor attack success rate of the two experiments. As shown in the figure below, when attacking the same number of layers, the success rate of poisoning non-backdoor key layers is much lower than that of poisoning backdoor key layers. This shows that the algorithm in this article can select effective backdoor attack key layers.

ICLR 2024 | 联邦学习后门攻击的模型关键层

In addition, we conduct ablation experiments on the model aggregation module Model Averaging and the adaptive control module Adaptive Control. As shown in the table below, both modules improve the selection rate and backdoor attack success rate, proving the effectiveness of these two modules.

ICLR 2024 | 联邦学习后门攻击的模型关键层

Summary

This article found that backdoor attacks are closely related to some layers, and proposed an algorithm to search for key layers of backdoor attacks. This paper proposes a layer-wise attack on the protection algorithm in federated learning by using backdoors to attack key layers. The proposed attack reveals the vulnerabilities of the current three types of defense methods, indicating that more sophisticated defense algorithms will be needed to protect federated learning security in the future.

Introduction to the author

Zhuang Haomin, graduated from South China University of Technology with a bachelor's degree, worked as a research assistant in the IntelliSys Laboratory of Louisiana State University, and is currently studying for a doctoral degree at the University of Notre Dame . The main research directions are backdoor attacks and adversarial sample attacks.

The above is the detailed content of ICLR 2024 | Model critical layers for federated learning backdoor attacks. For more information, please follow other related articles on the PHP Chinese website!

source:jiqizhixin.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template