Abstract
Monocular Depth Estimation (MDE) is a critical component for mobile computer vision applications, including augmented reality and robotics. However, state-of-the-art deep learning models often require prohibitive computational resources. We present the Double Refinement Network (DRN), a novel architecture that achieves competitive accuracy while being up to 18 times faster and using 10 times less memory than previous leading models. By replacing standard bilinear interpolation with iterative pixel shuffle upsampling and a dual-branch refinement strategy, DRN makes high-quality depth sensing viable for resource-constrained mobile devices.
Introduction
Predicting distance for every pixel in a single 2D image is a fundamental challenge in computer vision. While Deep Convolutional Neural Networks (DCNNs) have significantly improved MDE accuracy, they often rely on expensive bilinear interpolation of high-dimensional feature maps to match input resolutions. This process creates massive tensors that consume excessive RAM and slow down inference, rendering many models unusable for production on portable hardware. The Double Refinement Network (DRN) addresses this bottleneck by optimizing the upsampling and decoding process.
The Double Refinement Architecture
The DRN architecture moves away from "one-shot" high-resolution decoding in favor of a multi-stage approach consisting of three primary components:
- Backbone Encoder: A standard pre-trained encoder (e.g., ResNet, DenseNet, or SENet) extracts multi-scale features from the input image.
- Up I Branch (Feature Refinement): This branch employs iterative pixel shuffle upsampling. Unlike simple interpolation, it merges high-level and low-level features while systematically reducing channel depth as resolution increases, avoiding the creation of memory-intensive feature maps.
- Up II Branch (Depth Refinement): This branch generates intermediate depth maps at every scale. Starting from a coarse prediction, it refines the output by adding correction terms derived from the current scale's features.
To ensure accuracy across scales, the network is trained with a composite loss function incorporating depth, gradients, and surface normals, alongside auxiliary losses at every upsampling level.
Experimental Evaluation
The model was evaluated on the NYU Depth v2 dataset, a benchmark for indoor environments containing RGB images and corresponding Kinect-captured depth maps. The DRN was compared against high-performing architectures such as the RSIDE baseline and models by Fu et al.
Results and Discussion
The DRN achieves a remarkable balance of speed and precision. On a Tesla P40 GPU, the DRN (with a ResNet-50 backbone) achieved 36 FPS at batch size 1, compared to just 2 FPS for the RSIDE baseline—an 18x speedup. Furthermore, RAM requirements dropped from ~21 GB in baseline models to just 2–4 GB for DRN variants.
Despite these efficiency gains, accuracy remained competitive. Using a SENet-154 backbone, the DRN achieved an RMSE of 0.527, nearly identical to the baseline's 0.530. Ablation studies confirmed that the Up II branch is the most critical component for accuracy, while the iterative pixel shuffle proved more efficient than standard bilinear interpolation for regaining spatial resolution.
Conclusion
The Double Refinement Network demonstrates that high-performance monocular depth estimation does not require massive computational overhead. By treating depth estimation as a series of iterative corrections rather than a single construction step, the DRN enables real-time, memory-efficient depth sensing on mobile devices. Future work may explore the application of this architecture to outdoor datasets like KITTI or the integration of even lighter backbones for ultra-low-power environments.
Summary updated