Abstract
This paper proposes a self-supervised monocular image-to-depth prediction framework that is trained with an end-to-end photometric loss that handles not only 6-DOF camera motion but also 6-DOF moving object instances. Self-supervision is performed by warping the images across a video sequence using depth and scene motion including object instances. One novelty of the proposed method is the use of the multi-head attention of the transformer network that matches moving objects across time and models their interaction and dynamics. This enables accurate and robust pose estimation for each object instance. Most image-to-depth prediction frameworks make the assumption of rigid scenes, which largely degrades their performance with respect to dynamic objects. Only a few SOTA papers have accounted for dynamic objects. The proposed method is shown to outperform these methods on standard benchmarks and the impact of the dynamic motion on these benchmarks is exposed. Furthermore, the proposed image-to-depth prediction framework is also shown to be competitive with SOTA video-to-depth prediction frameworks.
Introduction
Self-supervised monocular depth estimation has seen significant progress, yet most existing frameworks rely on a fundamental "rigid scene assumption." These models assume that the environment is static and that any pixel displacement between video frames is caused solely by the camera's ego-motion. However, real-world environments—particularly in autonomous driving—are inherently dynamic. When objects like cars or pedestrians move independently, they violate this assumption, leading to significant errors in depth estimation for the most critical parts of the scene.
While some methods attempt to mask out moving objects or use optical flow to compensate, these approaches often discard valuable geometric information or fail to capture the true 3D motion of the objects. This paper introduces a framework that explicitly models the 6-DOF (six degrees of freedom) motion of individual object instances, turning dynamic objects from noise into useful data for self-supervision.
Methodology
The proposed architecture utilizes an EfficientNet backbone paired with a Bidirectional Feature Pyramid Network (BiFPN) to extract multi-scale features. The system is divided into several specialized heads that work in parallel:
- Depth Head: Predicts the per-pixel depth map for the target frame.
- Ego-pose Head: Estimates the 6-DOF transformation of the camera between frames.
- Instance Segmentation Head: Identifies and masks individual object instances (e.g., cars, trucks, pedestrians) using a panoptic segmentation approach.
- Instance Pose Head: This is the core innovation of the work. It employs a Transformer-based multi-head attention mechanism to match object proposals across temporal sequences. By modeling the interactions and dynamics of these objects over time, the network can estimate a unique 6-DOF transformation for every moving instance.
Motion Factorization and Photometric Loss
The framework factorizes scene motion into two components: global ego-motion and piece-wise rigid object motion. During training, the model uses these predicted motions and the predicted depth to "warp" a source image into the target frame. The training is driven by a photometric loss, where the difference between the warped image and the actual target image serves as the supervisory signal. By accounting for the independent motion of objects, the warping becomes significantly more accurate in dynamic regions.
Experimental Setup and Datasets
The model was evaluated primarily on the KITTI benchmark (Eigen split). To ensure robust object identification, the panoptic segmentation component was pre-trained on the Cityscapes dataset.
One significant contribution of this research is the analysis of the KITTI benchmark itself. The authors discovered a "static bias": approximately 86.43% of the pixels in the KITTI test set belong to static parts of the scene. This bias allows models that ignore dynamic objects to still achieve high overall scores. To address this, the authors proposed a per-category mean metric to provide a more granular and fair evaluation of how models perform on moving versus static objects.
Key Results
State-of-the-Art Performance
The proposed framework outperforms previous state-of-the-art (SOTA) methods, including Manydepth and PackNet-sfm, on the KITTI benchmark. Notably, it also proves competitive with video-to-depth frameworks that use multiple frames during inference, despite being a monocular prediction model.
Accuracy on Dynamic Objects
The most striking improvements were observed in dynamic regions. On "only dynamic" object categories, the method showed a substantial reduction in Squared Relative Error (Sq Rel) compared to traditional methods that simply mask out moving objects. Qualitatively, the model produces much sharper depth boundaries for small, moving objects like bicycles and pedestrians, which are typically blurred or "smeared" in other self-supervised models.
Real-Time Efficiency
Despite the inclusion of a transformer-based instance pose head, the model maintains high efficiency. It achieves inference speeds of 34–38 FPS on an NVIDIA RTX 3090, making it suitable for real-time applications in robotics and autonomous vehicles.
Conclusion and Future Work
By breaking the rigid scene assumption and explicitly modeling object dynamics through a transformer-based attention mechanism, this framework sets a new standard for self-supervised monocular depth prediction. The research highlights the importance of addressing dynamic objects directly rather than treating them as outliers.
Future work may involve reducing the reliance on pre-trained segmentation networks by moving toward a fully self-supervised object discovery phase. Additionally, incorporating category-specific motion priors (e.g., understanding that a car's motion differs fundamentally from a pedestrian's) could further refine the accuracy of the instance pose estimation.
Summary updated