arXiv is now an independent nonprofit! Learn more
License: CC BY-NC-SA 4.0
arXiv:2607.24249v1 [cs.CV] 27 Jul 2026

SILICA: Repurposing Diffusion Priors for Joint Glass Segmentation and Depth Estimation

Tarun R1,  Anuj Verma1,  Laksh Nanwani1,  Sourav Garg1,  K. Madhava Krishna1 1 Robotics Research Center (RRC), IIIT HyderabadProject Page - https://silica-mirage.github.io/Code - https://github.com/rtarun1/SilicaDataset - Mirage18k
Abstract

Standard depth sensors systematically fail on transparent surfaces, creating corrupted 3D maps and severe navigation hazards. While specialized hardware sensors can detect glass, they lack modularity and have extensive hardware dependencies. Consequently, learning-based monocular depth estimation has emerged as a compelling alternative. However, domain-specific glass-aware monocular depth estimators struggle with unfamiliar indoor layouts; restricted by the severe scarcity of real-world glass depth annotations, they fail to generalize zero-shot to new settings. This motivates us to explore whether the extensive priors of text-to-image diffusion models can enable generalizable perception of transparent surfaces. We introduce SILICA, a unified pipeline leveraging these priors to jointly predict glass segmentation and glass-aware depth. This mutual information exchange establishes a robust spatial hierarchy, entirely eliminating the need for paired real-world glass depth annotations. Subsequently, we use the predicted segmentation mask to explicitly filter incorrect glass depth points from standard sensors, recovering accurate metric glass depth for downstream 3D mapping and autonomous collision avoidance. Supported by our novel Mirage 18k dataset, extensive experiments demonstrate that SILICA achieves remarkable zero-shot transfer across diverse, unseen environments, outperforming state-of-the-art models by almost 20% and setting a new benchmark for transparent surface perception.

I INTRODUCTION

Perceiving transparent structures, such as glass panes, doors, and partitions, remains a fundamental yet highly challenging task in robotic perception. While recovering accurate 3D scene geometry is essential for safe navigation and SLAM, standard depth sensors like LiDAR, RGB-D, and stereo cameras fail on these surfaces due to specular reflection, refraction, and visual ambiguity. Although specialized acoustic sensors offer a hardware solution, their sparse outputs and strict calibration dependencies make them inherently unreliable. As a result, learning-based monocular depth estimation has become a prominent software alternative. Recent efforts have introduced specialized, glass-aware networks [10] trained in a supervised manner on paired collections of RGB and metric depth maps. Unfortunately, it is extremely challenging to collect real-world glass annotations restricts these models to narrow domains, causing them to struggle when generalizing to unfamiliar scenes.

Early learning based methods attempted to solve this by predicting 2D boundary segmentation masks [5, 22, 11, 14], but these lack the explicit 3D geometric context required for navigation. More recently, the advent of foundational monocular depth estimators [24] has brought about a leap in general scene understanding. Still, these foundational depth estimators tend to struggle when presented with a complex transparent structure. In our experiments, these methods consistently fail when prominent features are visible behind the glass, predicting the depth of the background rather than the physical surface of the glass itself.

Our core intuition is that accurately perceiving transparent structures requires resolving the severe foreground-background ambiguities inherent to these surfaces. We hypothesize that jointly learning glass segmentation and monocular depth estimation provides a mutually beneficial solution. Under this hypothesis, we posit that an inferred glass mask would act as an explicit spatial feature to guide surface depth, while geometric depth context would help the segmentation network isolate objects in front of the glass from the visible background. However, attempting this dual-task framework exposes a severe domain disparity of datasets, where available glass segmentation datasets consist entirely of real-world imagery, whereas dense, artifact-free depth supervision necessitates synthetic data [17].

To bridge this domain gap and achieve generalizable joint perception, we introduce SILICA: a unified pipeline leveraging the rich priors of text-to-image diffusion models [18]. To manage this dual-task framework, we exploit the network’s inherent CLIP [16] conditioning by injecting task-specific text embeddings directly into the U-Net’s pre-trained cross-attention layers. This explicit routing facilitates robust cross-modal mutual information exchange, allowing real-world segmentation features to inherently guide synthetic affine-invariant depth estimation, and vice versa. This bypasses the need for paired real-world glass depth annotations. To satisfy the latency constraints of robotics, we collapse the iterative generative process into an efficient, single-step deterministic latent regression model. During real-world deployment, SILICA effectively utilizes its predicted mask to filter incorrect readings on transparent surfaces from standard depth sensors. The remaining reliable, non-glass points are then used to align our affine-invariant predictions into accurate glass-aware metric depth. As a result, SILICA exhibits exceptional zero-shot generalization and attains state-of-the-art performance in complex indoor environments.

Our main contributions are summarized as follows:

  • The SILICA Pipeline: An efficient, single-step joint perception framework that exploits text-to-image diffusion priors. By leveraging CLIP-conditioned cross-attention, it drives robust mutual information transfer between real-world segmentation and synthetic depth pathways, entirely bypassing the need for paired real-world glass depth annotations. Enabling SILICA to set new benchmark for transparent surface perception. In completely unseen environments, our approach demonstrates exceptional zero-shot capabilities, outperforming existing state-of-the-art models by nearly 20% in specific cases.

  • The Mirage 18k Dataset: A novel, dataset comprising 18,353 complex indoor RGB images paired with binary glass segmentation masks, alongside a evaluation subset of 2,406 samples with corresponding ground-truth metric depth for transparent surfaces.

