Standard depth estimation models often "see through" glass or fail to perceive transparent surfaces entirely, as they typically operate under a single-layer assumption. This paper introduces LayeredDepth, the first dataset and benchmark specifically designed for multi-layer depth estimation. This task requires AI to simultaneously perceive both a transparent surface and the objects behind it. By developing a procedurally generated synthetic dataset, LayeredDepth-Syn, the authors demonstrate that state-of-the-art models can significantly improve their understanding of complex, transparent real-world scenes.
The Challenge of Transparency
Most computer vision systems assume that every pixel in an image corresponds to exactly one distance from the camera. However, real-world environments are filled with transparent and semi-transparent materials like windows, glassware, and plastic packaging. For applications like robotic navigation or manipulation, understanding multiple depths—the surface of the glass and the objects behind it—is critical. Existing depth datasets and sensors (like LiDAR) struggle with these materials, either passing through them or producing noisy reflections. Consequently, current models often ignore transparent surfaces or produce "hallucinated" depth values.
Methods and Multi-Layer Estimation
The authors formalize multi-layer depth estimation as predicting an ordered sequence of depths for every visible surface along a camera ray. To overcome the lack of ground-truth data, they developed LayeredDepth-Syn, a procedural generator built on Infinigen Indoor. Key modifications include random transparent material assignment, complex scene composition allowing overlapping objects, and custom ray-tracing in Blender to log the exact numerical depth of every surface intersection.
Three baseline architectures were proposed using the NeWCRFs backbone: a multi-head output for simultaneous layer prediction, a layer index concatenation approach that predicts a specific layer based on an input ID, and a recurrent model that predicts layers iteratively.
Datasets
The paper introduces two primary resources to the community:
- LayeredDepth (Real-World Benchmark): A collection of 1,500 "in-the-wild" images from diverse settings (households, labs, urban areas). To evaluate these without absolute metric depth, the authors used human annotators to create 14.2 million relative depth tuples (e.g., "Point A is closer than Point B").
- LayeredDepth-Syn (Synthetic Training Set): 15,300 photorealistic images with full, multi-layer metric depth ground truth.
Key Results and Insights
Evaluation of ten state-of-the-art models (such as Depth Anything V2) revealed a significant "transparency gap," where models often failed to detect clean glass entirely. However, models trained exclusively on the synthetic LayeredDepth-Syn data showed impressive zero-shot generalization to real-world photos, proving that procedural data can effectively teach a model the "physics" of transparency.
- Performance Boost: Fine-tuning Metric3D V2 on the new synthetic dataset increased its "quadruplet accuracy" (a measure of depth ordering) from 55.14% to 75.20% on the real-world benchmark.
- Disentanglement: Multi-layer estimation forces models to disentangle conflicting visual cues—such as reflections on a window versus the garden behind it—leading to a more robust overall geometric understanding.
- Qualitative Improvement: Visualizations show that fine-tuned models produce sharper boundaries for transparent objects and successfully "see" surfaces that were previously invisible to the AI.
Limitations and Future Work
While a major step forward, challenges remain in reducing artifacts at object boundaries and predicting very deep layers (layer 5 and beyond). Future work may involve more specialized architectures with better refraction modeling. Additionally, obtaining absolute metric depth for multi-layer scenes in the wild remains an open challenge, as the current real-world benchmark relies on relative human annotations.
Summary updated