Physical 3D Adversarial Attacks against Monocular Depth Estimation in Autonomous Driving

Junhao Zheng, Chenhao Lin, Jiahao Sun, Zhengyu Zhao, Qian Li, Chao Shen

Abstract

Monocular Depth Estimation (MDE) has become a cornerstone of modern autonomous driving, particularly for vision-only systems. However, these systems are vulnerable to adversarial attacks that can compromise safety. This paper introduces 3D Depth Fool ($3D^2Fool$), the first 3D texture-based physical adversarial attack designed to make vehicles "vanish" from MDE systems. Unlike traditional 2D adversarial patches that suffer from viewpoint sensitivity, $3D^2Fool$ utilizes a full-body camouflage that remains effective across diverse angles and harsh environmental conditions, posing a significant security challenge for camera-based navigation.

Introduction

In the pursuit of scalable autonomous driving, many manufacturers have championed "vision-only" approaches, relying on Monocular Depth Estimation (MDE) to perceive the distance of objects using a single camera. While efficient, MDE relies heavily on Deep Neural Networks (DNNs), which are notoriously susceptible to adversarial attacks—carefully crafted inputs designed to deceive the model.

Existing physical attacks on MDE typically employ 2D adversarial patches. These methods face two critical limitations:

  1. Viewpoint Sensitivity: The attack's effectiveness is often restricted to specific camera angles; as the vehicle or observer moves, the adversarial effect diminishes.
  2. Localized Impact: 2D patches usually only corrupt a small portion of the depth map, leaving the majority of the vehicle's structure visible to the AI.

$3D^2Fool$ addresses these gaps by wrapping a 3D object in a continuous adversarial texture, creating a "cloaking device" that consistently misleads the MDE model regardless of the observer's perspective.

Methodology

The $3D^2Fool$ framework optimizes a 2D "texture seed" that is mapped onto a 3D vehicle model. The system is comprised of several core components designed to ensure robustness and generalizability.

Texture Conversion (TC)

To ensure the attack is not limited to a single vehicle type, the researchers developed a Texture Conversion module. This module takes a small 2D adversarial seed and transforms it into a full-body texture. By decoupling the seed from a specific vehicle’s UV map (the 2D representation of a 3D surface), the same adversarial pattern can be applied to diverse geometries, including cars, buses, and even pedestrians. This makes the attack "object-agnostic."

Physical Augmentation (PA)

Real-world deployment requires resilience against environmental variables. The framework incorporates Physical Augmentation during the training process, utilizing "Expectation over Transformation" (EoT) to account for varying lighting conditions. Furthermore, the authors implemented a polynomial model to simulate the visual noise introduced by rain and fog, ensuring the texture remains potent in inclement weather.

Vehicle Vanishing Loss ($L_a$)

Rather than simply introducing random noise into the depth map, the authors designed a specific loss function ($L_a$) that penalizes the MDE model if it correctly identifies the vehicle's depth. The objective is to force the model to predict the depth of the background pixels instead of the vehicle's pixels, effectively causing the car to "vanish" or appear as part of the distant horizon in the system's perception.

Differentiable Rendering

To bridge the gap between the 3D textured model and the 2D images processed by the MDE, the system employs a differentiable renderer. This allows the optimization gradients to flow back from the 2D depth prediction error to the 3D texture seed, enabling precise iterative refinement of the adversarial pattern.

Experimental Evaluation

The researchers evaluated $3D^2Fool$ using both high-fidelity simulations and physical scale models.

  • Simulation: Using the CARLA simulator, the authors collected 8,400 images across 210 locations with varying weather and lighting. The evaluation set included 6,124 images featuring four distinct vehicle types and pedestrians.
  • Physical Testing: The textures were printed and applied to a 1:24 scale physical model of a Tesla Model Y. Over 300 images were captured in various indoor and outdoor lighting conditions using a standard smartphone camera to test real-world viability.

Key Results and Insights

Superior Vanishing Performance

In simulation, $3D^2Fool$ achieved a mean depth error ($E_d$) of 12.75 meters on the Monodepth2 model. In comparison, the most advanced 2D patch-based attacks only managed an error of approximately 6 meters. In physical tests, the attack maintained a depth error of over 10 meters, frequently causing the vehicle to disappear entirely from the predicted depth map.

Robustness to Viewpoints and Weather

Unlike 2D patches, which fail as the viewing angle increases, $3D^2Fool$ maintained high error rates (often exceeding 20m) across a wide range of angles (60°–120° and 230°–300°). Furthermore, the attack's effectiveness surprisingly increased in foggy conditions. Because MDE models are already strained by low visibility, the adversarial texture provides the necessary perturbation to break the model's depth logic completely.

Object Agnosticism

The study demonstrated that a generalized adversarial pattern can successfully fool MDE systems across different vehicle geometries. A texture optimized for a sedan remained effective when applied to trucks or pedestrians, suggesting that the vulnerability lies in the fundamental way MDE models interpret surface textures for depth cues.

Limitations and Future Work

While $3D^2Fool$ represents a significant advancement in physical adversarial attacks, it faces challenges at extreme "sloping" angles where the visible surface area of the texture is minimized. Additionally, while the attack is effective in white-box scenarios (where the model architecture is known), future research is needed to improve "black-box" transferability—creating textures that can simultaneously deceive multiple different MDE architectures without prior knowledge of the target system.

Conclusion

The development of $3D^2Fool$ highlights a critical security vulnerability in vision-only autonomous driving systems. By demonstrating that 3D textures can consistently hide vehicles from depth sensors across varying environments, this research underscores the need for more robust MDE architectures and multi-modal sensing (such as LiDAR integration) to ensure the safety of autonomous navigation.

Summary updated

BibTeX
@inproceedings{zheng2024physical,
  author = {Junhao Zheng and Chenhao Lin and Jiahao Sun and Zhengyu Zhao and Qian Li and Chao Shen},
  title = {{Physical 3D Adversarial Attacks against Monocular Depth Estimation in Autonomous Driving}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
  url = {https://openreview.net/forum?id=V8HrDDBzOj},
}
Figure