II RELATED WORKS

II-A Transparent Surface Segmentation

Traditional approaches to perceiving transparent surfaces often frame the problem as a 2D segmentation task. Boundary-centric models [22, 5] rely on the high visual contrast of glass edges, but fail on frame-less doors or complex glass panes where edge cues are scarce. Conversely, context-driven networks [14, 11] exploit high-level semantic co-occurrences, but also fail when presented with complex, cluttered backgrounds visible through the glass. Even recent, massive state-of-the-art models like SAM3 [2] struggle in the presence of salient features behind the glass surface.

II-B Transparent Glass Datasets

Existing glass segmentation datasets [22, 14, 11] offer visual diversity but strictly provide 2D segmentation masks, lacking the metric depth annotation. While manipulation-focused 3D datasets [19, 3, 12] provide dense depth, they are restricted to small tabletop objects. Recent attempts to capture real-world planar glass depth, such as GWDepth [10], are severely limited in scale and diversity (comprising only \sim1,200 samples). This lack of paired, diverse, real-world 3D glass data fundamentally motivates SILICA’s training strategy, which bridges real-world segmentation masks with synthetic depth annotations.

II-C Monocular Depth Estimation Methods

Estimating depth “in the wild” refers to methods that are successful across a wide range of (possibly unfamiliar) settings. While early methods predicted relative depth, its limited geometric utility drove a shift toward affine-invariant depth, which recovers structure up to an unknown global scale and offset. Recently, foundational models [24, 23] have achieved exceptional affine-invariant zero-shot performance by training massive discriminative architectures on large-scale synthetic and pseudo-labeled datasets. However, despite this massive data coverage, these models still fundamentally fail to resolve depth for transparent surfaces in complex settings, incorrectly predicting the visible background instead.

II-D Diffusion-based Monocular Depth Estimation

Rather than training massive networks from scratch, state-of-the-art methods repurpose the encyclopedic spatial priors of text-to-image Latent Diffusion Models (LDMs) like Stable Diffusion. Operating in a compressed latent space, LDMs implicitly capture complex structural hierarchies from internet-scale data. Breakthroughs like Marigold [8] and GeoWizard [4] successfully adapt these generative priors for affine-invariant depth, achieving remarkable zero-shot generalization while enabling highly resource-efficient fine-tuning. However, unlike these previous methods, which systematically discard the multi-modal conditioning pathway, we leverage the model’s full architectural capacity. We propose a targeted fine-tuning protocol that explicitly re-engages this conditional alignment, achieving robust, in-the-wild performance for our joint task (as demonstrated in Fig. 5).

III METHODOLOGY

The primary objective of the SILICA is to initially take a single input image xx and jointly predict a glass segmentation mask s^\hat{s} alongside a glass-aware, affine-invariant depth map d^\hat{d}. Subsequently, these joint predictions are utilized in a least-squares optimization framework to align d^\hat{d} with noisy metric depth DrawD_{raw} samples obtained from a depth sensor. Crucially, the predicted segmentation mask s^\hat{s} is used to explicitly filter out incorrect sensor depth measurements on transparent surfaces during this alignment, ultimately producing an accurate, 3D metric depth map with glass structures outlined for downstream tasks. An overview of the complete SILICA pipeline is illustrated in Fig. 2.

Refer to caption
Figure 2: SILICA Pipeline Overview. Our framework employs a shared U-Net architecture for joint glass segmentation and monocular depth estimation z^s,z^d\hat{z}^{s},\hat{z}^{d}. During Training (top), we employ a fixed timestep t=Tt=T joint latent regression loss LTL_{T} using CLIP-conditioning cs,cdc_{s},c_{d} for task switching, where the latent U-Net learns to directly predict the annotation latents zs,zdz^{s},z^{d} from input latents zxs,zxdz^{x_{s}},z^{x_{d}}. During Inference (bottom), the model simultaneously predicts task-specific latents, which are decoded and processed through a least-squares optimization to recover aligned metric depth for transparent surfaces.

III-A Latent Regression

For diffusion training, there are two basic parameterizations of the diffusion loss function LtL_{t}:

  1. 1.

    ϵ\epsilon-prediction: The model fθϵf_{\theta}^{\epsilon} learns to predict the added noise ϵ\epsilon [7]:

    Ltϵ=ϵfθϵ(zty,zx,t)2L_{t}^{\epsilon}=\left\|\epsilon-f_{\theta}^{\epsilon}\!\left({z}_{t}^{y},{z}^{x},t\right)\right\|^{2}
  2. 2.

    x0x_{0}-prediction: The model fθzf_{\theta}^{{z}} learns to directly predict the clean target sample zy{z}^{y} [7]:

    Ltz=zyfθz(zty,zx,t)2L_{t}^{{z}}=\left\|{z}^{y}-f_{\theta}^{{z}}\!\left({z}_{t}^{y},{z}^{x},t\right)\right\|^{2}

Previous literature [1, 20] indicates that while ϵ\epsilon-prediction relies on scaling coefficients that severely magnify output variance at high noise levels, x0x_{0}-prediction directly estimates the clean target sample, thereby avoiding this instability and yielding much steadier predictions. Furthermore, fixing the timestep to t=Tt=T eliminates the possibility of error propagation during the multi-step denoising process [6]. However, due to the stochastic nature of diffusion models, feeding random noise to the input latent still yields slightly different outputs for different random seeds, which was empirically shown by prior work [6].

