Defending Against Person Hiding Adversarial Patch Attack with a Universal White Frame

Youngjoon Yu, Hong Joo Lee, Hakmin Lee, Yong Man Ro · OpenReview

TL;DR

This paper introduces a "Universal Defensive Frame" (UDF) to protect person detection systems from adversarial patch attacks. By training a defensive frame that competes with an adversarial patch generator, the UDF effectively mitigates attacks without requiring retraining of the person detector, making it a practical and efficient defense.

What Problem Does This Paper Address?

Deep learning-based person detectors, crucial for applications like autonomous driving and security, are surprisingly vulnerable to "adversarial patch attacks." These attacks involve creating small, often imperceptible, patches that, when placed on a person, can cause the detector to completely miss them. While previous defenses have focused on modifying the detection model itself (requiring extensive retraining and computational resources) or are limited to specific attack scenarios, this paper addresses the need for a defense that is:

  • Effective against physical adversarial patches: These patches are designed to work in the real world, not just in digital simulations.
  • Model-agnostic: It should work with any pre-trained person detector without needing to retrain it.
  • Efficient: It shouldn't add significant computational overhead during inference.
  • Robust to various attack types: It should defend against different kinds of adversarial patches.

The core challenge is to create a defense that can neutralize the adversarial patch's effect while preserving the detector's ability to find people in clean images.

Methods

The paper proposes a novel defense strategy centered around a "Universal Defensive Frame" (UDF). The UDF is a frame-shaped pattern that is applied to the border of input images. The key innovation lies in how this UDF is generated:

  • Competitive Learning Framework: The UDF is optimized through a "see-saw game" between two competing modules:
  • Shielding Frame Generation Module: This module aims to generate a defensive frame (UDF) that recovers the original person detection results, even when an adversarial patch is present.
  • Threatening Patch Generation Module: This module generates an adversarial patch designed to fool the person detector by reducing its objectness score.
  • Iterative Optimization: These two modules iteratively compete. The shielding frame tries to counteract the threatening patch, and the threatening patch tries to overcome the shielding frame. This process continues until a balance is reached, resulting in a UDF that is robust to the generated threatening patches.
  • Loss Functions:
    • The shielding frame is optimized to minimize the difference between the detector's output on a clean image and the output on an image with the threatening patch and the shielding frame applied.
  • The threatening patch is optimized to minimize the objectness score of the detector's output.
  • Universal Nature: The UDF is trained on a diverse set of images and is designed to be image-agnostic, meaning the same UDF can be applied to various images during inference.

Datasets

The paper utilizes the following datasets:

  • INRIA Dataset: A standard dataset for person detection, used for training and evaluating the UDF against adversarial patch attacks.
  • Collected Dataset: A custom dataset collected from security entrance scenes (indoor and outdoor) to further validate the UDF's performance in real-world scenarios.

Key Insights and Ideas

  • Turning the Attack into a Defense: The core idea is to leverage the adversarial nature of patches. Instead of just trying to block the attack, the UDF is trained in a competitive setting where it learns to "undo" the adversarial patch's effect by recovering the original detection signal.
  • Frame-Based Defense: Applying a defensive pattern as a frame around the image is a simple yet effective way to introduce robustness without altering the core detection network. This frame acts as a localized perturbation that can disrupt the adversarial patch's influence.
  • Image-Agnostic Defense: The UDF is trained to be universal, meaning a single trained frame can protect various images. This is crucial for practical deployment, as it avoids the need for per-image adaptation.
  • Efficiency Through Pre-processing: The UDF is applied as a pre-processing step. This means the computationally expensive person detector doesn't need to be retrained, and the inference overhead is minimal.

Key Results

The proposed UDF demonstrates significant improvements in defending against adversarial patch attacks:

  • High Defense Performance: On the YOLO-v2 and Faster R-CNN detectors, the UDF significantly boosts the Average Precision (AP) score under various adversarial patch attacks (Adv-Patch, Adv-Cloak, Adv-T-shirt). For instance, on the INRIA dataset with the Adv-Patch attack, the AP score increased from 18.80 (no defense) to 51.96 (with UDF).
  • Minimal Impact on Clean Images: The UDF has a negligible impact on the detection performance of clean images, with AP scores only slightly reduced (e.g., by 0.71% for YOLO-v2 on clean images).
  • Robustness to Adaptive Attacks: The UDF remains effective even when attackers are aware of its presence and try to craft "adaptive" adversarial patches.
  • Efficiency: The inference time increase due to applying the UDF is minimal (around 13.1 ms for Faster R-CNN and 5.2 ms for YOLO-v2), making it suitable for real-time applications.
  • Generalizability: The UDF shows effectiveness across different person detectors (one-stage like YOLO-v2 and two-stage like Faster R-CNN) and various attack types.

Limitations and Future Work

  • Frame Width Optimization: The paper analyzes the effect of frame width and finds that performance saturates around a width of 80 pixels. While increasing the width improves defense, it also increases computational burden. The optimal width is a trade-off.
  • Computational Cost of Training: While inference is efficient, the training process for generating the UDF involves competitive learning, which can still be computationally intensive.
  • Future Work: The authors suggest extending their work to defend against adversarial attacks on other object detection tasks beyond just persons. They also propose exploring the generalization of learnable defensive patterns to broader object detection scenarios.

Summary updated

BibTeX
@misc{yu2022defending,
  author = {Youngjoon Yu and Hong Joo Lee and Hakmin Lee and Yong Man Ro},
  title = {{Defending Against Person Hiding Adversarial Patch Attack with a Universal White Frame}},
  year = {2022},
  eprint = {2204.13004},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.13004},
}
Figure