Abstract
Monocular Depth Estimation (MDE) is a critical component for autonomous navigation, yet current models often fail in adverse conditions like heavy rain or darkness. This paper introduces the Stealing Stable Diffusion (SSD) framework, which leverages the generative power of diffusion models to "hallucinate" high-quality training data for challenging environments. By combining this synthetic data with a DINOv2-based architecture and a novel selective teacher-student distillation strategy, SSD achieves state-of-the-art robustness on major benchmarks like nuScenes and Oxford RobotCar without requiring massive real-world datasets of adverse weather.
The Challenge of Adverse Weather
Predicting 3D depth from a single 2D image is a cornerstone of robotics. While current MDE models perform well in clear daylight, they often "go blind" in challenging conditions. This failure stems from a significant data gap: most training datasets are collected in clear weather. Attempts to bridge this gap using Generative Adversarial Networks (GANs) often result in blurry, noisy images that lack diversity. Furthermore, the photometric consistency math used in self-supervised learning frequently breaks down in the dark, where reflections and shadows confuse the model.
Methodology: The SSD Framework
The authors propose a two-stage approach to overcome these limitations:
1. Generative Diffusion Model-based Translation (GDT)
Instead of relying on GANs, the framework uses a Stable Diffusion pipeline to transform clear daytime images into realistic "challenging" versions (night, rain, snow). To ensure geometric consistency—meaning buildings and cars remain in the same place after translation—the authors employ ControlNet and high-resolution depth maps via PatchFusion. An IP-Adapter is used to inject the style of real night or rain images, ensuring the synthetic data looks authentic.
2. The SSD Training Pipeline
The model adopts a teacher-student self-training strategy with several key innovations:
- Foundation Model Backbone: The model utilizes a DINOv2 encoder and a DPT head, allowing it to inherit a sophisticated semantic understanding of object boundaries and scene layouts.
- Selective Teacher Loss: Recognizing that the teacher model can be wrong (e.g., confused by a puddle reflection), a masking mechanism is used. If the student's prediction is more geometrically consistent than the teacher's, the model ignores the teacher's advice for those specific pixels.
- Semantic Alignment Loss: This ensures the model's internal representation of a scene remains consistent whether it is viewing a clear day image or its synthetic rainy counterpart.
Key Results
The SSD method achieved State-of-the-Art (SOTA) performance across major benchmarks:
- nuScenes Night: The student model (SSD-S) reduced the Absolute Relative Error (
absRel) to 0.1939, significantly outperforming the previous best-in-classmd4all(0.2419). - nuScenes Rain: It achieved an
absRelof 0.1410, a nearly 18% improvement over the teacher model. - Oxford RobotCar: On night scenes, SSD-S reached an
absRelof 0.1143, compared to the baseline MonoDepth2's 0.3029.
Qualitatively, SSD-S maintains sharp, accurate depth boundaries for pedestrians and walls in the dark, where other models typically fail.
Conclusion and Future Work
The SSD framework demonstrates that Stable Diffusion can act as a powerful, "plug-and-play" data generator that far surpasses GANs in realism. By leveraging foundation models and selective distillation, SSD provides a robust path forward for monocular systems in all-weather conditions. Future work may extend this paradigm to other dense prediction tasks, such as semantic segmentation or 3D occupancy prediction for autonomous driving.
Summary updated