Spectral-Guided Lightweight Depth Estimation

A 1.3M-parameter monocular depth model that adapts the EAGLE spectral object-discovery framework to CNNs, recovering sharp object boundaries without large-scale pretraining.

Code on GitHub · Computational Intelligence Lab, ETH Zürich (spring 2026)

Group members (equal contribution): Yifei Han, Mina Spasojevic, Ruchitraa Rajagopal and Omkar Nitsure.

Foundation models deliver high-fidelity monocular depth estimation, but their computational cost rules out edge deployment; lightweight models, in turn, suffer from “depth bleeding” at occlusion boundaries owing to their limited receptive fields. We present a compact 1.3M-parameter framework that recovers sharp object boundaries without large-scale pretraining, thus outperforming lightweight depth model baselines by up to 20.5% in SI-RMSE on standard benchmarks. To our knowledge, this is the first adaptation of EAGLE — a spectral object-discovery framework designed for Transformers — to convolutional backbones: Atrous Spatial Pyramid Pooling (ASPP) restores the wide receptive field that accurate spectral affinity demands, and an eigen-guided decoder folds the discovered object structure into the upsampling path to suppress bleeding. Despite its size, our model stays competitive with far larger architectures across KITTI, NYU Depth V2, and ETH3D.

Introduction

Foundation models like Depth Anything [1] and Depth Pro [2] have revolutionized Monocular Depth Estimation (MDE) by leveraging self-supervised features [3] to achieve unprecedented zero-shot robustness. However, their massive parameter counts render them incompatible with resource-constrained edge applications like mobile robotics. Lightweight CNNs offer computational efficiency but lack the global receptive fields necessary for consistent scene geometry, and their reliance on raw RGB gradients inherently conflates physical object boundaries with superficial textures, causing severe “depth bleeding.”

Tackling the challenges of sparse, zero-masked datasets, we find that complex physical priors introduce optimization bottlenecks. Instead, we propose a lightweight convolutional framework that adapts EAGLE [4] to CNNs via ASPP [5], using an eigen-guided decoder to suppress boundary bleeding and a within-cluster consistency loss to encourage piecewise-planar geometry.

Our primary contributions are:

  • A compact 1.3M-parameter backbone tailored for resource-constrained edge environments, demonstrating that high-fidelity geometric estimation can be achieved without the massive memory footprint of foundation models.
  • The re-conceptualization of EAGLE from Transformer-based segmentation to convolutional supervised regression, enabling boundary precision typically reserved for massive foundation models.
  • Demonstration of Virtual Normal (VN) loss [6] as a vital geometric regularizer that enhances the “depth flow” across the scene, ensuring that predicted surfaces maintain consistent 3D topology and global structural coherence.
  • Multi-benchmark evaluation and ablation confirming spectral-guided upsampling as the critical factor in eliminating depth bleeding.

Motivation

Our final MobileNet [7] + ASPP + EAGLE design emerged from a systematic study of depth-estimation paradigms. We first targeted scale ambiguity [8] by predicting spatial derivatives from a frozen DINOv2 [3] backbone and integrating them with a differentiable FFT Poisson solver [9]; because FFT integration acts as a low-pass filter, it blurred the high-frequency occlusion boundaries we cared about.

Direct regression with a \(1\times1\) MLP decoder under photometric priors — Shape-from-Shading (SfS) [10] and edge-aware smoothness [11] — fared no better. Lacking spatial context, the decoder collapsed into a “texture copier” that mapped RGB luminance straight to depth, while unknown albedos and uncontrolled lighting violated the core SfS assumptions and destabilised training.

Finally, a Dense Prediction Transformer (DPT) decoder [12] sharpened spatial detail, but inverting the dataset’s native disparity labels into metric depth at inference distorted the log-error distribution of the SI-RMSE objective [8], reversing spatial polarity so that the sky was predicted as the nearest surface. These failures motivate our final formulation, which discards auxiliary physics priors in favour of normalised disparity regression and spectral clustering via EAGLE.

The EAGLE Depth Framework

We now describe the proposed EAGLEDepthModel, a unified architecture that couples a hierarchical encoder with self-supervised spectral object discovery and a multi-scale depth decoder. An overview is provided in Figure 1.

Architecture of the EAGLEDepthModel: encoder stages, EigenAggregation Modules, depth decode head with ASPP, and the loss terms
Figure 1: Overview of the EAGLEDepthModel architecture.

