Sun Off, Lights On: Photorealistic Monocular Nighttime Simulation for Robust Semantic Perception

Konstantinos Tzevelekakis, Shutong Zhang, Luc Van Gool, Christos Sakaridis · DOI

Introduction

Achieving Level-5 autonomous driving requires perception systems that are robust across all environmental conditions. Nighttime driving, however, remains a significant challenge due to underexposure, glare, and motion blur. Furthermore, annotating nighttime data is notoriously difficult and error-prone for humans. To address this, researchers often turn to Unsupervised Domain Adaptation (UDA), using generative models to translate labeled daytime images into nighttime counterparts.

Traditional 2D approaches, such as Generative Adversarial Networks (GANs) or Diffusion models, frequently struggle with physical consistency. These methods often "hallucinate" textures or fail to model how light interacts with 3D geometry, leading to unrealistic training data. This paper introduces SOLO (Sun Off, Lights On), a framework that shifts the paradigm from 2D pixel manipulation to a 3D-first simulation approach.

The SOLO Framework

SOLO reconstructs a scene in 3D from a single daytime image to enable physics-based rendering. The pipeline consists of four primary stages:

  1. Inverse Rendering: The system estimates 3D geometry (depth and surface normals) and material properties (albedo) from the input daytime image $I_d$. To ensure high-quality geometry, the authors utilize a novel Instance-Reference Cross-bilateral Filter and normal-guided optimization to sharpen object boundaries and maintain semantic integrity.
  2. Probabilistic Light Instantiation: This stage identifies potential light sources, such as building windows and vehicle headlights. A tree-based probabilistic model determines which sources are active and assigns realistic chromaticity based on real-world data.
  3. Forward Rendering: Using the reconstructed 3D mesh and instantiated lights, SOLO employs ray tracing to render the scene. This naturally accounts for complex phenomena like spatially varying illumination, shadows, and reflections.
  4. Post-processing: To simulate real-world sensor effects, the rendered image undergoes an Image Signal Processor (ISP) simulation, adding brightness adjustments and heteroscedastic Gaussian noise.
The SOLO pipeline: from daytime input to photorealistic nighttime simulation via 3D reconstruction and ray tracing.

Datasets and Contributions

The study introduces two new specialized datasets to support nighttime simulation:

  • ACDC Light Sources: A set of 1,003 images with panoptic labels identifying active and inactive light sources.
  • Nighttime Illuminants: A collection of 60 real-world chromaticity samples of common nighttime lights (e.g., sodium lamps, LEDs) captured using professional equipment.

Results and Evaluation

SOLO was evaluated against state-of-the-art 2D methods using the HRDA framework on the ACDC-night benchmark. Quantitatively, SOLO achieved a 63.0 mIoU (mean Intersection over Union), outperforming CycleGAN (62.2) and significantly surpassing ControlNet (59.7).

Qualitatively, SOLO produces images that are structurally superior to 2D methods. As shown in the comparison below, SOLO avoids the "violet tints" and repetitive artifacts common in GAN-based translations. It accurately simulates the localized glow of streetlamps and the distinct shadows cast by point sources, which are essential for training robust semantic segmentation models.

Qualitative comparison demonstrating SOLO's ability to maintain structural integrity and realistic lighting compared to 2D generative methods.

One notable observation is the "Darkness Paradox": SOLO images are often darker than those produced by other methods. While this increased realism can make segmentation more difficult, the authors argue that this "realistic difficulty" is precisely what is needed to train more resilient autonomous systems.

Limitations and Future Work

Despite its success, SOLO has limitations. Current inverse rendering models struggle with the "roughness" of outdoor metallic objects, often defaulting to diffuse reflections. Additionally, the computational cost of ray tracing is higher than 2D methods, making it more suitable for offline data generation than real-time applications. Future work will focus on extending the framework to video sequences to ensure temporal consistency of light sources across frames.

Summary updated

BibTeX
@inproceedings{tzevelekakis2025sun,
  author = {Konstantinos Tzevelekakis and Shutong Zhang and Luc Van Gool and Christos Sakaridis},
  title = {{Sun Off, Lights On: Photorealistic Monocular Nighttime Simulation for Robust Semantic Perception}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2025},
  doi = {10.1109/wacv61041.2025.00184},
}
Figure