Abstract
Monocular depth estimation (MDE) is a cornerstone of autonomous navigation, yet current models often fail under adverse conditions like night and rain. We introduce md4all, a training strategy that makes MDE robust to these challenges by training models on synthetic adverse images while utilizing training signals derived from their clear-weather counterparts. By providing "always valid" signals, md4all achieves state-of-the-art results across diverse environments without architectural changes or inference-time overhead.
The Challenge of Adverse Conditions
Monocular depth estimation—predicting 3D depth from a single 2D image—is essential for autonomous systems. While modern models perform well in clear daylight, their performance degrades significantly in challenging environments.
The problem is twofold:
- Self-supervised models rely on photometric consistency, assuming pixels look the same across frames. Nighttime reflections, glare, and sensor noise violate this assumption, leading to catastrophic failures.
- Supervised models are limited by their ground truth data. In heavy rain or fog, LiDAR sensors suffer from "blooming" and multi-path effects, providing erroneous data that models then learn to replicate.
Methodology: The md4all Strategy
The core philosophy of md4all is to provide the model with "always valid training signals." Instead of attempting to model the complex physics of nighttime light or rainy LiDAR, the approach bypasses the noise during training through three key steps:
- Day-to-Adverse Translation: A Generative Adversarial Network (ForkGAN) transforms "easy" clear-day training samples into "complex" adverse ones (night, rain, snow). This creates pairs where the scene geometry is identical, but the environmental conditions differ.
- The md4all-AD (Always Daytime) Scheme: During training, the model is fed a mix of original and generated images. Crucially, the loss is computed as if the model were seeing the clear version. For supervised learning, this means using clean LiDAR from the clear day; for self-supervised learning, it means calculating photometric losses on the original daytime frames.
- The md4all-DD (Day Distillation) Scheme: To further stabilize self-supervised learning, a "teacher" model trained only on clear-day data provides a reliable depth signal (distillation loss) for the "student" model learning from noisy adverse inputs.
This approach requires no architectural changes, meaning there is zero performance penalty at inference time.
Key Results and Insights
The quantitative improvements are substantial. On the nuScenes nighttime benchmark, md4all reduced the absolute relative error (absRel) by 32% compared to the baseline. On the Oxford RobotCar dataset, the model achieved an absRel of 0.1219 at night—outperforming the previous state-of-the-art by a wide margin.
Qualitatively, md4all produces much sharper depth maps and correctly identifies objects that standard models miss or blur. It effectively ignores transient noise and reflections that typically lead to artifacts in self-supervised depth maps.
Furthermore, by using clear-day LiDAR as the signal for rainy-day inputs, the authors effectively "clean" the ground truth, preventing the model from learning LiDAR artifacts. Training with these translated "hard" samples also acts as a powerful form of regularization, improving performance even on clear-day images.
Conclusion
The md4all framework demonstrates that robustness in monocular depth estimation can be achieved by ensuring consistent training signals across varying environmental conditions. By decoupling geometric learning from visual noise, the method provides a scalable solution for reliable autonomous navigation in all weather conditions.
Summary updated