Data Pre-processing

Upon inspection of the ground-truth data visualized as a pointcloud, we realized that it is very noisy. The noise resembled air-contamination from a LiDAR scanner, so we used DROR [13] (Dynamic Radius Outlier Removal), which takes into account that the farther away the datapoints are, the more we expect them to be spread out. The exact parameters used can be found in our code.

Ground-truth point clouds with the outliers found by DROR filtering marked in red
Figure 2: Impact of DROR filtering on the raw ground-truth data. The algorithm identifies the points shown in red as outliers to be removed.

Overall Architecture

Given an input RGB image \(\mathbf{I} \in \mathbb{R}^{B \times 3 \times H \times W}\) normalised to ImageNet statistics, a shared encoder produces four hierarchical feature maps \(\{\mathbf{h}_s\}_{s=0}^{3}\) at progressively coarser spatial resolutions. Our primary backbone is MobileNetV3-Small, a depthwise-separable convolutional network whose full depth pipeline contains only 1.3M parameters — orders of magnitude smaller than foundation-model decoders — making it our target for edge deployment. To probe how the framework scales with capacity, we additionally evaluate the heavier ResNet-34 [14] backbone (widths \((64, 128, 256, 512)\)). In all cases the encoder is initialised from ImageNet-pretrained weights and fine-tuned at a reduced learning rate \(\gamma\,\eta\) (default \(\gamma = 0.1\)).

EigenAggregation Module

At a subset of encoder stages \(\mathcal{S}=\{2,3\}\), we attach an EigenAggregation Module (EAM) that produces a spectral partition of the scene without any additional labelled supervision. Let \(\mathbf{h}_s \in \mathbb{R}^{B \times C_s \times H_s \times W_s}\) be the stage-\(s\) feature map, and let \(\mathbf{I}_s \in \mathbb{R}^{B \times 3 \times H_s \times W_s}\) be the RGB image spatially down-sampled to match. Setting \(N_s = H_s W_s\), the EAM constructs a pixel-graph affinity matrix \(\mathbf{W} \in \mathbb{R}^{N_s \times N_s}\) by combining feature cosine similarity with colour-guided spatial proximity, governed by a bandwidth parameter \(\sigma_\text{color} = 0.2\). The symmetric normalised graph Laplacian is then

\[\mathbf{L} = \mathbf{D}^{-1/2} \bigl(\mathbf{D} - \mathbf{W}\bigr) \mathbf{D}^{-1/2},\]

where \(\mathbf{D}\) is the degree matrix. The \(k\) smallest non-trivial eigenvectors \(\mathbf{U} \in \mathbb{R}^{N_s \times k}\) are obtained via a symmetric eigendecomposition. These eigenvectors encode the global topological partition of the scene and are projected through a lightweight MLP to produce \(n_c\) soft cluster logits \(\mathbf{G}_s \in \mathbb{R}^{B \times n_c \times H_s \times W_s}\). The affinity feature for stage \(s\) is enriched by concatenating and projecting features from preceding stages \(\{s-2, s-1, s\}\), providing multi-scale context and improving cluster coherence across resolution boundaries.

Depth Decode Head

The decoder follows a feature-pyramid design [12]. Each stage feature \(\mathbf{h}_s\) is projected to a common width \(D=256\) channels: stages \(s \in \{0,1,2\}\) use a linear projection, while stage 3 is processed by an Atrous Spatial Pyramid Pooling (ASPP) module with dilation rates \((2,4,6)\), a global average-pooling branch, and a \(1\times1\) projection, totalling five parallel branches. All projected maps are bilinearly up-sampled to the finest encoder resolution \(H/4 \times W/4\) and concatenated into a \(4D\)-channel tensor. A \(1\times1\) convolution, batch normalisation, ReLU activation, and dropout (\(p=0.1\)) reduce this to a \(D\)-channel representation, which is mapped to a single-channel output by a \(1\times1\) head, up-sampled to full resolution \((H\times W)\), and passed through a SoftPlus activation to guarantee positivity:

\[\hat{d} = \log\bigl(1 + e^{f(\mathbf{h}_0,\ldots,\mathbf{h}_3)}\bigr) \geq 0.\]
The four leading EAGLE eigenvectors and their discrete cluster assignments at two spatial resolutions
Figure 3: Four leading EAGLE computed eigenvectors, and their discrete cluster assignments. Top: 16 × 16 spatial resolution (stride s = 32). Bottom: 32 × 32 spatial resolution (stride s = 16).

