Skip to main content
QUICK REVIEW

[Paper Review] Fine-Pruning: Defending Against Backdooring Attacks on Deep Neural Networks

Kang Liu, Brendan Dolan-Gavitt|arXiv (Cornell University)|May 30, 2018
Adversarial Robustness in Machine LearningComputer Science38 references38 citations
TL;DR

This paper proposes fine-pruning, a defense combining structured pruning and fine-tuning to neutralize backdoor attacks in deep neural networks. By pruning redundant neurons and retraining on clean data, it reduces backdoor success rates to 0% with only a 0.4% accuracy drop on clean inputs, outperforming pruning or fine-tuning alone.

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.

Motivation & Objective

  • Address the growing threat of backdoor attacks in outsourced deep learning, where malicious trainers inject hidden triggers to manipulate model behavior.
  • Investigate whether pruning and fine-tuning—two intuitive defenses—can effectively mitigate backdoor attacks in real-world DNNs.
  • Design a stronger, pruning-aware backdoor attack to test the robustness of existing defenses.
  • Propose and evaluate fine-pruning as a novel, effective defense strategy that combines pruning and fine-tuning to neutralize backdoors.
  • Provide the first systematic analysis of the attacker-defender interaction in the context of backdoor attacks on deep neural networks.

Proposed method

  • Replicate three existing backdoor attacks: on traffic sign recognition, speech recognition, and face recognition, using real-world datasets.
  • Apply structured pruning to remove neurons with low activation on clean inputs, aiming to disable backdoor functionality by eliminating redundant capacity.
  • Develop a pruning-aware backdoor attack that concentrates both clean and backdoor behavior on the same neurons, evading detection via pruning.
  • Implement fine-pruning by first pruning the model and then fine-tuning it on a clean, held-out dataset to restore accuracy and further suppress backdoor behavior.
  • Use a combination of accuracy on clean inputs and attack success rate as evaluation metrics to assess defense effectiveness.
  • Evaluate defenses across multiple architectures and datasets to ensure generalizability of results.

Experimental results

Research questions

  • RQ1Can structured pruning alone effectively defend against backdoor attacks in deep neural networks?
  • RQ2Can fine-tuning alone provide sufficient protection against sophisticated backdoor attacks?
  • RQ3How does a pruning-aware backdoor attack, which targets the same neurons for both clean and malicious behavior, evade standard pruning defenses?
  • RQ4Does combining pruning and fine-tuning—via fine-pruning—significantly improve robustness against backdoor attacks compared to individual defenses?
  • RQ5To what extent can fine-pruning eliminate backdoor functionality while preserving model accuracy on clean inputs?

Key findings

  • Pruning alone is ineffective against pruning-aware backdoor attacks, as these attacks concentrate both clean and backdoor behavior on the same neurons, making them resilient to neuron removal.
  • Fine-tuning alone provides only partial protection, as it does not eliminate the underlying structural vulnerabilities exploited by backdoors.
  • Fine-pruning reduces the attack success rate to 0% in all evaluated backdoor attacks, effectively neutralizing the malicious functionality.
  • The accuracy drop on clean inputs is minimal, at only 0.4% after fine-pruning, demonstrating strong practical feasibility.
  • The defense is effective across diverse tasks, including traffic sign recognition, speech recognition, and face recognition, indicating broad applicability.
  • Fine-pruning represents the first effective defense against backdoor attacks in deep neural networks, outperforming prior methods and setting a new benchmark for robustness in outsourced training.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.