Efficient Single-Image Depth Estimation on Mobile Devices, Mobile AI & AIM 2022 Challenge: Report

Andrey Ignatov, Grigory Malivenko, Radu Timofte, Lukasz Treszczotko, Xin Chang, Piotr Ksiazek, Michal Lopuszynski, Maciej Pioro, Rafal Rudnicki, Maciej Smyl, Yujie Ma, Zhenyu Li, Zehui Chen, Jialei Xu, Xianming Liu, Junjun Jiang, XueChao Shi, Difan Xu, Yanan Li, Xiaotao Wang, Lei Lei, Ziyu Zhang, Yicheng Wang, Zilong Huang, Guozhong Luo, Gang Yu, Bin Fu, Jiaqi Li, Yiran Wang, Zihao Huang, Zhiguo Cao, Marcos V. Conde, Denis Sapozhnikov, Byeong Hyun Lee, Dongwon Park, Seongmin Hong, Joonhee Lee, Seunggyu Lee, Se Young Chun · DOI

TL;DR

This paper reports on the Mobile AI & AIM 2022 challenge, which focused on developing efficient single-image depth estimation models for mobile and IoT devices. The challenge successfully fostered the creation of models that achieve real-time performance on resource-constrained hardware like the Raspberry Pi 4, demonstrating significant advancements in both accuracy and speed compared to previous efforts.

What Problem Does This Paper Address?

Depth estimation, the process of inferring 3D scene geometry from 2D images, is crucial for a wide range of applications like augmented reality, autonomous driving, and object tracking. While deep learning has led to highly accurate depth estimation models, these often come with substantial computational and memory demands, making them unsuitable for low-power mobile and IoT devices. The core problem this paper addresses is the gap between the high accuracy of state-of-the-art depth estimation models and the stringent efficiency requirements of mobile hardware. The challenge aimed to bridge this gap by encouraging the development of models that are both accurate and computationally efficient enough to run in real-time on devices like smartphones and embedded systems.

Methods

The challenge focused on developing deep learning-based single-image depth estimation solutions. Participants were encouraged to leverage efficient model architectures, often based on U-Net structures with lightweight encoders like MobileNets or EfficientNets. Key techniques employed by the participating teams included:

  • Efficient Architectures: Utilizing U-Net variants with optimized encoders (e.g., MobileNetV3) and lightweight decoders.
  • Model Compression: Techniques like quantization (INT8, FP16) and network pruning were implicitly encouraged by the target hardware.
  • Loss Functions: A variety of loss functions were used, including standard ones like RMSE, and more specialized ones like Scale-Invariant Root Mean Squared Error (si-RMSE), gradient loss, virtual norm loss, and robust loss. Some teams also employed structure-aware distillation.
  • Data Augmentation: Techniques such as random cropping, resizing, flips, and color jittering were used to improve model robustness.
  • Knowledge Distillation: Several teams utilized knowledge distillation, where a larger, pre-trained "teacher" model guides the training of a smaller "student" model.

The evaluation framework was crucial, emphasizing runtime on the Raspberry Pi 4 alongside accuracy metrics.

Datasets

The challenge utilized a large-scale RGB-to-depth dataset specifically collected for this purpose. This dataset was captured using a ZED stereo camera, capable of generating depth maps for objects up to 50 meters away. The dataset consists of approximately 8.3K RGB-depth image pairs. For the challenge, images were downscaled to VGA resolution (640x480 pixels), which is typical for mobile applications. The original RGB images served as inputs, and the corresponding 16-bit depth maps were the targets. This dataset is notable for being collected "in the wild" and for its scale, aiming to provide realistic data for training efficient models.

Key Insights and Ideas

  • Real-world constraints drive innovation: The challenge's focus on actual mobile hardware (Raspberry Pi 4) forced participants to prioritize efficiency alongside accuracy, leading to practical solutions.
  • U-Net remains a strong baseline: The U-Net architecture, with variations in its encoder and decoder, proved to be a highly effective backbone for most successful submissions.
  • Lightweight backbones are key: MobileNets and EfficientNets emerged as popular choices for encoders, offering a good balance between feature extraction capability and computational cost.
  • Knowledge distillation is powerful for efficiency: Several top-performing models leveraged knowledge distillation, demonstrating its effectiveness in transferring knowledge from larger models to smaller, more efficient ones.
  • Significant speedups are achievable: The results show that substantial improvements in inference speed can be achieved without drastically sacrificing accuracy, making real-time depth estimation on mobile devices a reality.

Key Results

The challenge saw 7 teams submit valid results, with all proposed solutions demonstrating the ability to produce depth maps under 150 ms on the Raspberry Pi 4.

  • Winner (Team TCL): Achieved the best accuracy and a runtime of less than 50 milliseconds on the Raspberry Pi 4. This model was also the winner of the previous year's challenge, showing iterative improvement.
  • Second Place (Team AIIA HIT): Achieved performance of over 27 FPS on the Raspberry Pi 4, demonstrating near real-time capabilities.
  • Overall Improvement: The efficiency of the proposed solutions showed a noticeable improvement compared to models from the previous Mobile AI depth estimation challenge, enabling faster and more accurate depth estimation on mobile devices.
  • Compatibility: All developed models are compatible with any Android or Linux-based mobile devices, leveraging the TensorFlow Lite framework.

Limitations and Future Work

  • Limitations: The paper doesn't explicitly detail limitations acknowledged by the authors, but the inherent trade-off between accuracy and speed on mobile devices is a persistent challenge. The evaluation was primarily on the Raspberry Pi 4, and performance might vary on other mobile chipsets.
  • Future Work: The paper highlights the ongoing trend of developing more efficient and accurate depth estimation models for mobile and IoT applications. Future work will likely continue to explore novel architectures, more advanced compression techniques, and further optimization for diverse mobile hardware. The success of this challenge suggests continued interest in this area.

Summary updated

BibTeX
@inproceedings{ignatov2022efficient,
  author = {Andrey Ignatov and Grigory Malivenko and Radu Timofte and Lukasz Treszczotko and Xin Chang and Piotr Ksiazek and Michal Lopuszynski and Maciej Pioro and Rafal Rudnicki and Maciej Smyl and Yujie Ma and Zhenyu Li and Zehui Chen and Jialei Xu and Xianming Liu and Junjun Jiang and XueChao Shi and Difan Xu and Yanan Li and Xiaotao Wang and Lei Lei and Ziyu Zhang and Yicheng Wang and Zilong Huang and Guozhong Luo and Gang Yu and Bin Fu and Jiaqi Li and Yiran Wang and Zihao Huang and Zhiguo Cao and Marcos V. Conde and Denis Sapozhnikov and Byeong Hyun Lee and Dongwon Park and Seongmin Hong and Joonhee Lee and Seunggyu Lee and Se Young Chun},
  title = {{Efficient Single-Image Depth Estimation on Mobile Devices, Mobile AI \& AIM 2022 Challenge: Report}},
  booktitle = {Workshops @ ECCV},
  year = {2022},
  doi = {10.1007/978-3-031-25066-8\_4},
}
Figure