Imperceptible Sample-Specific Backdoor to DNN with Denoising Autoencoder

Xiangqi Wang, Mingfu Xue, Kewei Chen, Jing Xu, Wenmao Liu, Leo Yu Zhang, Yushu Zhang

TL;DR

This paper introduces a novel backdoor attack that uses a Denoising Autoencoder (DAE) to generate triggers that are both invisible to the human eye and unique to every single image. Unlike traditional attacks that use a fixed, visible patch, this method achieves a near-perfect 99.8% success rate while remaining completely evasive against state-of-the-art backdoor defenses.

What Problem Does This Paper Address?

Deep Neural Networks (DNNs) are vulnerable to "backdoor attacks," where a model is trained to behave normally on clean data but misclassify inputs containing a specific "trigger" into a target class.

Most existing backdoor attacks suffer from two major flaws:

  1. Visibility: Triggers are often obvious patches (like a white square) that a human data curator could easily spot.
  2. Universality: The same trigger is used for every image. This makes them "catchable" by defense algorithms that look for consistent, abnormal patterns across a dataset.

While some "sample-specific" attacks exist, they often require the attacker to have deep knowledge of the victim model or fail to be truly "exclusive" (meaning a trigger for one image might accidentally activate the backdoor in another). The authors aim to create a stealthy, automated, and highly exclusive attack that requires zero knowledge of the victim model's architecture.

Methods

The core innovation is the use of a Denoising Autoencoder (DAE) to bridge the gap between visible features and invisible triggers. The process works in two main steps:

  1. Feature Injection: The attacker takes a clean image and injects a visible, sample-specific feature. The paper explores three modes:
  2. Mix: Blending the image with random noise.
  3. Corner: Highlighting corner points with a specific color.
  4. Edge: Highlighting the edges of objects within the image.
  5. DAE Reconstruction: A DAE is trained to take these "feature-injected" images and reconstruct them to look as close to the original clean images as possible.
Figure 3: The training process of the denoising autoencoder.

The "magic" happens because the DAE removes the visible artifacts of the injected features for humans, but leaves behind subtle, pervasive perturbations that the DNN learns to recognize as the backdoor trigger. Because the edges or corners of every image are different, the resulting trigger is unique to that specific sample.

The attack pipeline shows how poisoned samples are generated and mixed into the training set to infect the victim classifier.

Datasets

The authors evaluated their attack on two large-scale, industry-standard datasets:

  • ImageNet: A subset of 200 classes with 125,000 images for general image classification.
  • MS-Celeb-1M: A subset of 155 classes with approximately 54,000 images for face recognition tasks.

Key Insights and Ideas

  • Stealth through Denoising: By framing trigger generation as a denoising task, the authors can "hide" complex features in plain sight. The residual difference between a clean and poisoned image is almost imperceptible.
  • High Exclusiveness: Because the triggers are derived from the unique geometry of each image (like its specific edges), a trigger generated for Image A will not activate the backdoor when applied to Image B. This prevents defenses from finding a "universal" pattern.
  • Transferability: Remarkably, a DAE trained on one dataset (e.g., ImageNet) can be used to generate effective triggers for a completely different task (e.g., face recognition on MS-Celeb-1M) without retraining.
  • Zero-Knowledge Requirement: The attacker doesn't need to know the victim's model structure, loss function, or training parameters. They only need to provide a small fraction (as low as 1%) of poisoned data to the training set.

Key Results

The proposed attack demonstrated exceptional performance across multiple metrics:

  • Attack Success Rate (ASR): Achieved a stable 99.8% ASR on both ImageNet and MS-Celeb-1M.
  • Clean Data Accuracy (CDA): The infected models performed almost identically to clean models on normal data, with less than a 1% drop in accuracy.
  • Defense Evasion: The attack successfully bypassed four major defenses:
  • Fine-Pruning: While other attacks saw their ASR plummet when neurons were pruned, this attack remained highly effective. Comparison of ASR and CDA under Fine-Pruning defense.

  • Neural Cleanse: The anomaly index for the poisoned models remained below the detection threshold, unlike traditional attacks like BadNets. Neural Cleanse anomaly index results showing the attack stays below the threshold.

  • STRIP & SentiNet: The sample-specific nature of the triggers meant they did not produce the predictable entropy or Grad-CAM patterns these defenses rely on.

Comparison of ASR and CDA under Fine-Pruning defense.
Neural Cleanse anomaly index results showing the attack stays below the threshold.

Limitations and Future Work

While highly effective, the paper notes a few areas for further exploration:

  • Poisoning Ratio: While the attack works at a 1% poisoning rate, the ASR does drop slightly compared to a 10% rate. Finding ways to maintain 99%+ ASR at even lower poisoning ratios is a potential future direction.
  • Feature Selection: The study focused on edges, corners, and noise. Future work could investigate more complex semantic features for injection to see if they offer even higher stealth or robustness.
  • Defense Co-evolution: As attacks become more sophisticated by using sample-specific triggers, new defense mechanisms will need to be developed that do not rely on the assumption of universal trigger patterns.

Summary updated

Abstract

The backdoor attack poses a new security threat to deep neural networks. Existing backdoor often relies on visible universal trigger to make the backdoored model malfunction, which are not only usually visually suspicious to human but also catchable by mainstream countermeasures. We propose an imperceptible sample-specific backdoor that the trigger varies from sample to sample and invisible. Our trigger generation is automated through a desnoising autoencoder that is fed with delicate but pervasive features (i.e., edge patterns per images). We extensively experiment our backdoor attack on ImageNet and MS-Celeb-1M, which demonstrates stable and nearly 100% (i.e., 99.8%) attack success rate with negligible impact on the clean data accuracy of the infected model. The denoising autoeconder based trigger generator is reusable or transferable across tasks (e.g., from ImageNet to MS-Celeb-1M), whilst the trigger has high exclusiveness (i.e., a trigger generated for one sample is not applicable to another sample). Besides, our proposed backdoored model has achieved high evasiveness against mainstream backdoor defenses such as Neural Cleanse, STRIP, SentiNet and Fine-Pruning.
BibTeX
@misc{wang2023imperceptible,
  author = {Xiangqi Wang and Mingfu Xue and Kewei Chen and Jing Xu and Wenmao Liu and Leo Yu Zhang and Yushu Zhang},
  title = {{Imperceptible Sample-Specific Backdoor to DNN with Denoising Autoencoder}},
  year = {2023},
  eprint = {2302.04457},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2302.04457},
}
Figure