Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Backdoor Defense with Machine Unlearning

About

Backdoor injection attack is an emerging threat to the security of neural networks, however, there still exist limited effective defense methods against the attack. In this paper, we propose BAERASE, a novel method that can erase the backdoor injected into the victim model through machine unlearning. Specifically, BAERASE mainly implements backdoor defense in two key steps. First, trigger pattern recovery is conducted to extract the trigger patterns infected by the victim model. Here, the trigger pattern recovery problem is equivalent to the one of extracting an unknown noise distribution from the victim model, which can be easily resolved by the entropy maximization based generative model. Subsequently, BAERASE leverages these recovered trigger patterns to reverse the backdoor injection procedure and induce the victim model to erase the polluted memories through a newly designed gradient ascent based machine unlearning method. Compared with the previous machine unlearning solutions, the proposed approach gets rid of the reliance on the full access to training data for retraining and shows higher effectiveness on backdoor erasing than existing fine-tuning or pruning methods. Moreover, experiments show that BAERASE can averagely lower the attack success rates of three kinds of state-of-the-art backdoor attacks by 99\% on four benchmark datasets.

Yang Liu, Mingyuan Fan, Cen Chen, Ximeng Liu, Zhuo Ma, Li Wang, Jianfeng Ma• 2022

Related benchmarks

TaskDatasetResultRank
Code GenerationHumanEval (test)
Pass@160
701
Sentiment AnalysisSST-2 (test)
Accuracy93
162
Sentiment AnalysisSST2
ASR97
131
Linguistic AcceptabilityCOLA
Accuracy (CoLA)81
108
Text ClassificationSST-2
CACC93
80
Topic ClassificationAGNews
ASR0.01
78
Safety Defense EvaluationMedicine
ASR68
60
Safety Defense EvaluationMATH
ASR83
60
Jailbreak DefenseLlama model jailbreak evaluation prompts
ASR9
60
Sentiment AnalysisSST2 UJB Attack (test)
ASR95
14
Showing 10 of 20 rows

Other info

Follow for update