FlowDepth: Decoupling Optical Flow for Self-Supervised Monocular Depth Estimation

Yiyang Sun, Zhiyuan Xu, Xiaonian Wang, Jing YaoarXiv 2024 · DOI

Introduction

Self-supervised monocular depth estimation has emerged as a powerful alternative to supervised methods, leveraging geometric constraints between video frames to learn depth without manual labels. However, standard frameworks rely on a "static world" assumption: that all pixel movement between frames is caused solely by the camera's ego-motion. This assumption is frequently violated in real-world driving scenarios by two primary factors: dynamic objects (e.g., moving cars and pedestrians) and "photometric unfairness," where high-frequency textures and low-texture regions create disproportionate error signals in the loss function.

Existing solutions often mitigate dynamic objects using pre-trained semantic segmentation networks. While effective, these "black-box" models require expensive manual annotations and often fail to generalize to novel environments. FlowDepth addresses these challenges by geometrically decoupling optical flow into static and dynamic components, combined with a depth-cue-aware blurring strategy and a specialized sparsity loss.

Methodology

The FlowDepth framework overview, illustrating the Prior Networks, the Dynamic Motion Flow Module (DMFM), and the Depth-Cue-Aware Blur (DCABlur) components.

FlowDepth introduces three core modules to improve the robustness and accuracy of self-supervised depth estimation:

Dynamic Motion Flow Module (DMFM)

Instead of relying on semantic priors, DMFM uses pure geometry to identify moving objects. It takes the total optical flow (representing all pixel movement) and subtracts the "static flow" derived from the camera's estimated ego-motion. The resulting residual represents the "dynamic flow" of independently moving objects. By warping these dynamic regions to their expected static positions, the module effectively "staticizes" the scene, allowing the depth network to learn from a geometrically consistent environment.

Depth-Cue-Aware Blur (DCABlur)

Photometric loss functions are often sensitive to high-frequency noise (like leaves or gravel) while being uninformative in low-texture areas (like flat roads). Standard blurring can solve the noise issue but often destroys sharp depth boundaries. DCABlur utilizes a pre-trained depth-cue network to identify critical geometric edges. It selectively blurs high-frequency textures while preserving the sharp boundaries between objects and the background, making the optimization process more stable and "fair."

Cost-Volume Sparsity Loss

To address ambiguity in low-texture regions where multiple depth hypotheses might yield similar photometric errors, FlowDepth employs a sparsity loss. This loss uses entropy and sparsity constraints on the cost volume to force the model toward a single, confident depth prediction rather than a blurry average of multiple possibilities.

Experimental Results

The model was rigorously evaluated on the KITTI, Cityscapes, and VECAN datasets. FlowDepth achieves state-of-the-art performance, notably outperforming the previous leading model, ManyDepth, by 14.0% in Absolute Relative Error (AbsRel) on the Cityscapes dataset.

Qualitative comparison of depth estimation results. FlowDepth demonstrates superior performance in capturing sharp object boundaries and handling complex dynamic scenes compared to baseline methods.

Beyond accuracy, FlowDepth offers significant advantages in efficiency and transferability. By avoiding heavy semantic segmentation networks during inference, it achieves a processing speed approximately 2.5x faster than DynamicDepth. Furthermore, tests on the VECAN dataset (collected via the RUIYU autonomous platform) demonstrate that FlowDepth’s geometry-based approach generalizes better to new vehicle types and road layouts than models dependent on semantic priors.

Conclusion

FlowDepth demonstrates that decoupling optical flow into its geometric components is a viable and efficient alternative to semantic-based masking for self-supervised depth estimation. By addressing both dynamic object motion and photometric noise through targeted architectural improvements, the framework provides a robust, high-speed solution for autonomous driving applications. Future work will focus on integrating prior networks into a single-stage end-to-end training pipeline to further simplify the architecture.

Summary updated

BibTeX
@misc{sun2024flowdepth,
  author = {Yiyang Sun and Zhiyuan Xu and Xiaonian Wang and Jing Yao},
  title = {{FlowDepth: Decoupling Optical Flow for Self-Supervised Monocular Depth Estimation}},
  year = {2024},
  eprint = {2403.19294},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.19294},
}
Figure