Training Algorithm

All models are optimised with AdamW [15] (\(\beta_1=0.9\), \(\beta_2=0.999\), \(\varepsilon=10^{-8}\), weight decay \(\lambda=0.01\)). A cosine annealing schedule with a linear warmup of 5% training steps is used. The depth head and all EAMs are always trained at the base learning rate \(\eta\), while encoder fine-tuning uses a reduced rate \(\gamma\,\eta\) (\(\gamma=0.1\)).

Training employs gradient accumulation over \(N_\text{accum}=2\) micro-batches to minimize memory cost. Gradient norms are clipped to a maximum of 1.0 to stabilise early-stage EAM training, where eigendecomposition gradients can be large. Input images are upsampled to \(576\times576\) pixels. Data augmentation during training consists of random horizontal flips (probability 0.5) and per-image colour jitter with brightness and per-channel contrast perturbations of ±20% (probability 0.5); no augmentation is applied at evaluation time. We use ImageNet-pretrained encoder weights as initialization.

Loss Functions

The model is trained with a weighted sum of a depth-regression term, the two spectral-clustering objectives, and a virtual-normal term:

\[\mathcal{L}_{total} = \lambda_{silog}\mathcal{L}_{silog} + \lambda_{wc}\mathcal{L}_{wc} + \lambda_{eig}\mathcal{L}_{eig} + \lambda_{vn}\mathcal{L}_{vn}\]

where \(\lambda_{silog}=1.0\), \(\lambda_{wc}=0.1\), \(\lambda_{eig}=0.05\), and \(\lambda_{vn}=5.0\). The EAGLE-specific losses are enabled only when the EigenAggregationModule is active.

Scale-Invariant Logarithmic Loss

The primary supervision objective is the standard Scale-Invariant Logarithmic (SILog) loss [8], which operates in log-depth space to reduce sensitivity to global scale variations between scenes. We compute \(\mathcal{L}_{silog}\) over valid pixels where both predicted and ground-truth depth values are finite and exceed \(10^{-3}\). Images with fewer than 100 valid pixels are ignored during training.

Eigen Cluster Loss

When EAGLE is enabled, the EigenAggregationModule produces soft cluster-assignment logits through spectral decomposition. These logits are regularized using the eigencluster loss:

\[\mathcal{L}_{eig} = -\frac{1}{N} \sum_{i=1}^{N} \sum_{c=1}^{C} \Psi_{ic}\, P_{ic}, \qquad \Psi_{ic} = \operatorname{softmax}(P_{ic})\]

Here, \(P_{ic}\) denotes the cluster-assignment logits for pixel \(i\) and cluster \(c\), while \(\Psi_{ic}\) represents the corresponding soft assignment probability. This formulation encourages confident and non-degenerate cluster assignments in training.

Within-Cluster Consistency Loss

To connect spectral segmentation with geometric depth estimation, a within-cluster consistency loss is introduced. The loss computes the soft-assignment-weighted variance of predicted depth values inside each cluster:

\[\mathcal{L}_{wc} = \frac{1}{C} \sum_{c=1}^{C} \frac{\sum_{i=1}^{N} \Psi_{ic}\, m_i \left( \hat{d}_i - \frac{\sum_j \Psi_{jc}\, m_j\, \hat{d}_j}{\sum_j \Psi_{jc}\, m_j} \right)^2}{\sum_{i=1}^{N} \Psi_{ic}\, m_i}\]

Here, \(\hat{d}_i\) denotes the predicted depth value, \(\Psi_{ic}\) is the soft cluster assignment obtained from the logits, and \(m_i\) is the validity mask for depth supervision.

Virtual Normal Loss

To ensure that geometric structure is preserved, the virtual normal loss is used. We sample \(N=1024\) random point triplets, back-project each vertex to 3D using the dataset FOV, and penalise the angular disagreement between the triangle normals of the predicted and ground-truth surfaces:

\[\mathcal{L}_{\text{VN}} = \frac{1}{N} \sum_{i=1}^{N} \left( 1 - \bigl\lvert \langle \mathbf{n}_i^{\text{pred}}, \mathbf{n}_i^{\text{gt}} \rangle \bigr\rvert \right)\]

where

