WeatherDepth: Curriculum Contrastive Learning for Self-Supervised Depth Estimation under Adverse Weather Conditions

Jiyuan Wang, Chunyu Lin, Lang Nie, Shujuan Huang, Yao Zhao, Xing Pan, Rui Ai · OpenReview

Abstract

Depth estimation models have shown promising performance on clear scenes but fail to generalize to adverse weather conditions due to illumination variations, weather particles, and other environmental factors. In this paper, we propose WeatherDepth, a self-supervised robust depth estimation model with curriculum contrastive learning, to tackle performance degradation in complex weather conditions. Concretely, we first present a progressive curriculum learning scheme with three simple-to-complex curricula to gradually adapt the model from clear to relative adverse, and then to adverse weather scenes. It encourages the model to gradually grasp beneficial depth cues against the weather effect, yielding smoother and better domain adaptation. Meanwhile, to prevent the model from forgetting previous curricula, we integrate contrastive learning into different curricula. Drawing reference knowledge from the previous course, our strategy establishes a depth consistency constraint between different courses towards robust depth estimation in diverse weather. Besides, to reduce manual intervention and better adapt to different models, we designed an adaptive curriculum scheduler to automatically search for the best timing for course switching. In experiments, the proposed solution is proven to be easily incorporated into various architectures and demonstrates state-of-the-art (SoTA) performance on both synthetic and real weather datasets.

Introduction

Self-supervised depth estimation (SSDE) has emerged as a critical technology for autonomous driving, offering a cost-effective alternative to expensive LiDAR sensors by learning depth from video frame warping. However, the core of SSDE—the photometric consistency assumption—is frequently violated in adverse weather. Raindrops, snowflakes, and fog introduce visual noise and reflections that disrupt the model's ability to match points across frames.

Existing models trained on standard datasets like KITTI often fail in these conditions. While data augmentation or image restoration can help, they often lead to "catastrophic forgetting," where the model loses accuracy in clear weather while trying to adapt to storms. WeatherDepth addresses these challenges through a structured learning approach that bridges the gap between clear and adverse environments.

Methodology

The WeatherDepth framework utilizes three key components to achieve robustness:

Progressive Curriculum Learning

Rather than training on complex weather immediately, the model follows a three-stage curriculum of increasing difficulty:

  1. Level 1 (Clear): Standard sunny scenes with basic photometric augmentations.
  2. Level 2 (Relative Adverse): Introduction of ground-level effects, such as snow-covered roads, water reflections, and lens droplets. This teaches the model to ignore "texture-less" regions caused by moisture.
  3. Level 3 (Adverse): Introduction of dynamic particles like rain streaks, snowflakes, and heavy fog, which present the highest level of visual disruption.
Example of a high-difficulty adverse weather scene (Level 3) featuring heavy falling particles that challenge standard depth estimation.

Curriculum Contrastive Learning (CC)

To combat catastrophic forgetting, the authors implement a contrastive loss. This ensures the model produces consistent depth maps for a scene regardless of the weather augmentation applied. By using depth predictions from simpler curricula as pseudo-labels for harder stages, the model maintains its "memory" of clear-weather geometry while learning to handle noise.

Adaptive Curriculum Scheduler

To optimize training, an automated scheduler monitors the self-supervised loss. It triggers a transition to the next curriculum level only when performance plateaus, ensuring the model has fully mastered one stage before moving to more complex visual data.

Experiments and Results

Datasets

The model was evaluated using a combination of synthetic and real-world data:

  • WeatherKITTI: A new benchmark of 284,000 images created using CycleGAN for ground effects and Physically-Based Rendering (PBR) for particles.
  • DrivingStereo & CADC: Real-world datasets used to validate generalization in rainy, foggy, and snowy conditions.

Performance Analysis

WeatherDepth (utilizing the MonoViT backbone) achieved state-of-the-art results. On the WeatherKITTI benchmark, it reached an Absolute Relative error (AbsRel) of 0.103, significantly outperforming the standard MonoViT baseline (0.120). Qualitative results demonstrate that WeatherDepth is particularly effective at preserving thin structures and managing reflections that typically confuse other robust models.

Qualitative comparison of depth estimation results on real-world adverse weather. WeatherDepth* (bottom row) preserves thin structures and handles reflections better than RobustDepth* (middle row).

Furthermore, the approach proved to be architecture-agnostic, showing performance gains when applied to CNN-based (WaveletMonodepth), plane-parameter (PlaneDepth), and Transformer-based (MonoViT) models. In real-world snowy conditions (CADC), WeatherDepth* reduced AbsRel from 0.297 to 0.279, confirming that synthetic curriculum training translates effectively to real-world blizzards.

Conclusion

WeatherDepth provides a robust framework for self-supervised depth estimation in adverse weather by combining progressive curriculum learning with contrastive consistency. While the model shows slight performance parity in very light fog, its ability to generalize across rain and snow without losing clear-weather accuracy marks a significant advancement. Future research will explore the "final boss" of depth estimation: adverse weather conditions at night.

Summary updated

BibTeX
@inproceedings{wang2024weatherdepth,
  author = {Jiyuan Wang and Chunyu Lin and Lang Nie and Shujuan Huang and Yao Zhao and Xing Pan and Rui Ai},
  title = {{WeatherDepth: Curriculum Contrastive Learning for Self-Supervised Depth Estimation under Adverse Weather Conditions}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2024},
  doi = {10.1109/icra57147.2024.10611100},
}
Figure