TL;DR
This paper introduces RT-MonoDepth and RT-MonoDepth-S, two novel, lightweight convolutional neural network architectures designed for real-time monocular depth estimation on resource-constrained embedded systems. These models achieve a compelling balance between accuracy and inference speed, outperforming existing methods on the KITTI dataset and enabling practical deployment in autonomous vehicles.
What Problem Does This Paper Address?
Accurate depth estimation is crucial for autonomous systems like drones and self-driving cars, enabling tasks such as navigation and obstacle detection. While sensors like LiDAR provide precise depth, they are often expensive and bulky. Monocular depth estimation, using a single camera, offers a cost-effective alternative. However, state-of-the-art monocular depth estimation methods, typically based on complex deep neural networks, are computationally intensive, making them impractical for real-time inference on embedded platforms with limited processing power and memory. This paper aims to bridge this gap by developing efficient and lightweight architectures that deliver high accuracy at real-time speeds on these constrained devices.
Methods
The core of this work lies in the design of two efficient encoder-decoder architectures: RT-MonoDepth and RT-MonoDepth-S.
- Lightweight Pyramid Encoder: Instead of relying on pre-trained, complex backbones like ResNet or MobileNet, the authors design a custom 4-layer pyramid encoder from scratch. This encoder prioritizes low latency by omitting batch normalization layers (which can be unstable with small batch sizes common in embedded systems) and using standard convolutional layers.
- Simplified Depth Decoder: The decoder is designed to upsample and fuse features from the encoder to produce a dense depth map. Key innovations include:
- Upsampling: Using a simplified NNConv3 block (3x3 convolution followed by nearest-neighbor interpolation) for faster feature map upsampling compared to prior methods.
- Fusion: Employing a hybrid fusion strategy: element-wise addition for the first two layers to accelerate fusion, and concatenation for the third layer to maintain final accuracy.
- Prediction: Decoders at each scale yield depth predictions, but for efficiency, intermediate predictions are not passed to subsequent levels, allowing them to be ignored during inference.
- RT-MonoDepth-S: A lighter variant that further reduces complexity by dropping a fusion block and reducing encoder layers, sacrificing some accuracy for significantly faster inference.
Datasets
- KITTI Dataset: This is the primary dataset used for both training and evaluation. The authors follow standard splits and processing procedures, including removing static frames and clipping depth to 80 meters.
Key Insights and Ideas
- Custom Encoder is Key: Moving away from standard, powerful but heavy classification backbones and designing a custom, lightweight encoder from scratch is crucial for achieving real-time performance on embedded systems.
- Batch Normalization Trade-off: Removing batch normalization, while potentially impacting convergence speed in some scenarios, significantly reduces computational overhead and latency without a substantial drop in accuracy for this specific task on embedded hardware.
- Hybrid Fusion Strategy: A balance between element-wise addition (faster) and concatenation (more accurate) in feature fusion layers allows for optimized performance.
- Intermediate Predictions as Optional: The ability to ignore intermediate depth predictions during inference is a clever way to reduce computational load without sacrificing the training benefits of multi-scale supervision.
Key Results
- Speed: RT-MonoDepth achieves impressive frame rates: up to 18.4 FPS on NVIDIA Jetson Nano and 253.0 FPS on Jetson AGX Orin. RT-MonoDepth-S is even faster, reaching 30.5 FPS on Nano and 364.1 FPS on AGX Orin.
- Accuracy: RT-MonoDepth offers comparable accuracy to prior depth estimation methods, and in some cases, slightly outperforms them, especially in edge regions (qualitatively). RT-MonoDepth-S achieves slightly lower accuracy but maintains competitive performance.
- Efficiency: RT-MonoDepth has significantly fewer parameters (e.g., 53% fewer than Monodepth2) and achieves much higher FPS (e.g., 60% higher than Monodepth2). RT-MonoDepth-S shows even greater parameter reduction (75% fewer than GuideDepth) with comparable or better FPS.
- Qualitative Improvements: The paper shows qualitative results where RT-MonoDepth provides cleaner object boundaries and more effective reconstruction, particularly in challenging edge regions, compared to Monodepth2 and GuideDepth.
Limitations and Future Work
- High-Resolution Input Degradation: The authors acknowledge that the model's performance degrades by approximately 4% when trained on high-resolution images. This is attributed to the reliance on learned image edge features, which require larger receptive fields and more complex encoders for effective learning at higher resolutions.
- Future Work: The authors aim to improve accuracy for high-resolution inputs and further reduce runtime.
Summary updated