TL;DR
Current depth foundation models assume every pixel maps to a single depth value, collapsing when encountering transparent surfaces like glass windows or doors. This paper introduces Laplacian Visual Prompting (LVP), an entirely training-free method that feeds a Laplacian-filtered image into off-the-shelf, frozen depth foundation models to unlock latent, multi-layer depth predictions. Alongside LVP, the authors introduce MD-3k, a benchmark specifically curated to measure multi-layer depth accuracy and model bias in ambiguous visual scenes.
What Problem Does This Paper Address?
Monocular depth estimation (MDE) foundation models (such as Depth Anything, DPT, and Marigold) are trained on the assumption that a single pixel corresponds to exactly one depth value. In the real world, this assumption frequently breaks down: a transparent glass door has its own physical depth, but the chair sitting behind it has another.
Forced to output a single deterministic depth map, today's models suffer from severe depth layer bias—some models always predict the foreground glass, while others look straight through to the background. This bias leads to incomplete 3D representations that compromise downstream safety-critical tasks like robotic manipulation, autonomous navigation, and 3D spatial reasoning.
Methods
Rather than retraining multi-million-parameter foundation models on specialized multi-layer data, the authors treat multi-layer depth as a multi-hypothesis inference problem decoupled via spectral prompting:
- Laplacian Visual Prompting (LVP): The authors apply a discrete 2D Laplacian operator (a $3 \times 3$ second-order spatial difference kernel) channel-wise to the input RGB image. Acting as a high-pass filter, the Laplacian highlights rapid intensity transitions (edges, frames, and surface boundaries).
-
Multi-Hypothesis Decoupling: The pre-trained, frozen depth estimator $f_\theta$ is run twice: $$D_1 = f_\theta(I) \quad \text{and} \quad D_2 = f_\theta(\mathcal{L}(I))$$ Feeding $\mathcal{L}(I)$ elicits previously latent spatial representations from the network, yielding two complementary depth predictions—typically one for the transparent surface and one for the scene behind it.
-
Probabilistic Depth Ordering: The two predictions are assigned relative depth ordering using a latent binary ordering variable $O \in \{0, 1\}$, estimated based on the model’s inherent layer preference bias.
Datasets
The authors introduce MD-3k, derived from 3,161 images in the Glass Detection Dataset (GDD):
- Annotations: Each image includes segmentation masks for ambiguous (transparent) regions and expert-annotated pairs of points with relative depth ordering both on the transparent surface (Layer 1) and behind it (Layer 2).
- Evaluation Subsets:
- Same Subset (1,783 pairs): Relative depth order between the two points is identical in both layers.
- Reverse Subset (1,378 pairs): Relative depth ordering inverts between layers (e.g., Point A is closer than Point B on the glass, but farther behind it). This subset serves as a stringent test for true spatial decoupling.
- Reference Benchmark: The non-ambiguous benchmark DA-2k is used for comparison and baseline validation.
Key Insights and Ideas
- Pre-trained models already possess multi-layer depth knowledge: Standard RGB inputs mask this latent knowledge. Remarkably, without any fine-tuning or weight updates, simply altering the spectral input via the Laplacian kernel coerces standard models into predicting the "suppressed" depth layer.
- Severe, opposing biases exist across common models: Under standard RGB, models fine-tuned on indoor data (e.g., DAv2-I) heavily bias toward the nearest surface, whereas outdoor models (DAv2-O) often jump straight to the farthest background layer.
- Scaling laws are context-dependent under ambiguity: In ambiguous scenes, simply increasing model parameter count does not automatically improve multi-layer understanding. Performance scales positively only if the model's depth layer biases under RGB and LVP diverge; if the biases converge toward a single layer, scaling actually hurts multi-hypothesis spatial accuracy.
Key Results
- Multi-Layer Spatial Relationship Accuracy (ML-SRA): On the MD-3k benchmark, LVP successfully extracts both layers simultaneously across diverse architectures:
- Depth Anything v2 Large (DAv2-L): Achieves 75.5% overall ML-SRA (52.2% on the difficult reverse subset and 93.6% on the same subset), dramatically outperforming the 25% random guessing baseline.
- DPT and ZoeDepth: Achieve 70.2% and 68.8% overall ML-SRA, demonstrating that latent multi-depth representations exist broadly across both discriminative and generative architectures.
- Downstream Applications:
- Geometry-Conditioned Generation: Pairing both depth maps with ControlNet enables novel view synthesis that renders both transparent glass reflections and the background geometry independently.
- Spatial Reasoning with MLLMs: Supplying multi-layer depth allows models like ChatGPT o3-mini to detect occluded objects (e.g., counting people behind frosted glass) where single-depth RGB baselines fail.
- Temporal Consistency: Multi-layer depth decoupling generalizes cleanly to monocular video sequences without frame-to-frame flickering.
Limitations and Future Work
- Layer Count: The current formulation is restricted to two visible depth layers; scenes featuring multiple cascaded transparent or semi-reflective surfaces require further formulation.
- Fixed vs. Learned Prompting: LVP relies on a hand-crafted discrete Laplacian filter. The authors note that learning parametric spectral transformations could yield richer representations.
- Other Optical Ambiguities: The benchmark focuses primarily on transparency; other complex optical phenomena such as mirror reflections, chromatic glare, and refraction remain open challenges.
Summary updated