NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Clean-Image Backdoor Attacks

Dazhong Rong, Guoyao Yu, Shuheng Shen, Xinyi Fu, Peng Qian, Jianhai Chen, Qinming He, Xing Fu, Weiqiang Wang

TL;DR

This paper introduces "clean-image backdoor attacks," a novel threat where attackers inject backdoors into image classification models by subtly altering a small fraction of training labels, without touching the images themselves. This is significant because it bypasses existing defenses that focus on detecting poisoned images, demonstrating a new vulnerability in outsourced data labeling.

What Problem Does This Paper Address?

The paper tackles a critical security gap in the prevalent practice of outsourcing data labeling for training machine learning models. While it's generally assumed that models are safe from backdoor attacks if the training images remain "clean" (i.e., unmodified), this paper challenges that assumption. Existing backdoor attacks typically require attackers to modify the training images by embedding a trigger. However, in scenarios where attackers can only influence labels (e.g., through compromised labeling services), these methods are ineffective. The paper addresses how to inject backdoors even when training images are untouched, posing a threat to models trained on potentially compromised outsourced labels.

Methods

The core of the proposed "clean-image backdoor attack" lies in identifying a "shortcut" within the training data that the model might learn. The attacker first designs a trigger feature that can naturally divide the training images into two groups. Then, a small fraction of images exhibiting this trigger feature have their labels maliciously altered to a designated "backdoor class." The model is then trained on this poisoned dataset.

The key technical innovation is the design of a binary classification function, f(X), to identify the trigger feature. This function is implemented using a linear scoring function g(X) and a threshold α. The attacker aims to ensure that the proportion of images with the trigger feature (γ) closely matches the poisoning ratio (β) to maximize the attack's effectiveness. To achieve this, they propose two strategies for defining the trigger feature's kernel matrix:

  1. Randomizing Strategy: The kernel matrix is randomly initialized, assuming input image elements follow a Gaussian distribution.
  2. Learning Strategy: The kernel matrix is learned through gradient descent to optimize for feature sensitivity, aiming to make the trigger more robust and easier to activate.

During inference, the backdoor is activated either by inputting an image that naturally contains the trigger feature or by slightly modifying a clean image to introduce it.

Datasets

The paper evaluates its attacks on two standard image classification datasets:

  • MNIST: A dataset of 28x28 grayscale handwritten digits.
  • CIFAR10: A dataset of 32x32 colored images across 10 classes.

The authors note that for MNIST, a larger kernel size (S=16) was used due to the nature of the images.

Key Insights and Ideas

  • Backdoors without Image Poisoning: The most significant insight is that backdoors can be successfully injected into models by solely manipulating a small percentage of training labels, even if the training images themselves are clean. This bypasses defenses that focus on detecting modified images.
  • Leveraging "Shortcuts": The attack exploits the tendency of models to learn "shortcuts" – simple patterns that correlate with a specific label. By identifying a common feature in a subset of images and relabeling them, the attacker forces the model to associate that feature with the backdoor class.
  • Feature Sensitivity is Crucial: The effectiveness of the attack hinges on the sensitivity of the trigger feature. It needs to be easily identifiable in a subset of images and also easily introducible into clean images with minimal modification during inference.
  • Learning Strategy Offers Higher ASR-m: While the randomizing strategy is simpler, the learning strategy for the trigger feature can lead to higher manual attack success rates (ASR-m), suggesting a more potent backdoor activation when the attacker actively crafts poisoned images.

Key Results

The paper demonstrates the effectiveness of its clean-image backdoor attacks across various datasets and model architectures (FCNN, ResNet20, SimpleViT).

  • High Attack Success Rates: The attacks achieved significant increases in both natural attack success rate (ASR-n) and manual attack success rate (ASR-m), often reaching over 0.6-0.8, while maintaining reasonable model accuracy (ACC).
  • Impact of Poisoning Ratio: Increasing the poisoning ratio (β) generally led to higher attack success rates, though with a slight drop in overall model accuracy. Even with a very small β (0.02), natural poisoned images still had a high probability of activating the backdoor.
  • Stealthiness: The attacks are shown to be stealthy. The distribution of original classes among falsified labels is random, making it hard to detect anomalies. Furthermore, the generated poisoned images are visually indistinguishable from clean images.
  • Strategy Comparison: The learning strategy, compared to randomizing, resulted in lower ASR-n but higher ASR-m. This suggests that while the learned trigger might be less likely to be naturally present, it allows for more effective backdoor activation when the attacker crafts the poisoned input.

Limitations and Future Work

  • Data Augmentation: The authors acknowledge that complex data augmentation techniques during training could disrupt the learned shortcut pattern, potentially reducing attack effectiveness.
  • Defense Mechanisms: The paper suggests that further research is needed to investigate the attacks' robustness against existing backdoor detection and defense methods.
  • Future Directions: The authors plan to focus on improving attack robustness to data augmentation and exploring methods to resist their proposed attacks. They also aim to explore attacks from various angles and expand their research to more complex scenarios.

Summary updated

BibTeX
@inproceedings{rong2024clean,
  author = {Dazhong Rong and Guoyao Yu and Shuheng Shen and Xinyi Fu and Peng Qian and Jianhai Chen and Qinming He and Xing Fu and Weiqiang Wang},
  title = {{Clean-Image Backdoor Attacks}},
  booktitle = {ICANN},
  year = {2024},
  url = {https://openreview.net/forum?id=OSKExRffFH},
}

Loading related content...

Figure