For our robotics perception task, it is essential to guarantee consistent outputs regardless of external factors. Hence, we opt to remove the Gaussian noise addition zty{z}^{y}_{t} entirely. Instead, we directly feed the image latent zx{z}^{x} into the U-Net at the fixed timestep t=Tt=T:

Lt=zyfθ(zx,t)2.L_{t}=\left\|{{z}}^{y}-f_{\theta}({z}^{x},t)\right\|^{2}. (1)

This deterministic formulation ensures consistent predictions, and allows the pipeline to train and infer more efficiently, even with limited data.

III-B Joint Modeling of Glass Segmentation and Depth Estimation

Sanity check for using the same VAE and Decoder for joint task: While prior work [8] demonstrated that the frozen Stable Diffusion Variational Autoencoder (VAE) \mathcal{E} can accurately reconstruct affine-invariant depth maps with low error(even though being pretrained on RGB), a similar re-use for segmentation or joint modeling of segmentation and depth estimation may not be assumed. Thus, we conduct an initial sanity check to verify if the frozen VAE \mathcal{E} and Decoder 𝒟\mathcal{D} can accurately reconstruct binary glass segmentation. For this, we normalize the single-channel ground truth mask to the operational range of the VAE, i.e., [1,1][-1,1], and replicate it across three channels to simulate an RGB input tensor ss. We then pass it through the frozen VAE Encoder to obtain its latent representation zs=(s)z^{s}=\mathcal{E}(s), and to recover latent binary segmentation zsz^{s}, it is immediately passed through the frozen Decoder z^s=𝒟(zs)\hat{z}^{s}=\mathcal{D}(z^{s}). Subsequently, averaging the three output channels yields an exceptional reconstruction mean Intersection over Union (mIoU) of 99.97%, demonstrating that latent compression and recovery can be done with minimal error. This enables us to use the same VAE and Decoder for training multi-modal data without using a domain-specific Encoder Decoder.

We not only have to deal with multi-modal data but also sim and real data mix. Due to the limitations of datasets containing both glass segmentation masks and accurate depth-to-glass annotations, our training configuration inevitably introduces a significant domain disparity: our segmentation pairs (s,xs)({s},{x}_{s}) consist entirely of real-world samples, while our depth samples (d,xd)({d},{x}_{d}) are entirely synthetic. To validate our core hypothesis that joint training enables a mutually beneficial information exchange capable of driving robust zero-shot real-world generalization for both our objectives, it is important that the shared U-Net fθf_{\theta} effectively handles these modalities and domain disparity.

Taking inspiration from prior literature [4, 13], we initially evaluated a strategy that makes use of a single U-Net fθf_{\theta} to handle multi-modal data via a task switcher, denoted as ss. The switcher ss, a one-dimensional vector that labels different tasks, s{sd,ss}s\in\{s_{d},s_{s}\} (depth estimation and segmentation, respectively), is mapped through a low-dimensional positional encoder and added directly to the network’s time embeddings. Formulated as:

z^d=fθ(zxd,t,sd),z^s=fθ(zxs,t,ss)\hat{{z}}^{d}=f_{\theta}({z}^{{x}_{d}},t,s_{d}),\quad\hat{{z}}^{s}=f_{\theta}({z}^{{x}_{s}},t,s_{s}) (2)

However, as detailed in Sec. V-D, this configuration quickly collapses. Hence, to establish a more robust task-routing mechanism, we re-examine the core architecture of our generative prior. Intuitively, for a text-to-image model such as Stable Diffusion, which was trained on internet-scale datasets to perform high-resolution image generation explicitly conditioned on text prompts encoded by CLIP [16], it must maintain a profound structural connection between its language prompts and its visual outputs. However, previous monocular depth estimators have largely ignored this prompt guidance pathway [8, 6, 13, 4], feeding empty text prompts to extract only visual features. In contrast, we propose a fine-tuning protocol to fully exploit this pre-trained text-image alignment. Since a visual synthesis model inherently possesses a deep structural understanding of scenes, leveraging CLIP’s shared embedding space for task conditioning provides a significantly more effective mechanism for routing cross-modal information.

To provide robust global guidance, we explicitly condition each pathway using task-specific text prompts: ys=“predict glass segmentation”y_{s}=\text{``predict glass segmentation"} and yd=“predict depth map”y_{d}=\text{``predict depth map"}. Using a frozen CLIP text encoder τθ\tau_{\theta}, we extract the corresponding text embeddings cs=τθ(ys)c_{s}=\tau_{\theta}(y_{s}) and cd=τθ(yd)c_{d}=\tau_{\theta}(y_{d}). Rather than only training a naive positional vector from scratch to handle task switching, we inject these embeddings directly into the U-Net via its pre-trained cross-attention layers, as in Stable Diffusion. This approach seamlessly maps our explicit task instructions into the network’s deep feature space, fully leveraging the rich, pre-trained priors of Stable Diffusion U-Net, which was trained on text conditioning. Consequently, our final joint fine-tuning loss function is defined as:

