Fine-Pruning: Defending Against Backdooring Attacks on Deep Neural Networks
Kang Liu, Brendan Dolan-Gavitt, Siddharth Garg
TL;DR
This paper addresses backdoor attacks arising from outsourced DNN training by evaluating pruning and fine-tuning defenses and introducing a novel defense called fine-pruning. It demonstrates that pruning or fine-tuning alone are insufficient against adaptive attackers, but that combining pruning with subsequent fine-tuning effectively neutralizes backdoors across face, speech, and traffic-sign tasks while preserving clean accuracy. A key contribution is the pruning-aware attack, which shows how backdoors can be engineered to survive pruning, motivating the need for the combined approach. The proposed fine-pruning defense offers a practical, computationally efficient path toward safer outsourced DNN training with real-world applicability.
Abstract
Deep neural networks (DNNs) provide excellent performance across a wide range of classification tasks, but their training requires high computational resources and is often outsourced to third parties. Recent work has shown that outsourced training introduces the risk that a malicious trainer will return a backdoored DNN that behaves normally on most inputs but causes targeted misclassifications or degrades the accuracy of the network when a trigger known only to the attacker is present. In this paper, we provide the first effective defenses against backdoor attacks on DNNs. We implement three backdoor attacks from prior work and use them to investigate two promising defenses, pruning and fine-tuning. We show that neither, by itself, is sufficient to defend against sophisticated attackers. We then evaluate fine-pruning, a combination of pruning and fine-tuning, and show that it successfully weakens or even eliminates the backdoors, i.e., in some cases reducing the attack success rate to 0% with only a 0.4% drop in accuracy for clean (non-triggering) inputs. Our work provides the first step toward defenses against backdoor attacks in deep neural networks.