\[\mathbf{n}_i = \frac{(P_B - P_A) \times (P_C - P_A)}{\lVert (P_B - P_A) \times (P_C - P_A) \rVert}\]

and \(P_A, P_B, P_C\) are the three sampled vertices. The absolute cosine makes the loss invariant to triangle orientation; degenerate triplets (3D edge norm below threshold) are discarded.

Experiments and Results

Benchmarks

We evaluate our models on the KITTI, NYU Depth V2 [16], and ETH3D [17] benchmark datasets using SILog, AbsRel, and threshold accuracy (\(\delta_1\)). KITTI is an outdoor driving dataset evaluated on the standard Eigen split [8] containing 697 test image pairs, while NYU Depth V2 consists of 654 indoor RGB-D test images. ETH3D contains 689 indoor and outdoor RGB-D image pairs captured under varying scene conditions. Evaluation is performed using the standard Eigen crop on valid depth pixels, with affine alignment applied before metric computation for fair comparison across models.

Model KITTI NYU v2 ETH3D
SILog ↓ AbsRel ↓ δ1 ↑ SILog ↓ AbsRel ↓ δ1 ↑ SILog ↓ AbsRel ↓ δ1 ↑
ResNet34 (pretrained) 0.3684 0.2782 0.5075 0.2788 0.2398 0.6343 0.3308 0.291 0.6167
ResNet34 + ASPP + Eagle + VNLoss 0.3498 0.2564 0.5478 0.3983 0.2755 0.5890 0.3093 0.2584 0.6536
MobileNet V3 (pretrained) 0.4459 0.3248 0.4399 0.3439 0.2962 0.5571 0.3728 0.3038 0.5858
MobileNet V3 + ASPP + Eagle + VNLoss (ours) 0.4192 0.3169 0.4381 0.2732 0.2323 0.6415 0.3296 0.2801 0.6262
Segformer B0 (pretrained) 0.4093 0.3199 0.4331 0.3283 0.3066 0.5351 0.3505 0.2918 0.5949
Segformer + Eagle + VNLoss 0.3737 0.2791 0.4996 0.3049 0.2708 0.583 0.3102 0.2647 0.6519
MobileVit XXS (pretrained) 0.4305 0.3340 0.4287 0.2877 0.2515 0.6188 0.3758 0.3186 0.5757
MobileVit XXS + Eagle + VNLoss 0.4161 0.3144 0.4485 0.3072 0.2424 0.6305 0.3491 0.3087 0.5968
Depth-Anything-V2-Large 0.9018 0.074 0.946 0.5695 0.0363 0.9786 0.9857 0.1903 0.723
Table 1: Benchmark evaluations of CNN-based and Transformer-based architectures on KITTI, NYU v2, and ETH3D.

Table 1 shows that adding ASPP, Eagle, and VNLoss improves SILog and AbsRel on KITTI and ETH3D for all four backbones, both CNN-based and Transformer-based, and on NYU Depth V2 for MobileNet V3 and SegFormer B0. The KITTI scores are comparatively lower as the models were not specifically trained on driving data. Among the CNN models, ResNet34 + ASPP + Eagle + VNLoss achieves the best results on KITTI and ETH3D, while MobileNet V3 + ASPP + Eagle + VNLoss demonstrates notable improvements over the baseline MobileNet variants. Similarly, Transformer-based models such as SegFormer B0 and MobileViT XXS also benefit from these enhancements.

Ablation Study

Model SiRMSE score
ResNet34 (pretrained) 0.548
ResNet34 + ASPP 0.544
ResNet34 + ASPP + Eagle 0.541
ResNet34 + ASPP + Eagle + VNLoss 0.540
MobileNet V3 (pretrained) 0.539
MobileNet V3 + ASPP 0.542
MobileNet V3 + ASPP + Eagle 0.545
MobileNet V3 + ASPP + Eagle + VNLoss (ours) 0.545
Segformer B0 (pretrained) 0.545
Segformer B0 + Eagle 0.541
Segformer B0 + Eagle + VNLoss 0.542
MobileVit XXS (pretrained) 0.555
MobileVit XXS + Eagle 0.549
MobileVit XXS + Eagle + VNLoss 0.571
Depth-Anything-V2-Large 0.592
Table 2: Kaggle SiRMSE scores.