LT=zsfθ(zxs,t,ss,cs,)22+zdfθ(zxd,t,sd,cd,)22\begin{split}L_{T}=\;&\|{z}^{s}-f_{\theta}({z}^{{x}_{s}},t,s_{s},c_{s},)\|_{2}^{2}\\ &+\|{z}^{d}-f_{\theta}({z}^{{x}_{d}},t,s_{d},c_{d},)\|_{2}^{2}\end{split} (3)

As demonstrated in our experimental results (Sec. V), our pipeline shows impressive zero-shot transfer, beating state-of-the-art in both glass segmentation and glass-aware depth estimation.

III-C Inference and Recovering Metric Depth to Glass

III-C1 Inference

During inference, the input RGB image is first processed by the frozen Encoder \mathcal{E} to extract the image latent zx{z}^{x}. That is then passed through the shared U-Net alongside the task-specific CLIP text embeddings (csc_{s} and cdc_{d}) which route the network’s features, enabling it to predict the glass segmentation latent z^s\hat{{z}}^{s} and the glass-aware depth latent z^d\hat{{z}}^{d} in a single forward pass without task interference. Both predicted latents are subsequently projected back into pixel space via the frozen Decoder 𝒟\mathcal{D}. To recover the final single-channel predictions for both modalities, we average the three decoded output channels. Finally, a fixed threshold is applied to the segmentation output to produce the definitive binary glass mask.

III-C2 Metric Depth for Glass Surfaces

The raw sensor depth DrawD_{raw} from an RGB-D camera is converted to raw disparity Draw=1/DrawD^{\prime}_{raw}=1/D_{raw}. Subsequently, the model-predicted affine-invariant disparity d^\hat{d} and a background mask MbgM_{bg} (which excludes the model-predicted glass regions) are used to recover the global scale ss and shift tt. This is achieved by solving a linear least-squares optimization over the valid depth points in the background pixels:

argmins,tiMbg(sd^i+tDraw,i)2\arg\min_{s,t}\sum_{i\in M_{bg}}(s\cdot\hat{d}_{i}+t-D^{\prime}_{raw,i})^{2} (4)

Once ss and tt are computed, we apply this affine transformation to the entire predicted disparity map and invert it to recover the aligned metric depth Daligned=1/(sd^+t)D_{aligned}=1/(s\cdot\hat{d}+t)

Finally, we construct a fused, glass-aware depth map by retaining the reliable raw sensor depth for the background and injecting our aligned metric predictions within the predicted glass regions. This compositing strategy completely resolves sensor failure artifacts on transparent glass surfaces, yielding an accurate glass-aware depth map. The depth map is then converted to a point cloud using known camera intrinsics.

IV EVALUATION

To train and evaluate SILICA for joint glass segmentation and monocular depth estimation, we use separate data sources for each task while maintaining balanced multi-task supervision. All datasets and evaluation protocols are organized under two core categories: Glass Segmentation and Monocular Depth Estimation. Training our method to convergence takes approximately 1 day on a single Nvidia RTX 5090 GPU card.

IV-A Mirage 18k

We introduce the Mirage 18k Dataset, comprising 18,353 manually annotated images with paired binary segmentation masks, spanning 38 unique scenes. We hand-picked 12,420 samples strictly for segmentation training and 3,527 strictly for segmentation testing. To ensure there is no overlap between the two sets, we make sure that no data taken from one scene is part of both the test set and the training set. The remaining 2,406 samples include paired ground-truth metric depth to glass in addition to the binary segmentation masks, intended strictly for zero-shot depth and segmentation evaluation.

Our dataset captures a diverse distribution of glass structures in the wild: we have complex scenes in which multiple types of glass structures (e.g., a frosted door next to an indoor pane) are in the same image. Fig. 3 shows the distribution quantitatively.

Refer to caption
Figure 3: Diversity of type of glass in Mirage 18k. Mirage 18k provides training and testing data for several types of glass, often with multiple in the same image. 1,930 samples without any glass are also included to provide negative samples in the training set.

We use the CVAT annotation tool to generate ground truth binary glass segmentation masks. Ground truth depth to glass is obtained by modeling each pane as a 3D planar surface. Temporary opaque paper markers were placed at the corners of each pane and annotated for in CVAT, and their median depth was extracted from a local 15×1515\times 15 pixel neighborhood. To ensure the frames line up perfectly, we record data twice: a completely stationary robot first records the glass adorned with the markers to capture reliable metric depth to glass surfaces, and then records a second sequence from the exact same pose after the markers are removed. By solving an overdetermined system via least-squares optimization in the inverse depth space, we reconstruct dense metric depth maps, as illustrated in Fig. 4. This ground truth depth is used strictly for depth evaluation, and not for training.

Refer to caption
Figure 4: Acquisition of ground truth depth for Mirage 18k. The raw sensor depth image gives noisy returns for glass areas, as it is transparent to IR. The corrected depth image shows polygons with smoothly varying depth to glass, which is used for validating our results.

IV-B Training Datasets

IV-B1 Glass Segmentation

We aggregate the training splits of our custom Mirage 18k dataset together with several established binary glass segmentation datasets: 3DRef [25], Trans10k [22], GDD [14], GSD-S [11], and GW-Depth [10]. This curation yields a total of 24,811 training samples, covering diverse indoor environments with planar and curved transparent structures, varying lighting conditions, and cluttered backgrounds.

