Real-Time and Accurate Self-Supervised Monocular Depth Estimation on Mobile Device

Hong Cai, Fei Yin, Tushar Singhal, Sandeep Pendyam, Parham Noorzad, Yinhao Zhu, Khoi Nguyen, Janarbek Matai, Bharath Ramaswamy, Frank Mayer, Chirag Patel, Abhijit Khobare, Fatih Porikli

Executive Summary

Researchers from Qualcomm AI Research have developed a method to bring high-accuracy, self-supervised monocular depth estimation to mobile devices in real-time. By combining a novel semantic distillation technique (X-Distill) with hardware-aware Neural Architecture Search (DONNA), they achieved a 12% error reduction and reached over 30 FPS on a commercial smartphone—all without requiring expensive ground-truth depth labels for training.

The Challenge of Mobile Depth Estimation

Monocular depth estimation—the ability to predict 3D structure from a single 2D image—is a cornerstone for AR/VR, robotics, and autonomous driving. However, two major hurdles have historically limited its use on mobile devices:

  1. Data Scarcity: Traditional supervised learning requires massive amounts of high-quality ground-truth depth data (often from LiDAR), which is expensive and difficult to collect. While self-supervised methods (learning from unlabeled video) have emerged, they often struggle with accuracy in complex scenes.
  2. Computational Complexity: State-of-the-art depth models are typically too "heavy" for mobile processors. They consume too much memory and power, leading to low frame rates that make real-time applications impossible.

This paper tackles both challenges by improving training efficiency and optimizing the model architecture specifically for mobile hardware.

Core Innovations: X-Distill and DONNA

The authors introduce a two-part innovation strategy to bridge the gap between accuracy and mobile efficiency:

  • X-Distill (Semantic Enhancement): This technique leverages the fact that depth and semantic segmentation (identifying objects in a scene) share common structural features. During training, the depth network "digests" information from a pre-trained, state-of-the-art segmentation network. Crucially, this semantic information is only used during training; it adds zero computational overhead during actual use (inference).
  • DONNA (Neural Architecture Search): To solve the speed problem, the team used Distilling Optimal Neural Networks (DONNA). This is a scalable Neural Architecture Search (NAS) method that searches for the best model structure by directly measuring latency on the target hardware (in this case, a Snapdragon-powered smartphone).
  • Quantization: To further boost performance, the final models were quantized to 8-bit precision using the AI Model Efficiency Toolkit (AIMET), allowing them to run efficiently on mobile NPUs/GPUs.

Evaluation Methodology

The researchers evaluated their approach using the KITTI Eigen split, a standard benchmark in the computer vision community for outdoor driving scenes. They compared their results against established baselines like Monodepth2 and heavy-duty models like PackNet.

Key Insights

  • Semantics as a "Free" Teacher: The most significant "aha" moment is that semantic boundaries often align with depth discontinuities (e.g., the edge of a car is also where the depth changes). By forcing the depth model to learn these semantic cues during training via X-Distill, the authors achieved a 12% reduction in squared relative error.
  • Hardware-Awareness is Non-Negotiable: Standard architectures like ResNet50 are not optimized for mobile pipelines. By using NAS (DONNA) to find a hardware-friendly backbone, they reduced the model size by a staggering 88% while maintaining high accuracy.
  • Quantization Resilience: The paper demonstrates that self-supervised depth models can maintain their accuracy even after 8-bit quantization, which is vital for real-world mobile deployment.

Performance and Visual Results

The quantitative results highlight the impressive trade-offs between accuracy and speed achieved by the proposed pipeline:

  • Accuracy Boost: Applying X-Distill to a ResNet50 backbone improved the squared relative error from 0.83 to 0.69.
  • Efficiency Gains: The DONNA-optimized model reduced parameters from 32M to just 3.7M.
  • Real-Time Performance: On a commercial smartphone, the quantized DONNA model achieved 35 FPS, compared to 23 FPS for the standard ResNet50 version.
Quantitative performance evaluation on the KITTI Eigen split.

Qualitatively, the X-Distill method significantly improved depth predictions around objects. As seen in the visual comparisons below, the baseline Monodepth2 often "misses" parts of cars or falsely detects obstacles, whereas the proposed solution provides much cleaner, more accurate depth maps.

Visual comparison showing X-Distill correcting baseline errors.

Limitations and Future Directions

While the paper demonstrates impressive real-time performance on mobile, a few areas remain for exploration:

  • Generalization: The results are primarily shown on the KITTI dataset (driving scenes). How these models perform in diverse indoor environments or highly dynamic urban settings remains to be seen.
  • Scale Ambiguity: Like most monocular methods, the system predicts relative depth. Integrating this with other sensors (like IMUs) to achieve absolute metric depth on mobile would be a logical next step.
  • Training Complexity: While inference is fast, the training process involves a multi-stage distillation and NAS pipeline, which requires significant upfront compute.

Summary updated

BibTeX
@inproceedings{cai2021real,
  author = {Hong Cai and Fei Yin and Tushar Singhal and Sandeep Pendyam and Parham Noorzad and Yinhao Zhu and Khoi Nguyen and Janarbek Matai and Bharath Ramaswamy and Frank Mayer and Chirag Patel and Abhijit Khobare and Fatih Porikli},
  title = {{Real-Time and Accurate Self-Supervised Monocular Depth Estimation on Mobile Device}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
}
Figure