Attentional Separation-and-Aggregation Network for Self-supervised Depth-Pose Learning in Dynamic Scenes

Feng Gao, Jincheng Yu, Hao Shen, Yu Wang, Huazhong Yang

Abstract

Self-supervised learning of depth and ego-motion from monocular video typically assumes a static world. In dynamic environments, moving objects violate this assumption, leading to inaccuracies. We present the Attentional Separation-and-Aggregation Network (ASANet), which utilizes a novel ASA block to distinguish between static background and dynamic foreground features. By decoupling these components, our model achieves state-of-the-art performance on the KITTI benchmark, reaching 50 FPS for real-time robotics applications.

Introduction

A fundamental challenge in self-supervised robotics is estimating 3D depth and ego-motion from monocular video. Most existing models rely on a "rigid world" assumption, where every change between frames is attributed to camera movement. However, real-world scenes are often dynamic. When moving objects like cars or pedestrians are present, these models often produce geometric distortions or incorrect pose estimates. While some researchers use pre-trained supervised models (e.g., Mask R-CNN) to mask out dynamic objects, this introduces external dependencies. This paper proposes ASANet, a purely self-supervised approach that learns to separate static and dynamic features internally.

Methodology

The core innovation is the Attentional Separation-and-Aggregation (ASA) block. Unlike standard convolutional layers, the ASA block employs a soft attention mechanism to create two parallel processing paths: a static path for background features and a dynamic path for moving objects.

Overview of the ASANet architecture and the detailed schema of the ASA block.

The network predicts a probability mask at each layer to sort features. These features are then fed into a dual-decoder MotionNet. One decoder calculates the camera's ego-motion using static features, while the other estimates a motion field for dynamic objects. An auto-selecting mechanism during training calculates errors for both static and dynamic assumptions, allowing the model to "discover" moving objects without explicit labels. The training process is conducted in three phases: static world learning, dynamic object focus, and joint fine-tuning.

Results

The model was evaluated on the KITTI dataset using the Eigen split for depth and sequences 09/10 for odometry.

Quantitative comparison of depth estimation performance on the KITTI dataset.

As shown in the results table, the "Ours (R50)" variant achieved an Absolute Relative (Abs Rel) error of 0.108, outperforming popular self-supervised methods like Monodepth2 (0.111) and TrianFlow (0.113). In visual odometry, the method significantly reduced translation and rotation errors, approaching the performance of traditional geometric methods like ORB-SLAM2. Crucially, the system maintains a high inference speed of 50 FPS on a standard GPU, making it suitable for real-time deployment on autonomous vehicles.

Conclusion

ASANet demonstrates that monocular video contains sufficient information to distinguish between camera and object motion through clever architectural design. By using attention as a filter rather than just a focus mechanism, the model achieves state-of-the-art accuracy and real-time efficiency without relying on external supervised data. Future work includes integrating 3D-packing techniques to preserve spatial detail and recurrent structures to stabilize motion estimation in complex traffic scenarios.

Summary updated

BibTeX
@inproceedings{gao2020attentional,
  author = {Feng Gao and Jincheng Yu and Hao Shen and Yu Wang and Huazhong Yang},
  title = {{Attentional Separation-and-Aggregation Network for Self-supervised Depth-Pose Learning in Dynamic Scenes}},
  booktitle = {Conference on Robot Learning},
  year = {2020},
}
Figure