Abstract
State-of-the-art computer vision models often struggle with 3D optical illusions, such as realistic paintings on flat surfaces or mirror reflections, which pose significant safety risks in autonomous navigation. This paper introduces the 3D-Visual-Illusion dataset, a comprehensive benchmark of nearly 3,000 scenes designed to challenge existing depth estimation frameworks. We propose a novel VLM-driven monocular-stereo fusion framework that leverages Vision-Language Models (VLMs) to provide semantic "common sense," allowing the system to distinguish between deceptive textures and actual geometry. Our approach achieves superior performance on illusion-heavy scenes while maintaining high accuracy on standard benchmarks, demonstrating a robust path forward for reliable 3D perception.
Introduction
Depth estimation is a fundamental requirement for robotics, autonomous driving, and augmented reality. Current methodologies typically fall into two categories: monocular estimation, which infers depth from single-image texture cues, and stereo matching, which calculates depth through geometric disparity. Despite their sophistication, both approaches are vulnerable to 3D visual illusions. A mural of a tunnel may deceive a monocular model into perceiving a traversable path, while a mirror can disrupt stereo matching by presenting reflections that violate standard geometric assumptions. These failures are not merely theoretical; they represent critical safety risks in real-world environments containing screens, mirrors, and artistic decorations.
The 3D-Visual-Illusion Dataset
To address the lack of specialized benchmarks, we introduce the 3D-Visual-Illusion dataset. This massive collection comprises approximately 200,000 images across 3,000 scenes, categorized into five distinct illusion types:
- Inpainting: Artistic renderings on walls or floors.
- Picture: Static images displayed on paper.
- Replay: Video content shown on digital screens.
- Holography: Projected 3D-like imagery.
- Mirrors: Reflective surfaces that distort geometric matching.
Data was synthesized using generative AI (e.g., Sora, Kling) and captured in the real world using ZED Mini stereo cameras and LiDAR sensors to ensure high-fidelity ground truth.
Methodology: VLM-Driven Fusion
Our proposed framework utilizes a three-stage pipeline to reconcile the conflicting signals often found in deceptive environments:
- Dual-Branch Prediction: The system generates initial depth estimates using both a monocular branch (utilizing DepthAnything V2) and a binocular stereo branch.
- VLM-Based Reasoning: A Vision-Language Model (QwenVL2-7B) acts as a semantic "tie-breaker." By analyzing the scene for reflective or transparent objects, the VLM provides the necessary context to identify potential illusions.
- Confidence-Guided Fusion: Inspired by flow-matching architectures like Flux, the system generates a confidence map. This map identifies regions where stereo data is likely unreliable (e.g., a mirror) and prioritizes monocular priors. The final output is a fused, metric-scale depth map.
Key Insights
The research highlights a fundamental trade-off: monocular models are "generative" and easily fooled by deceptive textures, while stereo models are "discriminative" and fail when physical reflections break geometric rules. By incorporating semantic understanding, the model can apply "illusion-logic" selectively. This prevents the "flatness bias" often seen when models are fine-tuned solely on illusion data, which typically degrades performance on standard, non-deceptive scenes.
Results and Evaluation
The proposed method establishes a new state-of-the-art (SOTA) on the 3D-Visual-Illusion dataset, outperforming foundation models such as Dust3R. Notably, in regions containing illusions, the model reduced the "bad-2" error metric by over 10 points compared to baseline stereo models. Furthermore, the framework demonstrated strong zero-shot generalization, maintaining or improving performance on standard benchmarks like Middlebury and Booster.
Limitations and Future Directions
While effective, the integration of a 7B-parameter VLM introduces significant computational overhead, with inference times currently averaging 4.77 seconds per iteration on an H100 GPU—precluding real-time application. Future research will focus on optimizing these models for edge deployment and exploring "composited" illusions, where multiple deceptive elements are layered within a single complex environment.
Summary updated