Table 2 demonstrates the contribution of each proposed component. For ResNet34, the SiRMSE score improves with each added component (from 0.548 to 0.540), and adding Eagle also improves the scores of SegFormer B0 and MobileViT XXS, showing the effectiveness of the spectral guidance. Our final model, MobileNet V3 + ASPP + Eagle + VNLoss, achieves a SiRMSE of 0.545, remaining competitive with larger SOTA models such as Depth-Anything-V2-Large with LoRA (0.498), despite using significantly fewer parameters and no large-scale pretraining. Data cleaning proved foundational. Raw LiDAR noise otherwise biased geometric losses. DROR filtering removes outliers, enabling virtual normal and consistency losses to supervise authentic structures and rectify planar geometry (Figure 5).

Qualitative Results

Figure 4 compares the ground truth depth map with the outputs of the pretrained MobileNetV3 baseline and our final MobileNetV3 + ASPP + Eagle + VNLoss model. The final model produces sharper object boundaries, smoother planar regions, and improved structural consistency, demonstrating the effectiveness of the proposed enhancements over the pretrained baseline. The proposed enhancements can be seen in Figure 5.

Depth maps: ground truth, pretrained MobileNetV3 and the final MobileNetV3 + ASPP + Eagle + VNLoss model
Figure 4: Ground truth vs pretrained model vs final model depth map for MobileNet.

Conclusion

We presented a 1.3M-parameter depth framework that adapts EAGLE spectral clustering to CNN backbones through ASPP and an eigen-guided decoder, regularised by within-cluster consistency and virtual-normal losses. Ablations on KITTI, NYU Depth V2, and ETH3D show that each component incrementally reduces depth bleeding and improves geometric consistency, and the full MobileNetV3 + ASPP + Eagle + VNLoss model stays competitive with far larger architectures such as DA3Mono-Large despite its small footprint. These results indicate that spectral boundary priors can be distilled into an edge-deployable CNN, linking unsupervised scene structure with efficient supervised depth regression.

Appendix

A. Scratch and intermediate model architectures

For completeness, Table 3 also includes scratch and intermediate variants across both CNN and Transformer backbones. The results show clear improvements over the scratch models with the addition of ASPP and EAGLE, demonstrating that the proposed spectral guidance framework generalizes effectively across different architectural families.

Model KITTI NYU v2 ETH3D
SILog ↓ AbsRel ↓ δ1 ↑ SILog ↓ AbsRel ↓ δ1 ↑ SILog ↓ AbsRel ↓ δ1 ↑
UNet (scratch) 0.7103 0.6345 0.2571 0.3372 0.3188 0.5243 0.6023 0.3606 0.5265
ResNet18 (scratch) 0.5007 0.3698 0.3926 0.3284 0.2887 0.5654 0.4445 0.3354 0.5516
ResNet34 (scratch) 0.5057 0.3521 0.3880 0.3428 0.3015 0.5454 0.4194 0.3361 0.5462
ResNet50 (scratch) 0.5312 0.3693 0.3755 0.3295 0.2933 0.5539 0.4503 0.3445 0.5371
ResNet34 + ASPP 0.3563 0.2762 0.5144 0.2794 0.2336 0.6353 0.3126 0.2641 0.6468
ResNet34 + ASPP + Eagle 0.3483 0.2654 0.5323 0.2761 0.2310 0.6434 0.3123 0.2655 0.6469
MobileNet V3 (scratch) 0.4586 0.3460 0.4011 0.4054 0.2887 0.5734 0.3769 0.3327 0.5604
MobileNet V3 + ASPP 0.4269 0.3339 0.4197 0.3234 0.3025 0.5462 0.3315 0.2745 0.6303
MobileNet V3 + ASPP + Eagle 0.4181 0.3333 0.4204 0.3279 0.3037 0.5497 0.3310 0.2663 0.6380
Segformer B0 (scratch) 0.5366 0.3794 0.3533 0.4881 0.3037 0.5466 0.3760 0.3484 0.5337
Segformer B0 + Eagle 0.4051 0.3172 0.4421 0.3233 0.3015 0.5439 0.3470 0.2931 0.5954
MobileVit XXS (scratch) 0.5229 0.3567 0.3834 0.4198 0.2754 0.5889 0.3715 0.3228 0.5766
MobileVit XXS + Eagle 0.4359 0.3351 0.4247 0.2837 0.2531 0.6162 0.3745 0.3195 0.5737
Table 3: Performance comparison of scratch and intermediate model variants across KITTI, NYU v2, and ETH3D datasets.

