NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Towards Comprehensive Monocular Depth Estimation: Multiple Heads are Better Than One

Shuwei Shao, Ran Li, Zhongcai Pei, Zhong Liu, Weihai Chen, Wentao Zhu, Xingming Wu, Baochang Zhang

Monocular depth estimation (MDE)—the art of predicting 3D depth from a single 2D image—is a classic "ill-posed" problem in computer vision. While deep learning has made massive strides, even the best models have "blind spots." A new paper, Towards Comprehensive Monocular Depth Estimation: Multiple Heads Are Better Than One, introduces TEDepth, a framework that proves that combining different neural "personalities" can lead to much more reliable depth maps.

TL;DR

TEDepth (Transformer-assisted depth ensembles) integrates the complementary strengths of Convolutional Neural Networks (CNNs) and Transformers to create a superior depth predictor. By fusing multiple "weak" predictors that fail in different ways, the system achieves new state-of-the-art results and shows remarkable generalizability across different camera types.

What Problem Does This Paper Address?

The authors observed a curious phenomenon: existing state-of-the-art models often fail in completely different ways on the same image. For example, a CNN-based model might capture sharp object boundaries but struggle with global scene consistency, while a Transformer-based model might understand the overall layout but "blur" the edges of a chair armrest.

This is known as asymmetric depth error. Because different architectures have different inductive biases (how they "prefer" to look at data), they develop different blind spots. The challenge is how to systematically combine these models so that the strengths of one compensate for the weaknesses of another.

Methods

The authors propose a two-level ensemble scheme called TEDepth:

  1. Level 0 (Base Predictors): Instead of using identical models, they use a diverse set of encoders. They pick CNNs (like ResNet and DenseNet) for their ability to preserve local, high-frequency details and Transformers (like ViT and Conformer) for their ability to model long-range, global correlations.
  2. Level 1 (The Mixer): Rather than just averaging the final depth maps, the authors fuse the penultimate feature maps. These multi-channel maps contain much richer information than a single-channel depth image. They tested four types of mixers:
  3. Uniformly weighted fusion (simple averaging).
  4. Confidence-guided fusion (learning where to trust each model).
  5. Concatenation-based fusion.
  6. Ranking-based fusion: Using a Convolutional Gated Recurrent Unit (ConvGRU) to iteratively refine the depth estimate by feeding in predictions in order of their individual accuracy.

To ensure the "heads" remained diverse, the models were trained independently on a subset of the data, preventing them from co-adapting and simply mimicking each other's mistakes.

Datasets

The model was rigorously tested on:

  • NYU-Depth-v2: A standard indoor dataset with 120K RGB-depth pairs.
  • KITTI: A massive outdoor driving dataset.
  • SUN RGB-D: Used specifically to test generalization. The authors took a model trained on NYU and tested it on SUN RGB-D without any fine-tuning to see how it handled "unseen" camera sensors.

Key Insights and Ideas

  • CNNs + Transformers = The Dream Team: The most important finding is that an ensemble of one CNN and one Transformer outperforms an ensemble of two CNNs. Their errors are less correlated, making the "fusion" much more effective.
  • The Law of Diminishing Returns: Adding more and more models doesn't always help. The authors found that the biggest jump in accuracy happens when moving from one to two or three base predictors. Beyond that, the computational cost (FLOPs and parameters) increases significantly while accuracy gains plateau.
  • Feature Fusion > Map Fusion: Fusing the internal "thoughts" (feature maps) of the networks is far more effective than just averaging their final "answers" (depth maps).
  • Global Context vs. Local Detail: Transformers excel when ground-truth data is dense (like NYU), as they can fill in gaps using global context. CNNs tend to perform better on sparse data (like KITTI) where local spatial cues are more reliable.

Key Results

TEDepth achieved state-of-the-art performance across the board:

  • Accuracy: On NYU-Depth-v2, it reduced the Absolute Relative Error (Abs Rel) to 0.100 and the RMSE to 0.349, outperforming previous heavyweights like BTS and TransDepth.
  • Visual Quality: Qualitative results show much sharper object boundaries and better handling of "thin" structures like signposts and chair legs that usually disappear in depth maps.
  • Generalization: When moved to the SUN RGB-D dataset without fine-tuning, TEDepth maintained high accuracy, proving it learns transferable geometric features rather than just memorizing the training set.

Limitations and Future Work

The primary trade-off for this "Multiple Heads" approach is computational complexity. Running multiple encoders in parallel increases the number of parameters and FLOPs, which might make real-time deployment on mobile devices challenging.

The authors suggest that future work could explore more efficient ways to achieve this diversity or apply this ensemble philosophy to related tasks like surface normal prediction or semantic segmentation.

Reference: Shao, S., Li, R., et al. "Towards Comprehensive Monocular Depth Estimation: Multiple Heads Are Better Than One." IEEE Transactions on Multimedia, 2022.

Summary updated

BibTeX
@article{shao2023towards,
  author = {Shuwei Shao and Ran Li and Zhongcai Pei and Zhong Liu and Weihai Chen and Wentao Zhu and Xingming Wu and Baochang Zhang},
  title = {{Towards Comprehensive Monocular Depth Estimation: Multiple Heads are Better Than One}},
  journal = {IEEE Trans. Multimedia},
  year = {2023},
  url = {https://openreview.net/forum?id=fu1PpTbUJeK},
}
Figure