IV-B2 Monocular Depth Estimation

For depth estimation, we utilize Hypersim [17], a large-scale, photorealistic synthetic dataset providing high-fidelity depth annotations across 461 indoor scenes. To maintain a balanced multi-task learning objective and prevent task imbalance during training, we filter out incomplete data and randomly sample exactly 24,811 images from the official training split to perfectly match the size of our glass segmentation corpus.

IV-C Evaluation Datasets

IV-C1 Glass Segmentation

We evaluate segmentation performance on the official test splits of GDD [14], 3DRef [25], Trans10k [22], and our Mirage 18k dataset. To evaluate pure out-of-distribution generalization, we also test on a completely unseen, in-the-wild our shopping mall dataset.

IV-C2 Monocular Depth Estimation

We evaluate our depth estimation performance across three real-world datasets. Two of these are domain-specific datasets (Mirage 18k and GW-Depth) that provide explicit depth annotations for transparent glass structures. The third is NYUv2 [21], a widely adopted general indoor depth benchmark, which we use to demonstrate the model’s robust generalization in standard environments.

IV-D Baselines and Evaluation Protocols

IV-D1 Glass Segmentation

We report the mean Intersection-over-Union (mIoU) using the official TorchMetrics implementation [15]. To ensure a fair comparison against prior methods, we apply the following protocols:

  • TransLab and EBLNet are trained and evaluated on their official splits. Due to the high computational requirements of EBLNet, we report results that represent the most feasible training configuration.

  • GDNet results are reported strictly on datasets for which pretrained models are publicly available.

  • GlassSemNet requires full-scene semantic annotations. In cases where retraining was not feasible, we report inference-only results.

IV-D2 Monocular Depth Estimation

We compare our monocular depth estimation pathway against one domain-specific architecture, GW-Depth [10] (which explicitly handles glass using a dual-context transformer to exploit boundary and reflection cues), as well as two state-of-the-art foundation models for discriminative monocular depth estimation models: Lotus-D [6] and Depth Anything V2 [24].

Evaluation Protocol & Metrics: For all depth evaluations across the three datasets (Mirage 18k, GW-Depth, and NYUv2), we follow the standard affine-invariant depth estimation protocol utilized by Marigold [8]. This protocol aligns the estimated depth predictions with the available ground truth using standard least-squares fitting across all valid pixels to recover the global scale and shift.

The accuracy of these aligned predictions is then assessed using standard monocular depth metrics. We report the absolute mean relative error (AbsRel) 1Mi=1M|aidi|/di\frac{1}{M}\sum_{i=1}^{M}|a_{i}-d_{i}|/d_{i} where MM is the total number of evaluated pixels, aia_{i} is the aligned predicted depth map, and did_{i} represents the ground truth depth. We also report threshold accuracies δ1\delta_{1} and δ2\delta_{2}, which denote the proportion of pixels satisfying max(ai/di,di/ai)<1.25\max(a_{i}/d_{i},d_{i}/a_{i})<1.25 and <1.252<1.25^{2}, respectively.

V RESULTS

Our qualitative and quantitative results demonstrate the successful integration of Stable Diffusion priors with CLIP-conditioned task switching. That enables highly accurate and generalized zero-shot joint prediction of glass segmentation and glass-aware monocular depth. This proves our initial intuition, i.e., by jointly training both modalities, the mutual information exchange allows the network to establish a strict foreground-background hierarchy. Furthermore, our ability paints the importance of CLIP conditioning and empirically prove that paired glass depth annotation is not required.

TABLE I: Segmentation mean Intersection over Union (mIoU) Results
Method Datasets
GDD 3DRef Trans10k Mirage 18k Mall
TransLab [22] 88.07 83.06 78.05 72.69 59.09
EBLNet [5] 88.72 86.71 90.28 51.05 44.39
GDNet [14] 87.64* 84.46 77.25 67.20 42.06
GlassSemNet [11] 90.80* 53.13 78.58 77.50 65.55
SAM3 [2] 65.69 74.37 67.93 77.51 61.03
SILICA (Ours) 91.60 88.31 92.43 81.21 77.83

These models were evaluated using their provided pre-trained weights and were not (re)trained by us for these experiments.
* metrics were taken from respective literature

V-A Quantitative Results

V-A1 Glass Segmentation

As shown in Tab. I, SILICA consistently outperforms prior domain-specific baselines across all evaluated public datasets. To assess zero-shot generalization in complex, real-world environments, we further evaluate all models on an unobserved, internal shopping mall deployment dataset featuring large-scale glass architectures. Notably, our approach demonstrates superior performance, surpassing all domain-specific baselines but also the recent state-of-the-art foundational segmentation model, SAM3.

V-A2 Monocular Depth Estimation

As reported in Tab. II, our joint prediction pipeline consistently outperforms the domain-specific baseline, GW-Depth, across all evaluated datasets, even though GW-Depth model was explicitly trained on both GW-Depth dataset and NYUv2 dataset we still outperform them. Furthermore, when compared against state-of-the-art discriminative monocular depth foundation models, our approach yields the highest performance on datasets featuring prominent transparent structures, achieving improvements of up to 20% in specific metrics.