B. Kaggle Leaderboard Results

Model SiRMSE score
MobileNet V3 + ASPP + Eagle + VNLoss 0.545
Marigold 0.715
MiDaS 3.1 DPT + Full SFT 0.510
Depth Pro 0.496
Depth-Anything-V2-Large 0.592
Depth-Anything-V2-Large + LoRA 0.498
DA3Mono-Large 0.495
DA3Mono-Large + LoRA 0.483
Table 4: Performance of our model vs SOTA models on Kaggle SiRMSE scores.

Despite its significantly smaller parameter count, our MobileNet V3 + ASPP + Eagle + VNLoss model achieves competitive SiRMSE scores relative to state-of-the-art models. Notably, large foundation models such as Marigold (0.715) and Depth-Anything-V2-Large (0.592) are outperformed, while our model remains within a narrow margin of heavily fine-tuned variants like DA3Mono-Large + LoRA (0.483).

C. Impact of Data Cleaning

Point clouds of model outputs before and after data cleaning
Figure 5: Comparison of model outputs before (left) and after (right) data cleaning.

Figure 5 illustrates the impact of data cleaning on model output. While the depth map before cleaning may appear acceptable from a frontal view, the point cloud reveals curved and distorted structural lines. After applying our cleaning pipeline, these lines become straight and geometrically consistent.

D. Training and Validation Loss

Training and validation loss curves of ResNet34, SegFormer and MobileViT
Figure 6: Training and validation loss comparison of ResNet34, MobileSegFormer, and MobileVit models.

All models in Figure 6 demonstrate a consistent decrease in both training and validation loss, indicating stable learning and convergence. Among the three models, ResNet34 achieves the lowest final validation loss, while SegFormer and MViT exhibit comparatively higher loss values throughout training. The close alignment between training and validation curves suggests limited overfitting across all models. The loss combines SILog, within-cluster, eigenvalue clustering, and virtual normal terms. Ranking loss and edge-aware smoothness loss were also explored but did not yield significant performance improvements.

E. Depth Maps

Depth maps predicted by the Transformer models
Figure 7: Depth map for Transformer models.
Depth maps predicted by the CNN models
Figure 8: Depth map for CNN models.

F. Extended Discussion on Exploratory Paradigms

This section provides a detailed technical post-mortem of the exploratory architectures summarized in the Motivation section. These experiments were instrumental in identifying the instabilities that arise when enforcing traditional computer vision priors on modern, high-capacity backbones.

Low-Pass Filtering in Differential Integration

Our initial attempt to solve scale ambiguity utilized a differentiable FFT-based Poisson solver [9] to reconstruct depth from predicted spatial derivatives. While this approach is theoretically elegant for surface reconstruction, the integration process \(\mathcal{F}^{-1}\left\{\frac{\mathcal{F}(\nabla \pi)}{\mathbf{k}}\right\}\) (where \(\mathbf{k}\) represents frequency coordinates) acts as an inherent low-pass filter.

In practice, this suppressed the high-frequency components of the gradient field, leading to two specific failure modes: (1) Boundary Softening: Occlusion boundaries between foreground objects and the background were smoothed, destroying the geometric “crispness” required for 3D tasks. (2) Global Drift: Small errors in derivative predictions accumulated during integration, causing low-frequency “bowing” artifacts across large planar surfaces.

Photometric Instability and the Receptive Field

The failure of the \(1\times1\) MLP decoder under Shape-from-Shading (SfS) [10] and smoothness [11] constraints highlighted the necessity of a wide receptive field. We observed that:

  • Texture Copying: Without spatial context, the model minimized the edge-aware smoothness loss by simply aligning depth discontinuities with RGB gradients. In regions of high texture (e.g., a patterned wall), the model erroneously predicted deep geometric grooves, effectively “copying” the image luminance into the depth map.
  • SfS Assumption Violations: SfS typically assumes a Lambertian surface and a single point light source at infinity. Real-world scenes with complex inter-reflections, shadows, and varying albedos produced gradients that contradicted the geometric ground truth, leading to divergent optimization.

Metric Inversion and SI-RMSE Instability

The most significant failure occurred when using a DPT decoder [12] to predict metric depth from disparity-labeled datasets. Monocular datasets often provide ground truth as disparity \(g_{disp} \propto 1/g_{depth}\). We found that attempting to supervise the model in metric space while using the Scale-Invariant Logarithmic (SILog) loss [8] introduced a fatal non-linearity.

