Towards an End-to-End (E2E) Adversarial Learning and Application in the Physical World

Dudi Biton, Jacob Shams, Satoru Koda, Asaf Shabtai, Yuval Elovici, Ben Nassi

Abstract

Adversarial patches designed to deceive object detectors often suffer from a significant "transferability gap" when moving from digital simulation to physical implementation. Traditional methods rely on printing digital patches as stickers, a process that introduces color shifts and ignores environmental noise, leading to frequent failures in real-world scenarios. This paper introduces PAPLA (Physical-domain Adversarial Patch Learning Augmentation), a framework that utilizes a projector-camera system to perform end-to-end adversarial learning directly in the physical domain. By optimizing patches in situ, PAPLA successfully hides objects such as cars and stop signs from state-of-the-art detectors, achieving near-zero confidence scores where traditional printed stickers fail.

Introduction

Computer vision models, particularly object detectors used in autonomous vehicles and security systems, are highly vulnerable to adversarial patches. These are small, specifically designed patterns that, when applied to an object, cause a model to either ignore the object entirely or misclassify it.

Historically, the generation of these patches has followed a Digital Learning-Physical Application (DL-PA) pipeline: patches are optimized in a digital environment and then printed as physical stickers. However, this approach often fails because the physical world introduces variables that digital simulations cannot fully replicate. This paper addresses this gap by proposing a Physical Learning-Physical Application (PL-PA) approach, moving the entire optimization loop into the real world.

The Digital-to-Physical Gap

The authors identify two primary reasons why digitally learned patches fail when applied physically:

  1. Color Discrepancy: The printing process introduces severe color shifts. The authors found an average of 99.34% pixel-level difference between digital patches and their printed counterparts.
  2. Environmental Noise: Physical environments contain dynamic variables such as lighting fluctuations, camera sensor noise, and varying angles that digital simulations struggle to model accurately.

In a baseline test using a standard DL-PA setup, printing a digitally learned patch as a sticker barely affected a Faster R-CNN model; the detection confidence only dropped marginally from 0.98 to 0.93, demonstrating the inadequacy of the traditional pipeline.

The PAPLA Framework

To bridge this gap, the authors developed PAPLA. Instead of simulating the physical world, PAPLA uses the physical world as the training environment. The setup consists of a projector, a camera, and a computer running an iterative learning loop:

  1. Project: The system projects a digital adversarial patch directly onto the physical target object (e.g., a car or a stop sign).
  2. Capture: A camera captures the physical scene containing the object and the projected patch.
  3. Update: The captured image is processed by an adversarial attack algorithm (adapted from standard attacks like DPatch and NAP). The algorithm calculates the loss based on the detector's output and updates the patch's pixels to maximize the adversarial effect.
  4. Repeat: The updated patch is re-projected, and the cycle continues until the object detector is successfully fooled.

This end-to-end (E2E) approach ensures that the patch is optimized specifically for the lighting, surface texture, and sensor characteristics of the actual environment.

Experimental Evaluation

Because learning occurs in the real world, the study utilized live physical objects—including a toy car, a stop sign, a potted plant, and a ceramic cup—rather than static datasets like COCO. The framework was evaluated against several state-of-the-art object detectors: YOLOv3, YOLOv4, YOLOv11, Faster R-CNN, RetinaNet, and SSD.

Key Insights

  • Surface Reflectivity: The effectiveness of a projected patch is highly dependent on the target object's color. Lighter surfaces (white or yellow) reflect the projection more effectively, yielding near 100% attack success. Darker surfaces absorb light, reducing the patch's impact.
  • Distance Dynamics: Counterintuitively, increasing the distance between the camera and the target (from 0.5m to 1.5m) improved the reduction in detection confidence.
  • Cross-Model Transferability: Patches learned in the physical domain against a specific detector (e.g., Faster R-CNN) demonstrated superior transferability to unseen detectors (e.g., YOLOv11) compared to patches generated in digital simulations.

Results

PAPLA demonstrated significant improvements over traditional methods. In laboratory settings, confidence scores for Faster R-CNN dropped to 0.0 for both car and cup targets.

To test the robustness of the framework, the authors conducted real-world outdoor tests under dynamic lighting conditions. PAPLA successfully hid a real parked car from a YOLOv4 detector (confidence dropped from 0.95 to 0) and significantly degraded the detection of a real stop sign (confidence dropped from 0.95 to 0.39).

Limitations and Conclusion

While PAPLA represents a significant step forward in physical adversarial attacks, it faces several constraints:

  • Static Targets: The current framework cannot track moving objects, limiting its use to stationary targets.
  • Surface Geometry: The attack is ineffective on hollow or non-continuous surfaces (like bicycles) where a projection cannot be clearly formed.
  • Environmental Sensitivity: The system requires a clear line of sight and is sensitive to ambient light levels and projector brightness.
  • Visual Distortion: PAPLA patches exhibit higher $L_2$ and $L_\infty$ norms than stickers due to light bleeding into the surrounding scene, making them more visually conspicuous.

In conclusion, PAPLA demonstrates that end-to-end physical learning is a powerful method for generating highly effective adversarial attacks. By bypassing the limitations of the printing process and digital simulation, it reveals critical vulnerabilities in modern object detection systems that must be addressed in future security research.

Summary updated

BibTeX
@article{biton2025towards,
  author = {Dudi Biton and Jacob Shams and Satoru Koda and Asaf Shabtai and Yuval Elovici and Ben Nassi},
  title = {{Towards an End-to-End (E2E) Adversarial Learning and Application in the Physical World}},
  journal = {J. Cybersecur. Priv.},
  year = {2025},
  doi = {10.3390/jcp5040108},
}
Figure