Crucially, standard depth sensors fail on transparent surfaces, frequently capturing background objects instead of the physical glass. We explicitly evaluate this using our Mirage 18k depth test-only set. As shown in Tab. III, failing to segment and filter these invalid sensor points prior to metric alignment causes a catastrophic error spike of over 85% compared to our filtered strategy. This demonstrates that our joint prediction framework is not merely an algorithmic improvement, but an important prerequisite for reliable 3D mapping and safe, collision-free autonomous navigation in real-world robotic deployments.

TABLE II: Quantitative Results for Depth Estimation
Method Task NYUv2 [21] GW-Depth [10] Mirage 18k (Ours)
AbsRel \downarrow δ1\delta_{1} \uparrow δ2\delta_{2} \uparrow AbsRel \downarrow δ1\delta_{1} \uparrow δ2\delta_{2} \uparrow AbsRel \downarrow δ1\delta_{1} \uparrow δ2\delta_{2} \uparrow
Lotus-D [6] Depth 5.1 97.2 99.2 6.4 95.6 99.11 19.24 79.88 92.99
Depth Anything V2 [24] Depth 4.5 97.9 99.3 5.08 97.37 99.7 25.78 68.60 85.76
GW-Depth [10] Depth + Seg 9.8 91.17 99.0 10.0 90.0 98.9 24.39 49.11 78.86
SILICA (Ours) Depth + Seg 5.3 97.1 99.3 4.4 98.14 99.7 18.04 95.34 97.57

GW-Depth was trained specifically on NYUv2.

TABLE III: Depth Estimation Performance on Glass Regions after aligning using raw sensor points
Model Task AbsRel \downarrow δ1\delta_{1} \uparrow δ2\delta_{2} \uparrow
Lotus-D [6] Depth 161.60 2.80 73.40
Depth Anything V2 [24] Depth 174.90 5.60 56.20
GW-Depth [10] Depth + Seg 32.90 27.50 58.40
SILICA (Ours) Depth + Seg 24.73 94.30 97.72

Glass mask was not applied to remove the wrong depth.

Refer to caption
Figure 5: Qualitative comparison of glass segmentation and depth prediction. SILICA can jointly predict glass segmentation and glass-aware depth estimation precisely even in scenes with a busy background (seen in row 1), a half-open glass door (seen in row 2), and a glass window (seen in row 3). SILICA shows consistent performance in all these samples, even in the midst of saliency. The joint prediction approach also helps it correctly identify and predict depth to challenging open/closed doors where other methods hallucinate flat glass or miss the door (row 2).

V-B Qualitative Results

As presented in Fig. 5, we provide a qualitative comparison between our approach and the top-performing baselines across highly challenging environments typical of indoor robotic deployment. Notably, these complex, real-world scenarios are uniquely introduced by our novel Mirage 18k dataset to explicitly benchmark operational robustness.

①Crowded shopping mall (large glass panes): Our model successfully ignores dynamic obstacles (humans) and accurately segments the glass despite complex background details. In contrast, TransLab and SAM3 fail due to background and foreground saliency. For depth estimation, while DepthAnythingv2 incorrectly captures the depth of objects behind the glass, our model accurately predicts the glass depth, while Lotus-D also gave decent predictions but fails in consistency.

②Half-opened glass door: TransLab fails to predict the open door, and SAM3 misses the door structure entirely, segmenting only the isolated pane. Our model, however, extracts a highly accurate segmentation mask. In terms of depth, Lotus-D wrongly predicts a fully closed scene at an incorrect distance, and DepthAnythingV2 struggles significantly on the right side due to background saliency. In contrast, out model predicts accurate surface depth.

③Extreme close-up window (minimal context): Given highly constrained viewpoints, TransLab and SAM3 predict incorrect boundaries influenced by a background pillar. Our model precisely isolates the true, closer glass boundary. Furthermore, Lotus-D and DepthAnythingV2 completely miss the transparent surface, outputting background depth, while our model consistently resolves the correct glass depth.

These qualitative results provide clear evidence that our joint formulation effectively learns a robust spatial hierarchy, successfully resolving severe visual ambiguities in the presence of complex transparent structures.

V-C Real-world Deployment

Designed explicitly for robotics, SILICA is integrated into our custom autonomous wheelchair stack for real-world navigation. To operate in a new environment, we first collect a map by feeding the corrected glass depth points from our pipeline into RTAB-Map [9] to construct an accurate 3D map. From which, we obtain a 2D occupancy grid map where the glass areas are included as obstacles. These maps are then utilized for our MPPI-based 2D navigation and 3D localization, enabling the wheelchair to safely plan paths and navigate through glass-structured environments (as shown in Fig. LABEL:fig:fig_teaser). Crucially, multiple deployment runs verify that our model produces very rare false positives in glass-free scenes, ensuring highly reliable robotic operation. Running on a laptop with an NVIDIA RTX 3060 GPU, the pipeline achieves an inference rate of approximately 5 Hz for joint segmentation and depth estimation. Because glass structures are static, we directly inject these predictions into a spatio-temporal voxel grid with a decay mechanism to ensure smooth real-time performance. Finally, we also observe that our pipeline implicitly improves overall 3D mapping, as we provide RTAB-Map with stabilized depth points on glass surfaces results in significantly better and cleaner final maps.

Refer to caption
Figure 6: (Top) Without conditioning, task entanglement corrupts depth predictions and segmentation. (Bottom) SILICA’s CLIP-conditioned cross-attention enables stable mutual information exchange, successfully resolving the foreground-background hierarchy.

