Hidden Backdoor Attack against Semantic Segmentation Models

Yiming Li, Yanjie Li, Yalei Lv, Yong Jiang, Shu-Tao XiaarXiv 2021

Introduction

Semantic segmentation—the process of assigning a specific class label to every pixel in an image—is a foundational technology for autonomous vehicles, medical imaging, and augmented reality. Because training these models requires immense computational resources and massive datasets, many developers outsource training or use third-party data. This paper reveals a critical security vulnerability in this pipeline: the Fine-Grained Backdoor Attack (FGBA).

The Problem: Beyond Image-Level Attacks

Traditional backdoor attacks, primarily studied in image classification, are "sample-agnostic." They typically force an entire image to be misclassified into a single target category when a trigger is present. In the context of semantic segmentation, such a blunt approach is easily detectable and lacks the precision needed for sophisticated malicious manipulation.

This research addresses how backdoor attacks can be adapted to the complex, pixel-level requirements of segmentation models, allowing an attacker to surgically alter specific objects while leaving the rest of the scene untouched.

Methodology: Fine-Grained Backdoor Attack (FGBA)

The authors propose and evaluate two primary attack paradigms:

  1. Image-Level Attack (Baseline): Inspired by "BadNets," this attack forces the model to predict a pre-defined "target scene" for the entire image whenever a trigger is detected.
  2. Fine-Grained Backdoor Attack (FGBA): This novel approach targets specific object classes. For instance, an attacker can train the model to misclassify only "persons" as "palm trees" when a trigger is present. Crucially, the rest of the image—such as the road, sky, and buildings—retains its correct ground-truth labels.
Figure 6: A visualization of a fine-grained attack where specific object classes (e.g., pedestrians) are targeted for misclassification into a different class (e.g., palm trees) while maintaining the integrity of the surrounding environment.

Trigger Types

The study explored two types of activation keys:

  • Non-semantic triggers: Artificial patterns, such as a small black line or a blended image pattern, which are highly effective but require physical or digital modification of the input.
  • Semantic triggers: Natural objects already present in the environment (e.g., a specific type of wall). These are the "ultimate stealth" triggers as they require no modification to the scene, though they are more difficult for the model to learn.

Experimental Evaluation

The attacks were tested against three state-of-the-art architectures—DeepLabv3, DenseASPP, and DANet—using the ADE20K dataset, which contains 150 object categories.

Key Results

  • High Success Rates: The FGBA achieved an Attack Success Rate (ASR) often exceeding 80%, reaching up to 99% for non-semantic triggers.
  • Minimal Performance Impact: The models' performance on benign (clean) data, measured by mean Intersection-over-Union (mIOU), dropped by less than 2%. This makes the backdoor virtually invisible during standard testing and validation.
  • Poisoning Density: The attacks were successful even when poisoning only a small fraction (10-20%) of the training data.

The Defense Gap

A significant finding of this paper is the impotence of existing defenses. Most backdoor detection methods designed for classification are computationally "unbearable" for segmentation due to the high-dimensional output space ($O(K^{W \times H})$). The surgical precision of FGBA further complicates detection, as global performance metrics remain stable even while specific objects are being maliciously misidentified.

Conclusion

This work demonstrates that semantic segmentation models are highly vulnerable to precise, hidden backdoor attacks. By allowing for the "refined malicious manipulation" of specific objects, FGBA poses a severe threat to the safety of autonomous systems. The authors conclude that new defense mechanisms specifically tailored to the spatial reasoning requirements of segmentation are urgently needed.

Summary updated

BibTeX
@misc{li2021hidden,
  author = {Yiming Li and Yanjie Li and Yalei Lv and Yong Jiang and Shu-Tao Xia},
  title = {{Hidden Backdoor Attack against Semantic Segmentation Models}},
  year = {2021},
  eprint = {2103.04038},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.04038},
}
Figure