Skip to main content
QUICK REVIEW

[Paper Review] NNoculation: Broad Spectrum and Targeted Treatment of Backdoored DNNs.

Akshaj Kumar Veldanda, Kang Liu|arXiv (Cornell University)|Feb 19, 2020
Adversarial Robustness in Machine LearningComputer Science25 references30 citations
TL;DR

NNoculation is a two-stage defense against backdoored deep neural networks that first applies broad-spectrum input perturbations during pre-deployment to reduce backdoor influence, then detects and isolates backdoored inputs post-deployment using model disagreement. It trains a CycleGAN to generate trigger-embedded images from clean inputs, which are used to fine-tune the model, achieving superior robustness over NeuralCleanse and ABS under adversarial trigger variations.

ABSTRACT

This paper proposes a novel two-stage defense (NNoculation) against backdoored neural networks (BadNets) that, unlike existing defenses, makes minimal assumptions on the shape, size and location of backdoor triggers and BadNet's functioning. In the pre-deployment stage, NNoculation retrains the network using broad-spectrum random perturbations of inputs drawn from a clean validation set to partially reduce the adversarial impact of a backdoor. In the post-deployment stage, NNoculation detects and quarantines backdoored test inputs by recording disagreements between the original and pre-deployment patched networks. A CycleGAN is then trained to learn transformations between clean validation inputs and quarantined inputs; i.e., it learns to add triggers to clean validation images. This transformed set of backdoored validation images along with their correct labels is used to further retrain the BadNet, yielding our final defense. NNoculation outperforms state-of-the-art defenses NeuralCleanse and Artificial Brain Simulation (ABS) that we show are ineffective when their restrictive assumptions are circumvented by the attacker.

Motivation & Objective

  • Address the limitations of existing defenses that rely on restrictive assumptions about trigger shape, size, and location in backdoored neural networks.
  • Develop a defense mechanism effective against backdoors that evade state-of-the-art methods like NeuralCleanse and Artificial Brain Simulation when their assumptions are violated.
  • Enable robust detection and mitigation of backdoored inputs without prior knowledge of trigger characteristics.
  • Minimize reliance on architectural or trigger-specific assumptions to enhance generalization across diverse backdoor attack scenarios.

Proposed method

  • In the pre-deployment stage, the network is retrained using random perturbations applied to clean validation inputs to reduce the model's sensitivity to potential backdoor triggers.
  • In the post-deployment stage, test inputs are analyzed for disagreement between the original and pre-deployed patched models to identify potentially backdoored samples.
  • A CycleGAN is trained to learn a mapping from clean validation images to quarantined (suspected backdoored) images, effectively learning to inject triggers into clean inputs.
  • The CycleGAN-generated, trigger-embedded images—paired with their correct labels—are used to fine-tune the original backdoored network, producing a final, robust model.
  • The defense leverages model disagreement and generative modeling to identify and neutralize backdoors without requiring prior knowledge of trigger patterns.
  • The approach is designed to be agnostic to trigger characteristics, making it effective even when triggers are complex, variable, or adversarially crafted.

Experimental results

Research questions

  • RQ1Can a defense be developed that remains effective when backdoor triggers vary in shape, size, and location, bypassing assumptions made by prior defenses?
  • RQ2To what extent can broad-spectrum input perturbations reduce the impact of backdoors during pre-deployment retraining?
  • RQ3Can model disagreement between original and retrained models reliably detect backdoored inputs without prior trigger knowledge?
  • RQ4Can a CycleGAN effectively learn to synthesize trigger patterns from clean images by learning from quarantined inputs, enabling effective fine-tuning?
  • RQ5How does NNoculation compare in robustness to NeuralCleanse and ABS when their restrictive assumptions are circumvented by an adaptive attacker?

Key findings

  • NNoculation outperforms NeuralCleanse and Artificial Brain Simulation on multiple benchmark datasets when the attackers violate the assumptions of these methods.
  • The pre-deployment perturbation stage significantly reduces the model's vulnerability to backdoor triggers, even without knowing their form.
  • Model disagreement between original and patched networks successfully identifies a high proportion of backdoored inputs with minimal false positives.
  • The CycleGAN-based trigger synthesis effectively generates realistic, trigger-embedded images that are semantically consistent with clean inputs.
  • Fine-tuning the backdoored model on the CycleGAN-generated, labeled backdoored validation set results in a final model with high accuracy on clean data and strong robustness against backdoor attacks.
  • NNoculation maintains strong performance across diverse trigger types, including those that are small, irregular, or embedded in subtle patterns, unlike prior defenses that fail under such conditions.

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.