IPatch: a remote adversarial patch

Yisroel MirskyCybersecur 2021

Abstract

Applications such as autonomous vehicles and medical screening use deep learning models to localize and identify hundreds of objects in a single frame. In the past, it has been shown how an attacker can fool these models by placing an adversarial patch within a scene. However, these patches must be placed in the target location and do not explicitly alter the semantics elsewhere in the image. In this paper, we introduce a new type of adversarial patch which alters a model's perception of an image's semantics. These patches can be placed anywhere within an image to change the classification or semantics of locations far from the patch. We call this new class of adversarial examples 'remote adversarial patches' (RAP). We implement our own RAP called IPatch and perform an in-depth analysis on image segmentation RAP attacks using five state-of-the-art architectures with eight different encoders on the CamVid street view dataset. Moreover, we demonstrate that the attack can be extended to object recognition models with preliminary results on the popular YOLOv3 model. We found that the patch can change the classification of a remote target region with a success rate of up to 93% on average.

1. Introduction

Deep learning models for image segmentation and object detection are foundational to technologies like autonomous driving. While these models are known to be vulnerable to adversarial patches—small, localized patterns that force misclassification—traditional attacks require the patch to be physically placed on the target object (e.g., a sticker on a stop sign). This constraint limits the practicality and stealth of such attacks.

This research introduces the Remote Adversarial Patch (RAP), specifically the IPatch. Unlike traditional methods, a RAP can be placed in an inconspicuous corner of an image while explicitly altering the model's perception of a completely different, remote region. This capability poses a significant security risk, as an attacker could potentially force a vehicle to hallucinate obstacles or ignore traffic signals by placing a patch on a nearby lamppost or building.

2. Methodology

The IPatch attack exploits the reliance of modern semantic models on global context. By masquerading as contextual features, the patch manipulates predictions in distant areas of the image.

2.1 Incremental Training Strategy

Standard adversarial training techniques like Expectation over Transformation (EoT) often fail to converge for remote patches due to the high entropy involved in transforming both the patch and a distant target. To overcome this, the authors developed an incremental training strategy. The optimization process begins with a restricted patch placement radius. As the model converges, this radius is gradually expanded until the patch can be effectively placed anywhere in the scene.

2.2 Loss Function and Optimization

The research found that Kullback-Leibler (KL) divergence is the most effective loss function for complex street scenes. It allows the optimizer to "leech" features from the surrounding environment to better match the adversarial target. Additionally, the strongest attacks were observed when pixel values were allowed to exceed standard 0-255 clipping ranges, saturating network activations to dominate the remote semantics.

3. Experimental Evaluation

The effectiveness of IPatch was evaluated using several key datasets:

  • CamVid: Used to evaluate 37 different image segmentation models.
  • BDD100k: Utilized for demonstrating the incremental training strategy and object detection attacks.
  • YouTube Driving Video: Real-world frames used to test the attack's robustness on the YOLOv3 detector.

4. Results and Discussion

Demonstration of the IPatch attack. The adversarial patch (bottom right) causes the model to misclassify the remote target region (red box) in the segmentation map.

4.1 Segmentation and Detection Performance

Across 37 segmentation models (utilizing 8 encoders and 5 architectures), IPatch achieved an average 93% success rate for major classes such as roads, buildings, and trees. The attack also proved effective against object detectors; IPatch successfully induced a YOLOv3 model to hallucinate a person in the roadway with an 85% success rate.

4.2 Vulnerability Analysis

Architectures employing skip connections, such as Unet++ and Feature Pyramid Networks (FPN), were found to be the most susceptible. These connections allow adversarial features to bypass deep encoding compression, directly influencing the output maps. Furthermore, while larger remote targets are harder to spoof, making the target slightly larger than the intended area allows the patch to better integrate with existing semantic boundaries.

4.3 Black-Box Transferability

Patches trained on a white-box model (efficientnet-b7_FPN) demonstrated significant transferability, maintaining an 11-37% success rate against 36 unseen black-box models. In high-frequency processing environments like autonomous driving (30+ FPS), even low frame-level success rates can lead to persistent system failures.

5. Conclusion and Future Work

The IPatch demonstrates that global context, while beneficial for accuracy, creates a significant attack surface for remote manipulation. Future research will focus on using conditional GANs to generate more visually stealthy patches that do not corrupt nearby semantics. On the defensive side, the authors suggest exploring Capsule Networks, which may offer better resistance to contextual spoofing due to their explicit modeling of spatial relationships.

Summary updated

BibTeX
@inproceedings{mirsky2021ipatch,
  author = {Yisroel Mirsky},
  title = {{IPatch: a remote adversarial patch}},
  booktitle = {Cybersecur},
  year = {2021},
  url = {https://openreview.net/forum?id=0YetbZ6N31},
}
Figure