V-D Ablation

CLIP-Conditioning: To justify our architectural design, we ablate our CLIP-based conditioning module against a naive positional encoder for task switching (Eq. 2). As established earlier, the severe scarcity of real-world glass depth annotations necessitates training on a complex mixture of synthetic depth and real-world segmentation data. Under these multi-modal conditions, simple positional encoding suffers from severe task interference. As shown in Fig. 6, the baseline fails to establish a proper spatial hierarchy: it wrongly predicts the glass surface as abnormally close in the depth map and also fails foreground-background disambiguation in the segmentation mask (e.g., misclassifies background furniture as foreground).

In contrast, our CLIP-conditioned approach (detailed in Sec. III-B) connects directly to all cross-attention layers of the U-Net, fully leveraging the robust priors of the diffusion model. This mechanism enables highly stable task switching and facilitates effective mutual information transfer between the depth and segmentation pathways. As seen in Fig. 6, this formulation successfully enforces a strict spatial hierarchy, resolving the visual ambiguity and dramatically improving the output quality of both tasks. This empirically proves that CLIP conditioning is essential to bridge the sim-to-real domain gap and successfully execute our joint-prediction framework.

Eliminating glass depth annotations: To test if explicit glass supervision is necessary, we filtered Hypersim, discarding scenes with >10%>10\% glass pixels. Retraining from scratch on 24,000 strictly glass-free images yielded only marginal metric differences (Tab. IV). This robust performance definitively validates our core intuition: explicit glass depth annotations are not strictly required. Instead, our CLIP-conditioned joint training framework teaches the network the correct spatial hierarchy for transparent surface perception.

Mutual Benefit of Joint Training: Ablating SILICA against single-task baselines proves their strict interdependence. A segmentation-only model suffers a 5.0%\sim 5.0\% mIoU drop with increased real-world false positives. Conversely, a depth-only model lacks the predicted segmentation mask essential for explicitly filtering corrupted raw sensor data during metric alignment, resulting in a >80%>80\% error spike on glass regions.

TABLE IV: Effect of Glass Scenes in Hypersim on SILICA Model performance.
Variant AbsRel \downarrow δ1\delta_{1} \uparrow δ2\delta_{2} \uparrow
w/o Glass Scenes 18.93 94.47 97.68
w/ Glass Scenes 18.04 95.34 97.57

ACKNOWLEDGMENT

The authors used large language models (Gemini, ChatGPT) and Grammarly strictly to improve the manuscript’s linguistic flow. We also thank IHub-Data for their support via project M2-029.

