Skip to main content
QUICK REVIEW

[Paper Review] Fooling Object Detectors: Adversarial Attacks by Half-Neighbor Masks

Yanghao Zhang, Wang Fu|arXiv (Cornell University)|Jan 4, 2021
Adversarial Robustness in Machine LearningComputer Science16 references5 citations
TL;DR

This paper proposes HNM-PGD, a novel adversarial attack method for object detectors that uses half-neighbor masked perturbations to generate effective, sparse adversarial examples under strict ℓ₀ constraints (≤2% pixels, ≤10 connected regions). The method automatically identifies optimal perturbation regions via saliency-guided mask generation and projected gradient descent, achieving top 1% performance in the CIKM 2020 AnalytiCup competition while revealing semantically meaningful perturbations that expose detector vulnerabilities.

ABSTRACT

Although there are a great number of adversarial attacks on deep learning based classifiers, how to attack object detection systems has been rarely studied. In this paper, we propose a Half-Neighbor Masked Projected Gradient Descent (HNM-PGD) based attack, which can generate strong perturbation to fool different kinds of detectors under strict constraints. We also applied the proposed HNM-PGD attack in the CIKM 2020 AnalytiCup Competition, which was ranked within the top 1% on the leaderboard. We release the code at https://github.com/YanghaoZYH/HNM-PGD.

Motivation & Objective

  • To develop a practical, automatic adversarial attack framework for object detectors under strict ℓ₀ constraints on perturbation sparsity and connectivity.
  • To address the lack of effective adversarial attacks targeting object detection systems, which are increasingly used in high-security applications like autonomous driving and identity authentication.
  • To generate adversarial patches that are both sparse and semantically coherent, revealing insights into detector vulnerabilities.
  • To improve attack success rate under limited perturbation budgets while maintaining high transferability to unseen models.

Proposed method

  • The method employs a saliency map based on SmoothGrad to identify the most influential image regions for perturbation.
  • It constructs a Half-Neighbor (HN) mask by iteratively applying morphological operations to the saliency map, ensuring connectivity and sparsity constraints are met.
  • The HN mask is dynamically adjusted via a control parameter φ to balance saliency and constraint compliance.
  • Adversarial noise is generated via Projected Gradient Descent (PGD) with an element-wise mask multiplication to restrict perturbations to the identified region.
  • The attack is applied in a white-box setting using joint loss from YOLOv4 and Faster R-CNN to enhance transferability.
  • The framework is optimized with adaptive step size and iteration count, and tested with data augmentations to improve black-box generalization.

Experimental results

Research questions

  • RQ1Can a ℓ₀-constrained adversarial attack be effectively and automatically generated for object detectors without manual design?
  • RQ2How do connectivity and sparsity constraints affect the success rate and transferability of adversarial patches in object detection?
  • RQ3Do adversarial perturbations under ℓ₀ constraints reveal semantically meaningful patterns that expose model weaknesses?
  • RQ4Can the proposed method achieve high performance in real-world benchmarks like the CIKM 2020 AnalytiCup under strict constraints?

Key findings

  • The HNM-PGD attack achieved a final score of 2414.87 in the CIKM 2020 AnalytiCup, ranking 17th out of 1,000+ teams, placing within the top 1% of the leaderboard.
  • The attack successfully fooled both YOLOv4 and Faster R-CNN under the ℓ₀ constraints of ≤2% perturbed pixels and ≤10 connected regions.
  • Faster R-CNN showed better performance with higher pixel budgets due to its lower confidence threshold (0.3), while YOLOv4’s performance remained stable around 53 score points.
  • The method generated adversarial patches that targeted sensitive object parts and contained clear semantic content, suggesting a deeper link between saliency and detector vulnerability.
  • The use of data augmentations (e.g., flipping, cropping) improved generalization to black-box models, enhancing transferability.
  • Linear-shaped perturbations were found to be more effective than blocky ones due to their ability to influence a wider range of convolutional kernel outputs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.