Physical Adversarial Examples for Object Detectors

Kevin Eykholt, Ivan Evtimov, Earlence Fernandes, Bo Li, Amir Rahmati, Florian Tramèr, Atul Prakash, Tadayoshi Kohno, Dawn Song

Adversarial machine learning has long shown that deep neural networks (DNNs) can be easily tricked by "digital" noise. However, translating these attacks into the physical world—where lighting, angles, and distances vary—is a much steeper challenge. This research moves beyond simple image classifiers to target the "eyes" of autonomous systems: object detectors.

Introduction

Researchers have successfully demonstrated physical adversarial attacks that can make a Stop sign completely "disappear" from the perspective of state-of-the-art object detectors like YOLO v2. By applying specifically crafted posters or innocuous-looking stickers, they show that these safety-critical systems can be fooled in real-world environments, highlighting a significant security gap in autonomous vehicle perception.

From Classifiers to Detectors

Most prior research on adversarial examples focused on image classifiers—models that take a cropped image of a single object and assign it a label. Object detectors (like YOLO or Faster R-CNN) are far more complex; they must simultaneously locate and classify multiple objects within a full, uncropped scene.

The YOLO v2 architecture processes images in a grid, predicting bounding boxes and class probabilities for each cell, making it more complex to attack than simple classifiers.

Detectors are inherently more robust than classifiers because they use contextual information (like the relative position of objects) and process the entire image at once. To fool a detector in the physical world, an attacker must create a perturbation that remains effective across a wide range of distances, viewing angles, and lighting conditions. Despite this complexity, object detectors remain dangerously vulnerable to physical-world manipulation.

Methodology: Robust Physical Perturbations ($RP_2$)

The authors extended the Robust Physical Perturbations ($RP_2$) algorithm to handle the specific architecture of object detectors. Key technical contributions include:

  • New Loss Functions: They introduced two distinct attack types: the Disappearance Attack, which minimizes the probability of the target class until it falls below the detection threshold, and the Creation Attack, which tricks the model into detecting an object where none exists.
  • Synthetic Transformations: To ensure the attack works in the "wild," the algorithm synthetically simulates physical variations—like rotation, scale, and perspective shifts—during the optimization process.
  • Total Variation (TV) Minimization: Instead of standard $\ell_p$ noise, they used TV loss to create smoother, more "printable" perturbations that maintain their effectiveness across longer distances.
Examples of physical adversarial attacks on a Stop sign: a full poster overlay (left) and strategically placed stickers (right).

Experimental Evaluation

The study primarily utilized YOLO v2 as the primary white-box target and Faster R-CNN to test transferability (a black-box attack). The authors recorded video sequences in both controlled laboratory environments and outdoor settings to evaluate the attacks under real-world conditions.

The results demonstrate a high success rate for the Disappearance Attack:

  • YOLO v2 (White-box): In indoor tests, the "Stop sign" was ignored in 85.6% of video frames using the poster attack and 85.0% using stickers. Outdoors, the success rate remained high at 72.5% for posters and 63.5% for stickers.
  • Faster R-CNN (Black-box Transfer): The poster attack generated for YOLO successfully fooled Faster R-CNN in 85.9% of indoor frames and 40.2% of outdoor frames.
  • Creation Attack: Preliminary results showed that innocuous-looking stickers could trick YOLO into seeing Stop signs on a plain wall in 25% to 79% of video frames.

Key Insights

  • Spatial Invariance: Because detectors look at the whole scene, an attack must be "spatially invariant." By modeling the object's position and size as random variables during training, a "universal" physical sticker can be created.
  • The Importance of Smoothing: Standard adversarial noise is often high-frequency and easily washed out by distance or blur. Switching to Total Variation (TV) loss produces larger, solid blocks of color that the camera can actually "see" and the model cannot ignore.
  • Contextual Vulnerability: Detectors rely on local features to propose bounding boxes; disrupting those specific local features is enough to make the entire object "vanish" from the model's proposal pipeline.

Conclusion and Future Work

While these attacks are effective, they are not yet "invisible" to humans, appearing as colorful abstract art or strange graffiti. Future research directions include attacking models that detect moving vehicles, extending attacks to semantic segmentation, and developing defense mechanisms like adversarial training to harden object detectors against these physical-world threats.

Summary updated

BibTeX
@inproceedings{eykholt2018physical,
  author = {Kevin Eykholt and Ivan Evtimov and Earlence Fernandes and Bo Li and Amir Rahmati and Florian Tramèr and Atul Prakash and Tadayoshi Kohno and Dawn Song},
  title = {{Physical Adversarial Examples for Object Detectors}},
  booktitle = {WOOT @ USENIX Security Symposium},
  year = {2018},
  url = {https://openreview.net/forum?id=B-birlVf7c},
}
Figure