Synthetic-to-Real Self-supervised Robust Depth Estimation via Learning with Motion and Structure Priors

Weilong Yan, Ming Li, Haipeng Li, Shuwei Shao, Robby T. Tan

Abstract

Self-supervised monocular depth estimation in diverse outdoor conditions like rain and nighttime is hindered by the difficulty of learning universal representations and a lack of labeled real-world adverse data. We present a synthetic-to-real framework that incorporates motion and structure priors. By distilling knowledge through cost volumes in synthetic adaptation and employing consistency-reweighting and depth distribution priors in real adaptation, our method achieves state-of-the-art performance, improving AbsRel by 7.5% on average across major benchmarks including nuScenes and Robotcar.

Introduction

While self-supervised depth estimation has matured for clear daytime scenes, it remains fragile in adverse conditions. Standard photometric consistency assumptions—that a point's appearance remains constant across frames—fail due to glare, shadows, and artificial lighting. Furthermore, a significant domain gap exists between synthetic training data and real-world adverse environments. This paper addresses these challenges by prioritizing geometric and structural priors over raw pixel values, which are inherently more stable across varying weather conditions.

Methodology

The proposed framework utilizes a two-stage adaptation pipeline to bridge the gap between daytime and adverse conditions, as well as between synthetic and real data.

Synthetic Adaptation (SA)

In the first stage, generative models create synthetic adverse versions of clear daytime images. Rather than training directly on these, the framework uses a frozen, high-performing daytime model as a teacher. The key innovation is the distillation of cost volumes ($cv$), which represent correlations between consecutive frames. Because cost volumes capture underlying geometry and motion, they are more robust to lighting changes than raw features.

Overview of the Synthetic Adaptation (SA) stage.

Real Adaptation (RA)

To address the "synthetic-real gap," the model is fine-tuned on unlabeled real-world adverse data using two strategies:

  1. Consistency-Reweighting: The model identifies "weather-insensitive" regions where predictions from the daytime-trained and synthetic-trained models align, assigning higher weights to these reliable pseudo-labels.
  2. Structure Prior Constraint: To prevent common failure modes (e.g., depth overestimation at night), the authors enforce a global depth distribution prior. By aligning the adverse-condition depth histogram with a stable daytime distribution using KL-divergence, the model is physically constrained to produce realistic results.

Experimental Results

The framework was evaluated on the nuScenes, Robotcar, and DrivingStereo datasets, covering day, night, rain, and fog.

Quantitative Performance

The method demonstrates significant improvements over previous state-of-the-art (SOTA) models, achieving a 7.5% reduction in Absolute Relative Error (AbsRel) and a 4.3% reduction in RMSE on average. Notably, in zero-shot evaluations on DrivingStereo, the model generalized effectively to unseen rain and fog conditions, indicating it learned fundamental geometric principles rather than just memorizing noise.

Qualitative Comparison

Visual results highlight the model's ability to resolve distant vehicles and thin structures that are typically lost in low-light or high-noise environments.

Qualitative comparison between the proposed method and md4all in night and rain conditions.

Conclusion

By shifting the focus from pixel-level consistency to motion and structure priors, this research provides a robust path for self-supervised depth estimation in the challenging conditions of autonomous driving. While the method relies on a strong daytime teacher model, its ability to bridge the synthetic-to-real gap without labeled adverse data marks a significant advancement in the field. Future work may integrate semantic information to further refine the adaptation process.

Reference: Yan, W., Li, M., Li, H., Shao, S., & Tan, R. T. (2024). Synthetic-to-Real Self-supervised Robust Depth Estimation via Learning with Motion and Structure Priors. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).

Summary updated

BibTeX
@inproceedings{yan2025synthetic,
  author = {Weilong Yan and Ming Li and Haipeng Li and Shuwei Shao and Robby T. Tan},
  title = {{Synthetic-to-Real Self-supervised Robust Depth Estimation via Learning with Motion and Structure Priors}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  url = {https://openreview.net/forum?id=g5xKyWlJMh},
}
Figure