Abstract
Nighttime driving presents a significant challenge for vision-centric autonomous vehicle perception systems. We present LightDiff, a multi-condition diffusion framework designed for unpaired low-light enhancement. By leveraging synthetic data degradation, multi-condition adapters, and LiDAR-based reinforcement learning, LightDiff improves 3D object detection accuracy without requiring paired datasets. Our approach ensures geometric consistency and perception-aligned enhancement, outperforming existing state-of-the-art methods in both visual quality and downstream task performance.
Introduction: The Challenge of Darkness
While vision-centric perception systems are cost-effective and scalable compared to LiDAR-heavy setups, they have a major Achilles' heel: darkness. Low-light conditions drastically reduce the reliability of object detection, a fact highlighted by the disproportionate number of fatal crashes occurring at night.
The standard solution—collecting massive amounts of nighttime driving data—is labor-intensive and expensive. Furthermore, existing image enhancement techniques often focus on making images look "pretty" for humans rather than "accurate" for computer vision models, frequently introducing artifacts or losing critical semantic details like the exact position of a pedestrian.
The LightDiff Framework
LightDiff is a domain-tailored framework built on top of Stable Diffusion. Its architecture rests on four main pillars designed to bridge the gap between human aesthetics and machine perception.
1. Dynamic Data Degradation
Since paired day/night images of the same scene are nearly impossible to capture in moving traffic, LightDiff utilizes a pipeline to turn daytime images into realistic "synthetic night" images. This involves transforming sRGB images back to RAW, applying linear attenuation and noise (Shot and Read noise), and then processing them back to sRGB.
2. Multi-Condition Adapter
Standard diffusion models often struggle with semantic consistency. LightDiff uses a novel adapter that intelligently weights three different inputs: the degraded RGB image, an estimated depth map, and a text caption (e.g., "a car driving down a street"). This ensures the enhanced image doesn't just look brighter but stays true to the original scene's geometry.
3. Perception-Specific RL Fine-tuning
To prioritize features that 3D detectors require, the model is fine-tuned using Reinforcement Learning. It employs two specific rewards:
- Depth Score: Compares the enhanced image's geometry against "trustworthy" LiDAR data.
- Distribution Score: Ensures the statistical features of the enhanced image match real daytime data.
4. Recurrent Lighting Inference (ReLI)
At test time, the model uses an iterative feedback loop. It performs an initial enhancement, then uses that improved image to generate a higher-quality caption and depth map, which are fed back into the model for a second, more accurate pass.
Experimental Results
LightDiff was evaluated using the nuScenes dataset, utilizing 24,745 daytime images for training and 602 nighttime images for validation. The framework was tested against several state-of-the-art (SOTA) 3D detectors like BEVDepth and BEVStereo.
- Detection Performance: Without any additional training of the detection models themselves, applying LightDiff enhancement improved 3D vehicle detection Average Precision (AP) by 4.2% for BEVDepth and 4.6% for BEVStereo at nighttime.
- Visual Quality: LightDiff outperformed both supervised and unsupervised SOTA enhancement methods (like Zero-DCE++ and EnlightenGAN) across nine different no-reference image quality metrics.
- Structural Consistency: Qualitative results demonstrate that LightDiff maintains superior color contrast and structural detail in extremely dark regions compared to existing diffusion-based methods like ControlNet.
Conclusion and Future Work
LightDiff demonstrates that generative models can be effectively harnessed for safety-critical perception tasks by grounding them in physical reality (via LiDAR) and task-specific rewards. While the framework significantly boosts detection performance, the authors note that synthesizing realistic, dynamic vehicle lights (headlights and taillights) remains a challenge. Future work will focus on improving the simulation of these artificial light sources to further close the domain gap between synthetic and real-world nighttime driving.
Summary updated