References

  • [1] Y. Benny and L. Wolf (2022-06) Dynamic dual-output diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 11482–11491. Cited by: §III-A.
  • [2] N. Carion, L. Gustafson, Y. Hu, S. Debnath, R. Hu, D. Suris, C. Ryali, K. V. Alwala, H. Khedr, A. Huang, J. Lei, T. Ma, B. Guo, A. Kalla, M. Marks, J. Greer, M. Wang, P. Sun, R. Rädle, T. Afouras, E. Mavroudi, K. Xu, T. Wu, Y. Zhou, L. Momeni, R. Hazra, S. Ding, S. Vaze, F. Porcher, F. Li, S. Li, A. Kamath, H. K. Cheng, P. Dollár, N. Ravi, K. Saenko, P. Zhang, and C. Feichtenhofer (2025) SAM 3: segment anything with concepts. External Links: 2511.16719, Link Cited by: §II-A, TABLE I.
  • [3] H. Fang, H. Fang, S. Xu, and C. Lu (2022) TransCG: a large-scale real-world dataset for transparent object depth completion and a grasping baseline. IEEE Robotics and Automation Letters 7 (3), pp. 7383–7390. External Links: Document Cited by: §II-B.
  • [4] X. Fu, W. Yin, M. Hu, K. Wang, Y. Ma, P. Tan, S. Shen, D. Lin, and X. Long (2024) GeoWizard: unleashing the diffusion priors for 3d geometry estimation from a single image. External Links: 2403.12013, Link Cited by: §II-D, §III-B, §III-B.
  • [5] H. He, X. Li, G. Cheng, J. Shi, Y. Tong, G. Meng, V. Prinet, and L. Weng (2021-10) Enhanced boundary learning for glass-like object segmentation. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pp. 15859–15868. Cited by: §I, §II-A, TABLE I.
  • [6] J. He, H. Li, W. Yin, Y. Liang, L. Li, K. Zhou, H. Zhang, B. Liu, and Y. Chen (2025) Lotus: diffusion-based visual foundation model for high-quality dense prediction. External Links: 2409.18124, Link Cited by: §III-A, §III-B, §IV-D2, TABLE II, TABLE III.
  • [7] J. Ho, A. Jain, and P. Abbeel (2020) Denoising diffusion probabilistic models. arXiv preprint arxiv:2006.11239. Cited by: item 1, item 2.
  • [8] B. Ke, A. Obukhov, S. Huang, N. Metzger, R. C. Daudt, and K. Schindler (2024) Repurposing diffusion-based image generators for monocular depth estimation. External Links: 2312.02145, Link Cited by: §II-D, §III-B, §III-B, §IV-D2.
  • [9] M. Labbé and F. Michaud (2019) RTAB-map as an open-source lidar and visual simultaneous localization and mapping library for large-scale and long-term online operation. Journal of field robotics 36 (2), pp. 416–446. Cited by: §V-C.
  • [10] Y. Liang, B. Deng, W. Liu, J. Qin, and S. He (2023) Monocular depth estimation for glass walls with context: a new dataset and method. IEEE Transactions on Pattern Analysis and Machine Intelligence 45 (12), pp. 15081–15097. External Links: Document Cited by: §I, §II-B, §IV-B1, §IV-D2, TABLE II, TABLE II, TABLE III.
  • [11] J. Lin, Y. Yeung, and R. Lau (2022) Exploiting semantic relations for glass surface detection. In Advances in Neural Information Processing Systems, S. Koyejo, S. Mohamed, A. Agarwal, D. Belgrave, K. Cho, and A. Oh (Eds.), Vol. 35, pp. 22490–22504. External Links: Link Cited by: §I, §II-A, §II-B, §IV-B1, TABLE I.
  • [12] X. Liu, R. Jonschkowski, A. Angelova, and K. Konolige (2020) KeyPose: multi-view 3d labeling and keypoint estimation for transparent objects. In 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Vol. , pp. 11599–11607. External Links: Document Cited by: §II-B.
  • [13] X. Long, Y. Guo, C. Lin, Y. Liu, Z. Dou, L. Liu, Y. Ma, S. Zhang, M. Habermann, C. Theobalt, et al. (2023) Wonder3D: single image to 3d using cross-domain diffusion. arXiv preprint arXiv:2310.15008. Cited by: §III-B, §III-B.
  • [14] H. Mei, X. Yang, Y. Wang, Y. Liu, S. He, Q. Zhang, X. Wei, and R. W.H. Lau (2020) Don’t hit me! glass detection in real-world scenes. In 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Vol. , pp. 3684–3693. External Links: Document Cited by: §I, §II-A, §II-B, §IV-B1, §IV-C1, TABLE I.
  • [15] TorchMetrics - Measuring Reproducibility in PyTorch External Links: Document, Link Cited by: §IV-D1.
  • [16] A. Radford, J. W. Kim, C. Hallacy, A. Ramesh, G. Goh, S. Agarwal, G. Sastry, A. Askell, P. Mishkin, J. Clark, et al. (2021) Learning transferable visual models from natural language supervision. In International conference on machine learning, pp. 8748–8763. Cited by: §I, §III-B.
  • [17] M. Roberts, J. Ramapuram, A. Ranjan, A. Kumar, M. A. Bautista, N. Paczan, R. Webb, and J. M. Susskind (2021) Hypersim: A photorealistic synthetic dataset for holistic indoor scene understanding. In International Conference on Computer Vision (ICCV) 2021, Cited by: §I, §IV-B2.
  • [18] R. Rombach, A. Blattmann, D. Lorenz, P. Esser, and B. Ommer (2021) High-resolution image synthesis with latent diffusion models. External Links: 2112.10752 Cited by: §I.
  • [19] S. Sajjan, M. Moore, M. Pan, G. Nagaraja, J. Lee, A. Zeng, and S. Song (2020) Clear grasp: 3d shape estimation of transparent objects for manipulation. In 2020 IEEE International Conference on Robotics and Automation (ICRA), Vol. , pp. 3634–3642. External Links: Document Cited by: §II-B.
  • [20] T. Salimans and J. Ho (2022) Progressive distillation for fast sampling of diffusion models. CoRR abs/2202.00512. External Links: Link, 2202.00512 Cited by: §III-A.
  • [21] N. Silberman, D. Hoiem, P. Kohli, and R. Fergus (2012) Indoor segmentation and support inference from rgbd images. In Computer Vision – ECCV 2012, A. Fitzgibbon, S. Lazebnik, P. Perona, Y. Sato, and C. Schmid (Eds.), Berlin, Heidelberg, pp. 746–760. External Links: ISBN 978-3-642-33715-4 Cited by: §IV-C2, TABLE II.
  • [22] E. Xie, W. Wang, W. Wang, M. Ding, C. Shen, and P. Luo (2020) Segmenting transparent objects in the wild. In Computer Vision – ECCV 2020: 16th European Conference, Glasgow, UK, August 23–28, 2020, Proceedings, Part XIII, Berlin, Heidelberg, pp. 696–711. External Links: ISBN 978-3-030-58600-3, Link, Document Cited by: §I, §II-A, §II-B, §IV-B1, §IV-C1, TABLE I.
  • [23] L. Yang, B. Kang, Z. Huang, X. Xu, J. Feng, and H. Zhao (2024) Depth anything: unleashing the power of large-scale unlabeled data. In 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Vol. , pp. 10371–10381. External Links: Document Cited by: §II-C.
  • [24] L. Yang, B. Kang, Z. Huang, Z. Zhao, X. Xu, J. Feng, and H. Zhao (2024) Depth anything v2. External Links: 2406.09414, Link Cited by: §I, §II-C, §IV-D2, TABLE II, TABLE III.
  • [25] X. Zhao and S. Schwertfeger (2024-03) 3DRef: 3D Dataset and Benchmark for Reflection Detection in RGB and Lidar Data . In 2024 International Conference on 3D Vision (3DV), Vol. , Los Alamitos, CA, USA, pp. 225–234. External Links: ISSN , Document, Link Cited by: §IV-B1, §IV-C1.