Physical Adversarial Examples Against Object DetectorsPhysical Adversarial Examples for Object Detectors
The authors extend RP2 to object detectors; the disappearance attack on YOLO v2 causes the Stop sign not to be detected in 85.6% (poster)/85.0% (sticker) of indoor frames.
The attacker controls only the physical layer (objects in the environment), not the system's internal sensors and data pipeline; white-box for YOLO v2, black-box transfer for Faster R-CNN; perturbations are applied to real Stop signs in the form of posters or stickers, visible to the human eye but resembling graffiti.
- Physical adversarial example research has focused on image classifiers, while whether object detectors, which can simultaneously detect and label multiple objects in a scene, can be fooled by physical perturbations remains an open question; detectors are used in safety-critical settings such as autonomous driving, and the authors argue this risk needs to be answered.
- The authors extend the RP2 algorithm targeting classifiers: they switch to an adversarial loss adapted to the detector output structure (disappearance attack lowers the target class probability, creation attack raises box confidence and target class probability), add synthetic transformations of rotation and position, and replace the lp norm with the total variation norm to smooth the perturbation, generating posters or stickers to place on real Stop signs.
- On self-recorded videos, YOLO v2's disappearance attack with poster/sticker perturbations failed to detect the Stop sign in 85.6%/85.0% of indoor frames and 72.5%/63.5% of outdoor frames; transferred to Faster R-CNN, 85.9%/58.9% indoors and 40.2%/18.9% outdoors; preliminary creation attack results show false Stop sign detection in 25%–79% of frames.
- The authors note that the attack fails under conditions such as low light, long distance and large angles due to loss of perturbation detail, and that it targets only the detection component itself without validating the complete control pipeline; the creation attack is under-optimized and its success rate fluctuates widely. The experiments cover only two detectors, YOLO v2 and Faster R-CNN, and one class of target, Stop signs.
- Evaluated models
- YOLO v2Faster R-CNN
- Benchmarks
- 自录 Stop 标志视频(室内实验室与室外环境,30 英尺起录)
- Metrics
- 攻击成功率(未检出 Stop 标志的帧数/总帧数)
Researchers extended physical adversarial attacks from image classifiers to object detection models, adding position and rotation invariance to the RP2 algorithm, using adversarial posters or stickers to make detectors fail to recognize real stop signs. In a laboratory environment, the poster and sticker attacks caused YOLO v2 to miss stop signs in 85.6% and 85% of video frames, respectively, dropping to 72.5% and 63.5% in an outdoor environment. The poster perturbation can transfer to Faster R-CNN, fooling that model in 85.9% and 40.2% of frames in the laboratory and outdoors, respectively. The paper also presents preliminary Creation Attack results, in which inconspicuous stickers can cause YOLO v2 to detect non-existent stop signs in 25%–79% of frames. The authors note that the experiments target only the detection component itself, and whether the attack can affect the complete autonomous driving control pipeline remains an open question.
Why it was selectedThe paper extends physical adversarial attacks from image classification to object detection, reports the success rates of stop sign attacks by environment, and security teams deploying visual perception can use this to assess risk.
Paper analysis
What problem does this paper attempt to solve?
The authors study whether physical adversarial perturbations can fool object detectors (rather than classifiers), and propose disappearance and creation attacks.
Core question: can adversarial perturbations in the physical world cause object detection networks to miss or misdetect objects, when prior physical attacks targeted only image classifiers.
- Setting and importance: object detectors can simultaneously localize and label multiple objects in a scene and are widely used in safety-critical cyber-physical systems such as autonomous driving; the authors argue that if physical perturbations can fool detectors, this would threaten the safety of such systems.
- Shortcomings of existing methods: existing physical attacks (e.g., RP2, Athalye et al.) target classifiers—the target occupies most of the image and position variation is small; the authors find these physical perturbations are insufficient to extend to detectors, because detectors process the whole scene, object relative size and position vary greatly, and grid partitioning causes objects to fall into different grid cells.
- Core observation: the authors argue that by adding synthetic transformations (perspective, size, position variation) to RP2's input distribution and modifying the loss function, the perturbation can be made robust to detectors.
- What the paper proposes: extends the RP2 algorithm and proposes a Disappearance Attack targeting detectors (a poster or sticker makes the Stop sign "disappear") and a preliminary Creation Attack (a sticker makes the detector detect a Stop sign that does not exist).
- Threat model:
- Goal: make the detector ignore a real object (disappearance attack) or detect a nonexistent object (creation attack), both targeting Stop signs.
- Knowledge: white-box attack for YOLO v2; black-box transfer for Faster R-CNN.
- Capability: the attacker controls only the physical layer (objects in the environment), not the system's internal sensors and data pipeline; the perturbation is visible to the human eye but constrained to resemble graffiti or lighting marks.
- Victim systems: YOLO v2 and Faster R-CNN object detectors.
What related research exists?
Related work falls into three categories: digital adversarial examples, physical attacks on classifiers, and attacks on detectors; this paper builds on an extension of RP2.
Adversarial examples in digital space
- Szegedy et al. (2014)—first proposed adversarial examples against deep learning; Goodfellow et al., Carlini & Wagner, Moosavi-Dezfooli et al. and others proposed more efficient generation algorithms. The paper notes that these works all assume the attacker has "digital-level" access, i.e., can arbitrarily modify input pixels.
Physical attacks against classifiers
- Kurakin et al. (2016)—printed digital adversarial examples on paper to fool image classifiers; the paper notes their experiments did not vary physical conditions such as viewpoint and distance.
- Athalye et al. (2017)—modeled viewpoint variation with synthetic transformations to generate viewpoint-robust adversarial objects; the paper notes it is unclear how many transformations the attack is robust to.
- Eykholt et al. (RP2, 2018)—modeled transformations both physically (victim dataset) and synthetically (lighting) to generate physical perturbations robust to classifiers; this paper's algorithm extends it. Sharif et al. (2016) attacked face recognition with printable glasses, and their NPS printability term was borrowed by RP2.
Attacks against detectors
- Lu et al. (2017)—attacked YOLO with adversarial road signs printed on paper; their results conclude that fooling YOLO with physical adversarial examples is very difficult.
- Chen et al. (2018, concurrent with this paper)—attacked Faster R-CNN by replacing road signs with adversarial posters; the paper notes the difference is that this paper proposes two attacks, disappearance and creation, uses two kinds of perturbation, posters or stickers, and demonstrates black-box transfer from YOLO to Faster R-CNN.
- Xie et al. (2017)—digital (non-physical) attacks against semantic segmentation and object detection.
Baselines and benchmarks: this paper sets no comparison baseline method and uses no public benchmark dataset; evaluation is on Stop sign videos recorded by the authors, and the detectors tested are YOLO v2 and Faster R-CNN.
Authors' positioning: the authors state that this paper, unlike all prior work focused on classifiers, targets the broader model category of object detection, and by adding synthetic transformations such as perspective, position and scale extends RP2, addressing the challenge of attacking detectors in varied environments.
How does the paper address this problem?
Extending RP2: switching to a detector-specific adversarial loss, adding synthetic rotation/position transformations, and using the total variation norm to smooth the perturbation.
Overall approach: starting from the RP2 algorithm for classifiers, make three modifications to apply it to object detectors and generate printable poster or sticker perturbations.
Original RP2 algorithm
- RP2's optimization objective is argminδ λ |Mx · δ|p + NPS(Mx · δ) + Exi ∼ XV J(fθ(xi + Ti(Mx · δ)), y∗), whose three terms are the masked perturbation's lp norm, printability (NPS), and the expected loss over the victim image distribution.
- The mask Mx constrains the perturbation to the target object's surface (e.g., the two horizontal bars on a Stop sign); the NPS term ensures the perturbation's colors can be reproduced by a printer; the alignment function Ti digitally transforms the perturbation according to the victim image's physical conditions.
Modification one: adversarial loss adapted to detectors
- Disappearance attack loss: Jd(x, y) = maxs ∈ S2, b ∈ B P(s, b, y, fθ(x)), i.e., the maximum probability of the target class (Stop sign) over all grid cells and bounding boxes, which the attacker suppresses below the detection threshold (YOLO v2's default 25%).
- Creation attack loss: a composite loss that first optimizes some box's box confidence above a threshold τ (set to 0.2 in experiments), then optimizes the target-class probability; boxes with box confidence above 0.2 and target-class probability above 50% are kept. The mask is randomly sampled so the patch can be added anywhere in the scene.
Modification two: synthetically modeling new physical constraints
- The authors observed the perturbation fails after the object moves position, so in each optimization epoch they apply a synthetic transform of random rotation (Z plane) and random translation (X-Y plane) to the object, making the perturbation position-invariant.
- Unlike the original RP2, which models rotation with a physical dataset, here everything is done synthetically, and the alignment function Ti only needs to apply the same transform.
Modification three: smoothing the perturbation with total variation
- The authors observed that the lp norm produces pixelated perturbations whose attack success rate drops with distance; they switched to the total variation norm (sum of differences between adjacent pixels) to obtain smoother perturbations, which the authors state extends the attack's effective distance.
- The final objective replaces the lp term with a TV term, leaving the rest (NPS, expected loss) unchanged.
Attack implementation and success criteria
- Disappearance attack in two forms: poster perturbation (octagonal mask, printed at full size to cover the entire Stop sign) and sticker perturbation (two rectangular stickers placed above and below the sign).
- Creation attack: generate a sticker patch (Figure 5) and place multiple copies on flat surfaces such as walls and cabinets so that YOLO v2 detects a false Stop sign.
- Success criteria: the disappearance attack measures the fraction of video frames in which the Stop sign is not detected; in the experiments the discard threshold for the product of box confidence and class probability is set to 0.1.
What experiments did the paper conduct?
Evaluated on self-recorded videos: YOLO v2 missed detections in 85.6%/85.0% of indoor frames and 72.5%/63.5% of outdoor frames; Faster R-CNN transfer 85.9% indoors and 40.2% outdoors (poster).
Experimental setup
- Models tested: YOLO v2 (white-box attack target, 80-class real-time detector); Faster R-CNN (black-box transfer target, Tensorflow-Python implementation, default detection threshold 80%).
- Data: videos recorded by the authors, no public benchmark; the disappearance attack is recorded starting 30 feet from the sign until the sign leaves the field of view, in both an indoor laboratory and an outdoor environment.
- Attack variants: poster perturbation (printed at true size covering the whole sign) and sticker perturbation (two rectangular stickers).
- Metric: attack success rate = number of frames in which the Stop sign is not detected / total number of frames.
- Creation attack setup: stickers placed on large flat surfaces such as walls and cabinets, recorded within 10 feet.
- Repetitions: the paper does not report the number of videos per condition (the creation attack mentions "multiple independent videos").
Main results
Disappearance attack success rate (per Table 1 and Table 2, both the proportion of frames in which the Stop sign is not detected):
Swipe horizontally to read the table
Detector Environment Poster Sticker YOLO v2 Indoor 202/236 (85.6%) 210/247 (85.0%) YOLO v2 Outdoor 156/215 (72.5%) 146/230 (63.5%) Faster R-CNN Indoor 189/220 (85.9%) 146/248 (58.9%) Faster R-CNN Outdoor 84/209 (40.2%) 47/249 (18.9%) - The authors state that in the indoor environment both perturbations have high success rates (at least 85% of frames have no Stop sign box, referring to YOLO v2), and in the outdoor environment the success rates of both attacks decrease.
- The authors observe that the sticker perturbation performs poorly when the sign is only partially in view—the Stop sign box frequently appears once the sticker begins to leave the field of view; this phenomenon is not observed for the poster perturbation, which the authors suggest may be because the mask shape keeps part of the adversarial noise in the frame at all times.
- Transfer to Faster R-CNN: the authors state that both perturbations transfer with high success rates indoors, success rates decrease outdoors, and the poster perturbation can transfer to other detection frameworks in stable environments.
Creation attack (preliminary results)
- What was tested: multiple copies of the Figure 5 sticker placed on cabinets and office walls, with the recordings processed by YOLO v2.
- Results: YOLO v2 detected Stop signs in 25%–79% of frames across multiple independent videos; Figure 6 shows a frame in which 4 stickers are recognized as Stop signs.
- Authors' interpretation: the authors emphasize these are preliminary results (far less optimization effort than the disappearance attack); the creation attack is more sensitive to sticker size, surrounding environment and camera movement, and the success rate fluctuates widely, which the authors speculate is because fewer physical and digital transformations were applied when generating the attack (due to resource constraints).
Other ablations and analyses
- Perturbation visibility: Figure 7 shows sample frames of the poster/sticker attacks in indoor and outdoor videos, and the authors state that in most frames the detector fails to recognize the Stop sign.
- The paper performs no other parameter ablations (e.g., sweeps of mask shape or TV weight λ), and reports no benign control (detection rate for unperturbed signs).
What are some points that can be further explored?
The authors list four open questions: loss of environmental detail, alternative attack forms, extension to semantic segmentation, and the complete control pipeline; the experiments cover only two detectors.
Limitations and future directions noted by the authors
- Environmental conditions cause loss of detail (Discussion): under low light, long distance and large angles, the camera can only see the macroscopic features of the sign, and loss of perturbation detail causes the attack to fail; the authors speculate that attacking the sign's macroscopic features (e.g., using attachments to change its perceived shape) is needed.
- Alternative attack forms (Discussion): targeted attacks that keep the bounding box but change the label, and generating 2D/3D objects that are unrecognizable to the human eye but can be detected by the detector, are left for future work.
- Extension to semantic segmentation (Discussion): how to extend physical attacks against classifiers and detectors to segmentation networks is an open question.
- Impact on real systems unknown (Discussion): the attack targets only the detection component itself (YOLO v2), and whether it can break a complete control pipeline including pre- and post-processing end-to-end is an open question; the authors note that real systems typically make decisions based on predictions from a majority of frames, and their attack can already make the detector fail to see the Stop sign in a majority of test frames.
- Creation attack reliability (Evaluation): improving the reliability and robustness of the creation attack is a future direction.
- Generalization to other physical settings (Introduction): e.g., moving vehicles, real autonomous cars, left as future work.
Scope of experiments
- The detectors tested are YOLO v2 and Faster R-CNN, 2 in total; the attack target is only one class of object, Stop signs.
- The disappearance attack covers both an indoor laboratory and an outdoor environment, with recording distance starting at 30 feet; the creation attack is recorded within 10 feet.
- The transfer experiment is one-directional: perturbations generated on YOLO v2 are evaluated on Faster R-CNN.
- The paper does not report the number of videos recorded and repetitions per condition, nor the control detection rate for unperturbed signs.
- The paper does not report the computational cost of attack generation (number of iterations, time).
Summarize the main content of the paper
The authors extend the RP2 attack to object detectors: the disappearance attack causes YOLO v2 to miss the Stop sign in most frames and can transfer to Faster R-CNN.
An attack paper on physical adversarial examples that extends the RP2 algorithm, designed for image classifiers, to object detection networks, a broader model class.
- Problem: physical attacks had previously been validated only on classifiers; detectors process the whole scene and output multiple boxes and classes, and the authors consider their physical robustness an open question, with detectors used in safety-critical settings such as autonomous driving.
- Method: three modifications—an adversarial loss adapted to detector outputs (the disappearance attack suppresses the maximum probability of the target class; the creation attack first raises box confidence then raises the target-class probability), a synthetic transform that randomly rotates and translates the object each epoch, and replacing the lp norm with the total variation norm to smooth the perturbation; perturbations are applied to real Stop signs as full-size posters or two rectangular stickers.
- Results (disappearance attack, YOLO v2, white-box): indoors 85.6% (poster)/85.0% (sticker), outdoors 72.5%/63.5% of video frames did not detect the Stop sign (Table 1).
- Results (transfer to Faster R-CNN, black-box): indoors 85.9% (poster)/58.9% (sticker), outdoors 40.2%/18.9% (Table 2).
- Results (creation attack, preliminary): the sticker made YOLO v2 detect a false Stop sign in 25%–79% of frames, which the authors describe as sensitive to sticker size, environment, and camera movement.
- Authors' conclusion: the authors state physical perturbations are effective against object detectors and the improved algorithm can generate poster perturbations that transfer to other detection frameworks; they also emphasize the attack fails under conditions such as low light and long distance, and whether it can break a complete control pipeline remains an open question.