Skip to main content
QUICK REVIEW

[Paper Review] Fast and Accurate Single-Image Depth Estimation on Mobile Devices, Mobile AI 2021 Challenge: Report

Andrey Ignatov, Grigory Malivenko|arXiv (Cornell University)|May 17, 2021
Advanced Vision and ImagingComputer Science67 references13 citations
TL;DR

This paper presents the Mobile AI 2021 challenge for single-image depth estimation, introducing a large-scale RGB-depth dataset captured with a ZED stereo camera and targeting real-time inference on mobile devices. Participants developed efficient, TensorFlow Lite-compatible models that achieve up to 10 FPS on Raspberry Pi 4 while maintaining high accuracy, demonstrating practical deployment of depth estimation on resource-constrained hardware.

ABSTRACT

Depth estimation is an important computer vision problem with many practical applications to mobile devices. While many solutions have been proposed for this task, they are usually very computationally expensive and thus are not applicable for on-device inference. To address this problem, we introduce the first Mobile AI challenge, where the target is to develop an end-to-end deep learning-based depth estimation solutions that can demonstrate a nearly real-time performance on smartphones and IoT platforms. For this, the participants were provided with a new large-scale dataset containing RGB-depth image pairs obtained with a dedicated stereo ZED camera producing high-resolution depth maps for objects located at up to 50 meters. The runtime of all models was evaluated on the popular Raspberry Pi 4 platform with a mobile ARM-based Broadcom chipset. The proposed solutions can generate VGA resolution depth maps at up to 10 FPS on the Raspberry Pi 4 while achieving high fidelity results, and are compatible with any Android or Linux-based mobile devices. A detailed description of all models developed in the challenge is provided in this paper.

Motivation & Objective

  • To develop end-to-end deep learning-based depth estimation models that are both accurate and efficient for on-device inference on mobile and IoT platforms.
  • To address the gap in mobile-compatible depth estimation by introducing a new large-scale dataset collected in the wild with high-resolution depth maps up to 50 meters.
  • To evaluate models on real low-power hardware (Raspberry Pi 4) rather than desktop GPUs, ensuring practical efficiency and real-time performance.
  • To balance model fidelity and inference speed by optimizing for mobile-specific constraints such as limited RAM and inefficient support for common deep learning operators.
  • To promote deployment portability by ensuring all models are compatible with TensorFlow Lite and Android Neural Networks API (NNAPI) or custom delegates.

Proposed method

  • Participants trained models on a new dataset of 8,000 RGB-depth image pairs captured using a ZED 3D stereo camera, providing high-resolution depth maps for objects up to 50 meters away.
  • All models were evaluated on the Raspberry Pi 4 with an ARM-based Broadcom chipset to ensure real-time performance under mobile hardware constraints.
  • Core architectures included modified U-Net, MobileNetV3Small, ResNet-based BTS, and attention-enhanced encoders, all adapted for mobile inference with quantization and pruning.
  • Model training used a combination of L1 loss, gradient L1 loss, and SSIM loss to improve depth map fidelity and edge consistency.
  • Efficiency was enhanced through techniques like knowledge distillation, low-bit quantization, and hardware-aware neural architecture search.
  • Final models were exported to TensorFlow Lite and accelerated using NNAPI, GPU, Hexagon, or custom delegates for cross-platform deployment on Android and Linux devices.

Experimental results

Research questions

  • RQ1Can accurate single-image depth estimation be achieved with models that run in real time on mobile and embedded devices?
  • RQ2How does model performance on a Raspberry Pi 4 compare to standard desktop benchmarks in terms of latency and accuracy?
  • RQ3To what extent can model compression and hardware-aware design improve inference speed without sacrificing depth estimation quality?
  • RQ4What are the most effective model architectures and optimization strategies for deploying depth estimation on mobile NPUs and ARM CPUs?
  • RQ5Can a standardized, portable, and efficient depth estimation pipeline be established for mobile AI applications using open frameworks like TensorFlow Lite?

Key findings

  • The best-performing models achieved up to 10 FPS on the Raspberry Pi 4 while generating VGA-resolution depth maps with high fidelity.
  • Models trained with L1, gradient L1, and SSIM losses demonstrated improved edge consistency and perceptual quality compared to baseline methods.
  • Knowledge distillation and model distillation techniques significantly reduced model size and inference time while preserving accuracy.
  • The use of hard-sigmoid and Leaky ReLU activations improved inference speed on mobile hardware without degrading performance.
  • All submitted models were successfully deployed on mobile platforms using TensorFlow Lite and accelerated via NNAPI or custom delegates.
  • The challenge demonstrated that state-of-the-art depth estimation can be effectively adapted for mobile deployment through targeted model compression and hardware-aware design.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.