Because SILog operates in log-space, the gradient \(\frac{\partial \mathcal{L}}{\partial \pi}\) becomes extremely sensitive to small values. Near-zero disparity values (representing the horizon or sky) resulted in massive, unstable gradients when inverted into metric depth. This caused the “spatial polarity reversal” mentioned in the Motivation section, where the optimizer found a local minimum by treating the furthest points as the nearest, as this configuration paradoxically minimized the logarithmic variance in the early stages of training.

Architectural Trade-offs: CNN vs. ViT

Our move to a ResNet backbone with ASPP was a deliberate choice to avoid the “blocky” artifacts seen in lightweight Vision Transformers like SegFormer. While ViTs provide excellent global context, their patch-based tokenization (e.g., \(4\times4\) or \(8\times8\) patches) often results in “staircase” effects along diagonal edges. Our final ResNet + ASPP + EAGLE synthesis maintains the per-pixel smoothness of a CNN while using EAGLE’s spectral clustering to recover the global semantic consistency and sharp boundaries typically only seen in much larger foundation models.

G. Pointcloud comparison

Point clouds of the predicted depth as each model component is added
Figure 9: We can see how gradually the surface distortion of the predicted depth is smoothed out when we add each component on top of each other.

References

[1] L. Yang, B. Kang, Z. Huang, Z. Zhao, X. Xu, J. Feng, and H. Zhao, “Depth Anything V2,” in Advances in Neural Information Processing Systems, 2024.

[2] A. Bochkovskii, A. Delaunoy, H. Germain, M. Santos, et al., “Depth Pro: Sharp monocular metric depth in less than a second,” arXiv:2410.02073, 2024.

[3] M. Oquab, T. Darcet, T. Moutakanni, H. Vo, et al., “DINOv2: Learning robust visual features without supervision,” arXiv:2304.07193, 2023.

[4] C. Kim, W. Han, D. Ju, and S. J. Hwang, “EAGLE: Eigen aggregation learning for object-centric unsupervised semantic segmentation,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2024.

[5] L.-C. Chen, G. Papandreou, F. Schroff, and H. Adam, “Rethinking atrous convolution for semantic image segmentation,” arXiv:1706.05587, 2017.

[6] W. Yin, Y. Liu, C. Shen, and Y. Yan, “Enforcing geometric constraints of virtual normal for depth prediction,” in Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), 2019.

[7] A. G. Howard, M. Zhu, B. Chen, D. Kalenichenko, W. Wang, T. Weyand, M. Andreetto, and H. Adam, “MobileNets: Efficient convolutional neural networks for mobile vision applications,” arXiv:1704.04861, 2017.

[8] D. Eigen, C. Puhrsch, and R. Fergus, “Depth map prediction from a single image using a multi-scale deep network,” in Advances in Neural Information Processing Systems (NeurIPS), 2014.

[9] R. T. Frankot and R. Chellappa, “A method for enforcing integrability in shape from shading algorithms,” IEEE Transactions on Pattern Analysis and Machine Intelligence, 1988.

[10] B. K. P. Horn, “Height and gradient from shading,” International Journal of Computer Vision, 1989.

[11] C. Godard, O. Mac Aodha, and G. J. Brostow, “Unsupervised monocular depth estimation with left-right consistency,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2017.

[12] R. Ranftl, A. Bochkovskiy, and V. Koltun, “Vision transformers for dense prediction,” in Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), 2021.

[13] N. Charron, S. Phillips, and S. L. Waslander, “De-noising of LiDAR point clouds corrupted by snowfall,” in 15th Conference on Computer and Robot Vision (CRV), 2018.

[14] K. He, X. Zhang, S. Ren, and J. Sun, “Deep residual learning for image recognition,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2016.

[15] I. Loshchilov and F. Hutter, “Decoupled weight decay regularization,” arXiv:1711.05101, 2017.

[16] N. Silberman, D. Hoiem, P. Kohli, and R. Fergus, “Indoor segmentation and support inference from RGBD images,” in European Conference on Computer Vision (ECCV), 2012.

[17] T. Schöps, J. L. Schönberger, S. Galliani, T. Sattler, K. Schindler, M. Pollefeys, and A. Geiger, “A multi-view stereo benchmark with high-resolution images and multi-camera videos,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2017.