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

Carpet-bombing patch: attacking a deep network without usual requirements

Pol Labarbarie, Adrien Chan-Hon-Tong, Stéphane Herbin, Milad Leyli-AbadiarXiv 2022 · DOI

Abstract

Researchers have introduced the "Carpet-bombing patch," a novel adversarial attack that cripples deep neural networks (DNNs) without requiring knowledge of the specific downstream task or access to the original training data. By targeting the internal feature representations of a network’s encoder rather than the final output, this single physical patch simultaneously degrades performance across multiple computer vision tasks, including classification, detection, and segmentation. Evaluation across standard benchmarks like ImageNet, PASCAL VOC, and Cityscapes demonstrates the potency of this "task-agnostic" approach, highlighting a significant vulnerability in how deep learning models process information.

Introduction

Most adversarial attacks—the "optical illusions" designed to fool AI—require specific information to be effective. Typically, an attacker needs to know the exact task (e.g., classification vs. detection), the dataset used for training, or have the ability to manipulate digital pixels directly. In real-world scenarios, such information is often unavailable. An attacker might encounter a camera system without knowing if it is performing object detection for a self-driving car or semantic segmentation for urban planning.

Figure 1: Overview of the carpet-bombing attack scenario where a patch is trained on a proxy dataset (Source 2) to disrupt a DNN performing unknown tasks on a different data source (Source 1).

This paper addresses this gap by proposing a "universal" physical patch. The goal is to lower the barrier for entry for adversarial attacks by disrupting a network regardless of its ultimate purpose.

Methodology

The core innovation of the Carpet-bombing attack is shifting the focus from the "task level" to the "feature level." While standard attacks attempt to maximize a specific task loss (e.g., making a "Stop" sign look like a "Speed Limit" sign), the Carpet-bombing attack targets the encoder—the backbone of the network that converts images into abstract mathematical features.

The attack utilizes a feature disruptive loss to force the network's internal feature maps to deviate as much as possible from those of the original, uncorrupted image. In a white-box setting where the architecture is known, the patch modifies the intensity of internal features up to eight times more powerfully than traditional "invisible noise" attacks. By "blowing up" the internal logic of the model, any task-specific "head" attached to that encoder receives corrupted data, leading to widespread failure.

Key Insights and Analysis

Analysis of the attack reveals an "intriguing behavior" regarding how different adversarial methods interact with model features. Invisible noise attacks are found to be "diffusive," spreading their disruption across almost all features. In contrast, the Carpet-bombing patch is "sharp," hitting a small subset of features extremely hard while leaving others untouched.

Figure 2: Comparison of feature selection between invisible noise and patch attacks. Invisible noise affects nearly all features (diffusive), while the patch targets a small percentage with high intensity (sharp).

Other key findings include:

  • Task Agnosticism: Because the backbone is disrupted, the same patch can break classification, detection, and segmentation simultaneously.
  • The Contextual Effect: The patch does not merely obscure the area it covers; it is optimized to disrupt the features of the entire image, ensuring the unmasked regions are the most distorted in the model's representation.
  • Transferability Paradox: While devastating in white-box scenarios, the patch transfers poorly to different architectures (black-box) compared to invisible noise. This suggests that different models develop highly distinct internal feature sets.

Experimental Results

The attack was evaluated across three distinct computer vision tasks using standard benchmarks:

  • Classification (ImageNet-1K): On a ResNet50 model, accuracy plummeted from 76.06% to 0.69%.
  • Object Detection (PASCAL VOC): On YoloV2, the Mean Average Precision (mAP) dropped from 72.77% to 59.04% without introducing false alarms.
  • Semantic Segmentation (Cityscapes): On BiSeNet, performance dropped from 69.00% to 43.11% mIoU.

Crucially, a patch trained on a proxy dataset (ImageNet) and applied to a model performing detection on Cityscapes still caused a 9% performance drop, despite the attacker having no knowledge of the urban data or the specific detection task.

Conclusion and Future Work

The primary limitation of the Carpet-bombing patch is its sensitivity to model architecture and fine-tuning; effectiveness drops significantly when the target model differs from the one used to generate the patch. Future research should focus on increasing the robustness of feature-level attacks across diverse architectures. From a defensive standpoint, these results suggest that monitoring the stability of internal feature activations—rather than just final outputs—may be critical for detecting and mitigating such broad-spectrum adversarial threats.

Summary updated

BibTeX
@misc{labarbarie2022carpet,
  author = {Pol Labarbarie and Adrien Chan-Hon-Tong and Stéphane Herbin and Milad Leyli-Abadi},
  title = {{Carpet-bombing patch: attacking a deep network without usual requirements}},
  year = {2022},
  eprint = {2212.05827},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2212.05827},
}
Figure