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

Jiyuan Wang, Chunyu Lin, Lang Nie, Shujun Huang, Yao Zhao, Xing Pan, Rui Ai

TL;DR

WeatherDepth introduces a curriculum-based contrastive learning framework that enables self-supervised depth estimation models to "see through" adverse weather like heavy rain, snow, and fog. By progressively increasing weather difficulty and using contrastive loss to prevent the model from forgetting clear-weather features, the authors achieve state-of-the-art performance across multiple architectures with significantly higher training efficiency than previous methods.

What Problem Does This Paper Address?

Self-supervised depth estimation has become a powerful tool for autonomous systems because it doesn't require expensive LiDAR ground truth. Instead, it relies on photometric consistency: the assumption that a point in a scene should look the same when viewed from two different camera positions.

However, adverse weather breaks this assumption. Raindrops on a lens, snowflakes in the air, and reflections on wet pavement introduce "noise" that violates photometric consistency. Standard models trained on clear data fail to generalize to these conditions, while models trained directly on messy weather data often suffer from catastrophic forgetting—they get better at rain but lose their ability to accurately map clear scenes.

Methods

The authors propose a three-pronged strategy to build a robust depth estimator:

  1. Progressive Curriculum Learning: Rather than throwing the model into a blizzard on day one, they use a "simple-to-complex" approach.
  2. Level 1 (Clear): Standard sunny scenes.
  3. Level 2 (Relative Adverse): Adds ground-level effects like snow, water reflections, and lens droplets.
  4. Level 3 (Adverse): Introduces airborne particles like heavy rain, snow streaks, and thick fog.
  5. Curriculum Contrastive Learning: To prevent the model from forgetting what it learned in earlier stages, the authors introduce a contrastive loss ($L_{cst}$). This forces the model to produce consistent depth maps for the same scene, regardless of which weather augmentation is applied. As shown in the pipeline below, the model compares its current "hard" prediction against a "target" prediction from a previous, easier curriculum level.
The WeatherDepth pipeline showing the three-stage curriculum and the contrastive learning loop.
  1. Adaptive Curriculum Scheduler: To make the method model-agnostic, they designed a scheduler that monitors the training loss. It automatically switches to the next curriculum level only when the model has sufficiently converged on the current one, reducing the need for manual hyperparameter tuning.

Datasets

The authors recognized that existing weather-augmented datasets weren't realistic enough. They introduced WeatherKITTI, a new benchmark built on the standard KITTI dataset.

  • WeatherKITTI (Synthetic): Uses CycleGANs for ground effects and Physically-Based Rendering (PBR) for realistic rain and snow particles.
  • DrivingStereo & CADC (Real-world): Used for zero-shot evaluation to prove the model generalizes to real rainy, foggy, and snowy roads without being trained on them.
Comparison showing that WeatherKITTI (middle) produces much more natural-looking weather effects than previous augmentation methods (right).

Key Insights and Ideas

  • Consistency is Key: The core "aha" moment is that weather is just a transient filter over a static 3D structure. By enforcing depth consistency across different weather "filters" of the same image, the model learns to ignore the noise (raindrops) and focus on the underlying geometry.
  • Efficiency Matters: Previous SoTA methods (like Robust-Depth) used complex bilateral propagation that doubled training time. WeatherDepth achieves better results with a lightweight contrastive design that adds less than 20% to the training overhead.
  • Model Agnostic: The framework was tested on three very different architectures—CNN-based (PlaneDepth), Wavelet-based (WaveletMonodepth), and Transformer-based (MonoViT)—showing significant gains across the board.

Key Results

WeatherDepth consistently outperformed existing state-of-the-art (SoTA) models:

  • Accuracy: On the real-world CADC (snowy) dataset, WeatherDepth reduced the Absolute Relative Error (absrel) from 0.298 (previous SoTA) to 0.279.
  • Qualitative Improvements: As seen in Figure 1, the model is significantly better at handling difficult artifacts like water surface reflections and lens droplets that typically cause "ghost" objects or depth holes in other models.
  • Sunny Robustness: Unlike other weather-focused models, WeatherDepth actually improved performance on clear KITTI scenes compared to the baseline MonoViT, proving that learning to handle noise can actually sharpen a model's understanding of clean data.
Qualitative comparison on real weather. WeatherDepth (bottom) produces cleaner depth maps than Robust-Depth (middle) in the presence of snow and reflections.

Limitations and Future Work

  • Fog Density Mismatch: The authors noted that the fog in the real-world DrivingStereo dataset was relatively light compared to their synthetic augmentations. In this specific case, their model achieved "comparable" rather than "superior" results, suggesting a need for more diverse fog simulation.
  • Domain Gap: While WeatherKITTI is a step forward, there is still a gap between PBR-rendered particles and real-world physics. Future work could involve incorporating more sophisticated physics-based noise models or using unsupervised domain adaptation to further bridge this gap.

Summary updated

BibTeX
@inproceedings{wang2024weatherdepth,
  author = {Jiyuan Wang and Chunyu Lin and Lang Nie and Shujun 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},
}

Loading related content...

Figure