[Paper Review] Depth Estimation with Simplified Transformer
This paper proposes Depth Estimation with Simplified Transformer (DEST), a lightweight, hardware-efficient vision transformer for self-supervised monocular depth estimation. By employing strategic architectural simplifications and a joint attention mechanism between depth and pose networks, DEST reduces model size by 85% and inference latency by up to 86% compared to SOTA, while achieving superior accuracy on KITTI and generalizing well to semantic segmentation with improved speed and performance.
Transformer and its variants have shown state-of-the-art results in many vision tasks recently, ranging from image classification to dense prediction. Despite of their success, limited work has been reported on improving the model efficiency for deployment in latency-critical applications, such as autonomous driving and robotic navigation. In this paper, we aim at improving upon the existing transformers in vision, and propose a method for self-supervised monocular Depth Estimation with Simplified Transformer (DEST), which is efficient and particularly suitable for deployment on GPU-based platforms. Through strategic design choices, our model leads to significant reduction in model size, complexity, as well as inference latency, while achieving superior accuracy as compared to state-of-the-art. We also show that our design generalize well to other dense prediction task without bells and whistles.
Motivation & Objective
- To address the high computational cost and latency of existing vision transformers in monocular depth estimation for real-time applications.
- To design a simplified transformer architecture that is both hardware-friendly and efficient on GPU platforms.
- To improve accuracy in self-supervised depth estimation without relying on large-scale ground-truth depth supervision.
- To enable generalization of the proposed architecture to other dense prediction tasks like semantic segmentation.
- To achieve state-of-the-art performance in depth estimation with minimal parameters and inference latency.
Proposed method
- The model uses a simplified transformer encoder with only basic operations (self-attention, feed-forward networks) to reduce computational complexity.
- A joint attention mechanism is introduced, where features from the depth network are used to compute attention for the pose network, enhancing feature learning.
- The framework employs a dual-stream training setup: Depth-Net and Pose-Net are trained jointly using photometric reconstruction loss from monocular video sequences.
- Model variants (B0 to B5) are designed with increasing depth and width, using specific block configurations (e.g., (2,2,2,2) for B0) and feature map channels.
- Inference uses only the Depth-Net, while the Pose-Net is discarded post-training, enabling efficient deployment.
- The architecture is evaluated with and without ImageNet or CityScapes pre-training, and optimized using TensorRT for inference speed.
Experimental results
Research questions
- RQ1Can a simplified transformer architecture achieve state-of-the-art depth estimation accuracy while significantly reducing model size and inference latency?
- RQ2How does the joint attention mechanism between depth and pose networks improve feature representation and prediction accuracy?
- RQ3To what extent can the proposed architecture generalize to other dense prediction tasks such as semantic segmentation?
- RQ4How effective are hardware-aware design choices in reducing latency on GPU platforms without sacrificing accuracy?
- RQ5What is the trade-off between model efficiency (parameters, MACs) and performance across different depth estimation benchmarks?
Key findings
- DEST-B3 reduces model parameters by 85% and GMACs by 90% compared to PackNet-SfM, while outperforming it in most KITTI metrics.
- The smallest model, DEST-B0, achieves competitive depth estimation accuracy despite its minimal size, demonstrating strong generalization.
- Inference latency on V100 GPU drops to 8.87ms with FP16 precision using TensorRT, a 86% reduction compared to PackNet-SfM’s 64.76ms in PyTorch.
- DEST-B3 achieves 72.58% mIoU on CityScapes semantic segmentation with 18.08M parameters and 142.78 GMACs, outperforming SegFormer-B3 in accuracy and reducing latency by 59%.
- The joint attention mechanism significantly improves depth estimation accuracy, as shown by better performance over a baseline SegFormer-B3 without this component.
- The model generalizes effectively to semantic segmentation, achieving higher mIoU with substantially fewer parameters and lower latency than SegFormer-B3.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.