Estimating depth from standard camera images is a cornerstone of modern autonomous driving systems. While self-supervised methods have made significant strides in daytime scenarios, nighttime remains a "final boss" for computer vision. The STEPS framework addresses this by jointly learning nighttime image enhancement and depth estimation without the need for ground-truth labels.
The Challenge of the Night
Self-supervised depth estimation typically relies on the photometric consistency assumption. This principle suggests that a point in a 3D scene should look the same across different video frames. By "warping" one frame to match another, models can learn to predict depth based on geometric alignment.
At night, this assumption fails. Headlights create moving glares, streetlights produce localized pools of brightness, and deep shadows hide texture entirely. These artifacts violate the static-world assumption, leading standard models to produce massive errors. While pre-processing images with "night-to-day" enhancers is a potential solution, most existing enhancers are biased toward indoor scenes and fail to handle the specific dynamic range of a dark highway.
The STEPS Framework
STEPS (Self-supervised joinT Enhancement and dePth estimation System) introduces a dual-module architecture that trains collaboratively to overcome these lighting hurdles.
1. Self-supervised Image Enhancement (SIE)
Based on Retinex theory—which models an image as the product of illumination and reflectance—this module learns to brighten underexposed areas and normalize lighting. Crucially, it does so without requiring "clean" target images, learning instead from the inherent properties of the nighttime sequences.
2. Depth Estimation with Daytime Priors
To guide the depth module, the authors employ an adversarial setup. A discriminator forces the nighttime depth maps to maintain the structural integrity and distribution seen in high-quality daytime models. This "daytime prior" helps the model maintain realistic scene geometry even when visual cues are sparse.
3. Uncertain Pixel Masking ($M_{uc}$)
The core innovation of STEPS is the "bridge-shaped" uncertainty mask. Most research focuses solely on underexposure, but STEPS recognizes that overexposure (glare from headlights or streetlamps) is equally damaging. The system calculates an illumination map and assigns low confidence to pixels at both ends of the spectrum—the pitch-black and the blindingly bright. By "softly masking" these pixels out of the loss function, the model avoids learning from unreliable, noisy, or glare-filled data.
4. Integrated Denoising
Nighttime photography is plagued by sensor noise, which breaks geometric consistency. STEPS integrates a pre-trained denoising module (AP-BSN) to clean the input, ensuring the depth estimator works with the clearest possible signal.
Benchmarking and the CARLA-EPE Dataset
The model was rigorously evaluated on real-world datasets, including nuScenes and Oxford RobotCar. However, the authors noted a limitation in existing benchmarks: LiDAR-based ground truth is often sparse, providing data only for specific points.
To provide a more robust evaluation, the authors created CARLA-EPE. By taking synthetic data from the CARLA simulator and applying a photorealism enhancement network, they generated a nighttime dataset with dense ground truth for every pixel. This allows for a much more granular assessment of how well models handle complex object boundaries at night.
Key Results and Insights
STEPS demonstrates a significant leap over previous state-of-the-art (SOTA) methods like RNW:
- Superior Accuracy: On the nuScenes dataset, STEPS improved depth accuracy by 16.2% and reduced the absolute relative error by 10.4%.
- Handling Glare: Qualitative results show that while previous models "hallucinate" incorrect depths in overexposed areas, STEPS correctly identifies object boundaries even in high-glare regions.
- Real-Time Performance: Despite its joint architecture, the model achieves 25 FPS on a single NVIDIA 2080Ti, making it a viable candidate for real-time autonomous navigation.
Conclusion
By treating image enhancement and depth estimation as a single, unified task, STEPS proves that the two processes can mutually benefit one another. The illumination map used for enhancement serves as a natural guide for identifying which pixels the depth estimator should trust. While future work may involve training the denoising module jointly or reducing the reliance on daytime "teacher" models, STEPS represents a major step toward reliable 24/7 autonomous vision.
Summary updated