Optimization-Free Patch Attack on Stereo Depth Estimation

Hangcheng Liu, Xu Kuang, Xingshuo Han, Xingwan Wu, Haoran Ou, Shangwei Guo, Xingyi Huang, Tao Xiang, Tianwei ZhangarXiv 2025 · DOI

Optimization-Free Patch Attack on Stereo Depth Estimation

Introduction

Stereo Depth Estimation (SDE) is a critical component of autonomous perception systems, enabling vehicles to perceive 3D environments by triangulating information from binocular camera setups. While the vulnerability of deep learning models to adversarial noise is well-documented, existing attacks on SDE often rely on pixel-level optimization (e.g., Projected Gradient Descent). These "lab-only" methods frequently fail in real-world deployments because they produce fine-grained noise that is difficult to print, lacks transferability across different model architectures, and ignores the photometric consistency required for stereo matching.

The PatchHunter Framework

To address these limitations, researchers have introduced PatchHunter, an optimization-free approach that searches for "natural" visual patterns capable of disrupting SDE models. Unlike traditional methods that tweak individual pixels, PatchHunter navigates a structured Pattern Primitive Dictionary (PPD) containing approximately 44,000 unique patterns defined by attributes such as shape, texture, and orientation.

The four stages of the stereo-matching pipeline targeted by the Universal Stereo-Constrained (USC) framework.

The framework utilizes a Universal Stereo-Constrained (USC) testing ground to evaluate vulnerabilities across the four primary stages of the SDE pipeline: feature extraction, cost-volume construction, cost aggregation, and disparity generation. By employing Reinforcement Learning (specifically Proximal Policy Optimization), PatchHunter efficiently identifies combinations of geometric and photometric primitives that maximize depth distortion without requiring access to the target model's internal gradients.

Breaking Stereo Vision Assumptions

PatchHunter's effectiveness stems from its ability to target the fundamental heuristics of stereo matching:

  1. Photometric Uniqueness: By using repetitive "block" patterns, the attack creates ambiguity, forcing the model to find false matches between left and right views.
  2. Spatial Smoothness: The search converged on "hollowed-out" structures with sharp textures. These patterns violate the smoothness priors that SDE models use to interpolate depth in low-texture or occluded regions.

Experimental Results

The attack was validated across the KITTI Stereo 2015 benchmark, the CARLA simulator, and real-world tests using an Unmanned Ground Vehicle (UGV).

Qualitative results showing the impact of PatchHunter on depth prediction across different scenes. The 'Difference' row highlights the significant depth errors (red boxes) induced by the adversarial patches.

Key findings include:

  • Superior Transferability: Patterns optimized for one architecture successfully degraded the performance of unseen models, a feat where pixel-level attacks typically fail.
  • Real-World Robustness: In physical deployments, PatchHunter maintained a D1-all error rate exceeding 0.4, proving resilient to environmental factors like motion blur and low lighting that typically neutralize fine-grained adversarial noise.
  • Stage-Wise Vulnerability: Attacks targeting the later stages of the pipeline (cost aggregation and disparity regression) proved most effective, as these modules are designed to "smooth over" earlier errors, inadvertently amplifying the adversarial signal.

Conclusion

PatchHunter demonstrates that SDE models are susceptible to semantically meaningful, printable patterns that exploit the core logic of stereo vision. While data-augmentation-based defenses offer some protection, they struggle to generalize to the vast space of possible "natural" adversarial patterns. Future research must explore more robust architectural priors and multi-sensor fusion (e.g., Stereo-LiDAR) to secure autonomous perception against such deployable threats.

Summary updated

BibTeX
@misc{liu2025optimization,
  author = {Hangcheng Liu and Xu Kuang and Xingshuo Han and Xingwan Wu and Haoran Ou and Shangwei Guo and Xingyi Huang and Tao Xiang and Tianwei Zhang},
  title = {{Optimization-Free Patch Attack on Stereo Depth Estimation}},
  year = {2025},
  eprint = {2506.17632},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.17632},
}
Figure