Imperceptible and multi-channel backdoor attack

Yushu Zhang (张玉书), Mingfu Xue, Shifeng Ni, Yinghao Wu, Yushu Zhang, Weiqiang Liu

TL;DR

This paper introduces a novel "imperceptible and multi-channel backdoor attack" against Deep Neural Networks (DNNs). By leveraging DCT steganography, the attack embeds triggers across different color channels of an image, making them virtually undetectable to humans. This allows for sophisticated attacks where either specific channels activate different malicious behaviors (N-to-N) or all channels must contain triggers to activate a single malicious behavior (N-to-One), demonstrating robustness against existing defenses.

What Problem Does This Paper Address?

Deep Neural Networks (DNNs) have become ubiquitous in various fields, but they are susceptible to "backdoor attacks." In these attacks, an adversary injects specially crafted "backdoored" data into the training set. This causes the trained DNN to behave normally on clean inputs but to produce a specific, incorrect output (the "target label") when presented with an input containing a "backdoor trigger."

Existing backdoor attacks often suffer from two main drawbacks:

  1. Perceptible Triggers: The triggers used are frequently obvious patterns that can be easily detected by humans, making the attack less stealthy.
  2. Single-Trigger, Single-Target: Most attacks employ a single trigger to activate a single target label. While some work exists on multi-target attacks, their triggers are often still perceptible.

This paper aims to overcome these limitations by developing an "imperceptible" and "multi-channel" backdoor attack that is harder to detect and offers more flexible attack capabilities.

Methods

The core of the proposed attack lies in the combination of Discrete Cosine Transform (DCT) steganography and a multi-channel embedding strategy.

  • DCT Steganography: This technique is used to embed the backdoor trigger into the image data. DCT is a standard image processing technique that transforms an image from the spatial domain to the frequency domain. The paper leverages the ability of DCT to embed information into the frequency coefficients, particularly those with smaller magnitudes, making the modifications less noticeable in the spatial domain.
  • Multi-Channel Embedding: Instead of embedding a trigger into a single image channel (e.g., grayscale or one of the RGB channels), the attack embeds triggers across multiple channels (Red, Green, Blue). This is the key to achieving both imperceptibility and advanced attack variants.
  • Imperceptible N-to-N Attack: In this variant, triggers embedded in different channels can activate different target labels. For instance, a trigger in the Red channel might cause the model to misclassify an image as "dog," while a trigger in the Green channel might cause it to misclassify the same image as "cat."
    • Imperceptible N-to-One Attack: Here, the backdoor is only activated when triggers are present in all specified channels. If even one channel lacks the trigger, the attack is not launched, making it highly stealthy. This also means that individual triggers are not sufficient to activate the backdoor.

The overall process involves:

  1. Backdoor Instance Generation: Using DCT steganography to embed triggers into specific channels of clean images.
  2. Training Backdoored Model: Labeling these modified images with the target label(s) and injecting them into the training dataset.
  3. Model Inference: The backdoored model exhibits normal behavior on clean images but misclassifies inputs with the embedded triggers.

Datasets

The paper evaluates its proposed attack on two standard image classification datasets:

  • CIFAR-10: A widely used dataset containing 60,000 color images across 10 classes.
  • TinyImageNet: A larger dataset with 200 categories, from which the authors randomly selected 10 classes for their experiments.

No new datasets were introduced in this paper.

Key Insights and Ideas

  • Stealth through Multi-Channel DCT: The combination of DCT steganography and embedding triggers across RGB channels is highly effective at making the triggers imperceptible. This is a significant improvement over previous methods that often relied on more noticeable perturbations.
  • Flexible Attack Vectors: The N-to-N and N-to-One attack variants offer novel ways to compromise DNNs. N-to-N allows for targeted, channel-specific misclassifications, while N-to-One provides an extremely stealthy attack that requires a specific combination of triggers to activate.
  • Robustness to Defenses: The proposed attack demonstrates resilience against a state-of-the-art defense mechanism (Neural Cleanse), suggesting that current detection methods may struggle with these more sophisticated, imperceptible triggers.
  • Maintaining Normal Accuracy: A crucial finding is that the backdoor attack successfully maintains the DNN's classification accuracy on clean images, making it harder to detect through standard performance monitoring.

Key Results

The paper reports strong performance for its proposed attacks:

  • N-to-N Attack: Achieved high average attack success rates (ASR) on CIFAR-10 (e.g., 95.09% for the Green channel) and TinyImageNet (e.g., 93.29% for the Red channel). The maximum ASR reached 100% on TinyImageNet.
  • N-to-One Attack: Demonstrated significantly lower success rates when only single channels contained triggers (around 25% on CIFAR-10), but achieved high success rates (around 90%) when all specified channels contained triggers. This validates the N-to-One attack's design principle.
  • Accuracy Drop: The accuracy drop on clean images was minimal, around 1.18% to 1.60% across datasets, indicating that the model's normal functionality is largely preserved.
  • Robustness: Neural Cleanse failed to detect the backdoor in most cases on CIFAR-10 and only partially detected it on TinyImageNet, with reversed triggers not matching the true embedded ones.

Limitations and Future Work

  • Parameter Sensitivity: The paper discusses the impact of injection ratios, noting that higher ratios generally lead to higher attack success rates. The optimal injection ratio was determined to be 10% for N-to-N and 3% for N-to-One attacks.
  • Computational Overhead: While not explicitly quantified as a limitation, the use of DCT steganography and multi-channel embedding likely introduces some computational overhead compared to simpler attacks.
  • Future Work: The authors suggest that their work presents new challenges for existing defense mechanisms and implies a need for more advanced detection and mitigation strategies against imperceptible and multi-channel backdoor attacks. The paper also briefly explores the performance of the attacks when N=2, showing continued effectiveness.

Summary updated

BibTeX
@article{2024imperceptible,
  author = {Yushu Zhang (张玉书) and Mingfu Xue and Shifeng Ni and Yinghao Wu and Yushu Zhang and Weiqiang Liu},
  title = {{Imperceptible and multi-channel backdoor attack}},
  journal = {Applied Intelligence},
  year = {2024},
  doi = {10.1007/s10489-023-05228-6},
}
Figure