Skip to main content
QUICK REVIEW

[Paper Review] HaS-Nets: A Heal and Select Mechanism to Defend DNNs Against Backdoor Attacks for Data Collection Scenarios

Hassan Ali, ‪Surya Nepal‬|arXiv (Cornell University)|Dec 14, 2020
Adversarial Robustness in Machine LearningComputer Science17 references14 citations
TL;DR

This paper proposes HaS-Nets, a novel defense mechanism that combines healing and selective retraining to protect deep neural networks against backdoor attacks in data collection scenarios. By iteratively healing the model with a small, trusted healing dataset (2–15% of full data) and filtering out inconsistent training samples, HaS-Nets reduces attack success rates from over 90% to below 15% across diverse datasets and architectures, outperforming state-of-the-art defenses against multiple attack variants.

ABSTRACT

We have witnessed the continuing arms race between backdoor attacks and the corresponding defense strategies on Deep Neural Networks (DNNs). Most state-of-the-art defenses rely on the statistical sanitization of the "inputs" or "latent DNN representations" to capture trojan behaviour. In this paper, we first challenge the robustness of such recently reported defenses by introducing a novel variant of targeted backdoor attack, called "low-confidence backdoor attack". We also propose a novel defense technique, called "HaS-Nets". "Low-confidence backdoor attack" exploits the confidence labels assigned to poisoned training samples by giving low values to hide their presence from the defender, both during training and inference. We evaluate the attack against four state-of-the-art defense methods, viz., STRIP, Gradient-Shaping, Februus and ULP-defense, and achieve Attack Success Rate (ASR) of 99%, 63.73%, 91.2% and 80%, respectively. We next present "HaS-Nets" to resist backdoor insertion in the network during training, using a reasonably small healing dataset, approximately 2% to 15% of full training data, to heal the network at each iteration. We evaluate it for different datasets - Fashion-MNIST, CIFAR-10, Consumer Complaint and Urban Sound - and network architectures - MLPs, 2D-CNNs, 1D-CNNs. Our experiments show that "HaS-Nets" can decrease ASRs from over 90% to less than 15%, independent of the dataset, attack configuration and network architecture.

Motivation & Objective

  • To challenge the robustness of existing backdoor defenses by introducing a novel low-confidence backdoor attack that evades statistical sanitization.
  • To address the limitation of existing defenses requiring large amounts of clean data by proposing a method effective with only 2–15% of the full training set.
  • To develop a generic, architecture-agnostic defense mechanism resilient to multiple backdoor attack variants, including invisible and label-consistent attacks.
  • To evaluate the defense under extreme conditions, such as poisoning 100% of training data (all-Trojan attack), to demonstrate scalability and robustness.

Proposed method

  • Proposes a low-confidence backdoor attack using distributed labels (e.g., [0.2, 0.4, 0.2, 0.2]) instead of one-hot labels to reduce poison gradients and hide from statistical detectors.
  • Introduces two attack variants: $\epsilon$-Attack for evading defenses based on statistical features, and $\epsilon^2$-Attack using dual triggers and union triggers to evade heatmap-based detection (e.g., Februus).
  • Develops HaS-Nets, a heal-and-select mechanism that iteratively retrains the DNN on a small healing dataset while filtering out training samples with inconsistent predictions across multiple forward passes.
  • Employs a consistency-based selection criterion: samples with high prediction variance across multiple forward passes are removed, assuming they are poisoned.
  • Applies the healing process iteratively during training, gradually purging poisoned samples and restoring model accuracy and robustness.
  • Uses a small healing dataset (2–15% of full data) to guide the healing process, making the method practical for real-world data collection scenarios.

Experimental results

Research questions

  • RQ1Can a low-confidence backdoor attack, using distributed labels, evade state-of-the-art statistical and gradient-based defenses?
  • RQ2How effective is the $\epsilon^2$-Attack, which uses dual triggers and a union trigger, in evading heatmap-based defenses like Februus?
  • RQ3Can HaS-Nets effectively defend against backdoor attacks when only a small amount of clean healing data is available?
  • RQ4How robust is HaS-Nets against invisible backdoor attacks that use imperceptible noise as triggers?
  • RQ5Can HaS-Nets resist label-consistent backdoor attacks that manipulate latent representations without changing labels?

Key findings

  • The $\epsilon$-Attack achieved an Attack Success Rate (ASR) of 99% against STRIP, 63.73% against Gradient-Shaping, 91.2% against ULP-defense, and 80% against Februus, demonstrating the vulnerability of existing defenses.
  • The $\epsilon^2$-Attack successfully evaded Februus, achieving an ASR above 80% by exploiting the dual-trigger mechanism to hide the second trigger from heatmaps.
  • HaS-Nets reduced the ASR from over 90% to less than 15% across all evaluated datasets (Fashion-MNIST, CIFAR-10, Consumer Complaint, Urban Sound) and network architectures (MLP, 2D-CNN, 1D-CNN).
  • For invisible backdoor attacks, HaS-Nets reduced the ASR from above 90% in undefended models to below 12%, showing strong resistance to imperceptible triggers.
  • In label-consistent attacks, HaS-Nets reduced ASR to 11% (Fashion-MNIST) and 12% (CIFAR-10) for $\epsilon=1.0$, and prevented backdoor insertion entirely for $\epsilon=0.4$.
  • HaS-Nets demonstrated effectiveness even under an all-Trojan attack, where 100% of the training data was poisoned, maintaining high test accuracy and low ASR.

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.