Object Hider: Adversarial Patch Attack Against Object Detectors

Yusheng Zhao, Huanqian Yan, Xingxing WeiarXiv 2020

Abstract

Deep neural networks (DNNs) are susceptible to adversarial attacks, where small perturbations can lead to incorrect classifications. While global perturbations are common in research, they are often impractical for real-world physical attacks. This paper introduces "Object Hider," a novel framework designed to generate localized adversarial patches that render objects invisible to state-of-the-art object detectors like YOLOv4 and Faster R-CNN. By employing a consensus-based voting strategy across multiple models and utilizing grid-like sparse patches, the proposed method achieves high transferability and effectiveness even under strict pixel budgets.

Introduction

Object detection is a critical component in autonomous systems, including self-driving cars and surveillance. Unlike image classification, object detection requires simultaneous localization and classification of multiple objects. This complexity makes attacking detectors significantly more challenging. Traditional adversarial attacks often modify the entire image, which is unfeasible for physical deployment. Adversarial patches offer a localized alternative, but finding the optimal placement to completely "hide" an object remains a difficult task.

Methodology

The researchers developed two primary strategies for patch generation and placement:

Heatmap-based Algorithm

This approach adapts the Grad-CAM visualization technique for object detection. Since standard Grad-CAM is designed for single-label classification, the authors modified it to aggregate gradients across multiple convolutional layers and handle various bounding box scales. This results in a sensitivity map that identifies regions where noise would most disrupt the detector's performance.

Consensus-based Algorithm

To improve attack transferability, the authors proposed a "democratic" approach. Instead of optimizing against a single model, they perform iterative attacks on an ensemble of detectors (e.g., YOLOv4, Faster R-CNN, and EfficientDet). A voting mechanism then selects regions that multiple models identify as highly sensitive.

The consensus-based voting strategy aggregates noise sensitivity across multiple detection models to generate a final adversarial mask.

Grid-like Sparsity and Scale Ensembling

To maximize interference while minimizing the modified pixel count, the attack uses grid-like patches. This sparse structure allows the patch to cover a larger portion of the target object's features. Furthermore, the authors found that ensembling patches of different scales ($20 \times 20$, $50 \times 50$, and $70 \times 70$) significantly enhances the success rate across different object sizes.

Experimental Results

The methods were validated using the Alibaba Group's AIC Phase IV dataset. The "Consensus-based" approach consistently outperformed the "Heatmap-based" baseline. In competition settings, the combination of consensus voting, grid sparsity, and scale ensembling more than doubled the effectiveness of the initial attack, securing 7th place out of 1701 teams.

Method Score
Heatmap-based (Baseline) 1390
Consensus-based (Basic) 1507
Consensus-based + Grid + Scale Ensemble 3071

Qualitative results demonstrate that objects like persons and animals become completely undetected by the models once the grid patches are applied at optimal locations.

Qualitative result showing a person on a horse rendered undetected by the application of sparse grid-like adversarial patches.

Discussion and Conclusion

The success of Object Hider highlights that the location of an adversarial patch is often more critical than the specific noise pattern. The consensus-based approach demonstrates that different detector architectures often share common vulnerabilities. While highly effective, these patches remain visible to the human eye, presenting a trade-off between digital transferability and physical stealth. Future work will focus on improving the robustness of detectors against such localized attacks and extending the method to dynamic, real-world environments.

Summary updated

BibTeX
@misc{zhao2020object,
  author = {Yusheng Zhao and Huanqian Yan and Xingxing Wei},
  title = {{Object Hider: Adversarial Patch Attack Against Object Detectors}},
  year = {2020},
  eprint = {2010.14974},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.14974},
}
Figure