Boosting Object Detection with Zero-Shot Day-Night Domain Adaptation

Zhipeng Du, Miaojing Shi, Jiankang Deng

Abstract

Object detection in low-light environments remains a significant challenge due to the domain gap between well-lit training data and dark test scenarios. This paper introduces DAI-Net, a framework designed for Zero-Shot Day-Night Domain Adaptation (ZSDA). By leveraging Retinex theory to decouple structural reflectance from illumination and employing a novel Interchange-Redecomposition-Coherence (IRC) mechanism, DAI-Net achieves state-of-the-art performance without requiring real-world nighttime images during training.

Introduction

Standard object detection models, typically trained on high-quality, well-lit datasets, suffer from severe performance degradation in low-light conditions. Challenges such as low visibility, sensor noise, and color distortion make traditional detection unreliable for critical applications like autonomous driving and surveillance. While collecting and annotating low-light data is a potential solution, it is prohibitively expensive and logistically difficult. This work addresses the Zero-Shot Day-Night Domain Adaptation (ZSDA) problem: enabling a detector to generalize to nighttime environments using only daytime data and a physics-based "dark prior."

Methodology: The DAI-Net Framework

The proposed DArk-Illuminated Network (DAI-Net) addresses the domain gap through four key components:

  1. Physics-Inspired Synthesis: A "Dark ISP" pipeline synthetically degrades well-lit images to create pairs of "day" and "simulated night" photos, providing a controlled environment for learning dark features.
  2. Retinex-Based Reflectance Learning: Based on Retinex theory—where an image is the product of reflectance and illumination—DAI-Net uses a specialized decoder to extract illumination-invariant reflectance features.
  3. Interchange-Redecomposition-Coherence (IRC): To ensure stable reflectance extraction, the model performs a "swap" experiment. It decomposes bright and dark images, swaps their reflectances, reconstructs new images, and redecomposes them. A Coherence Loss ensures the reflectance remains consistent across these transformations.
  4. Mutual Feature Alignment (MFA): This loss function aligns high-level features from the backbone for both bright and dark versions of the same scene, ensuring the detector focuses on structural content rather than lighting conditions.
Architecture of DAI-Net featuring the IRC and MFA modules.

Experiments and Results

DAI-Net was trained on WIDER FACE and COCO 2017 and evaluated on challenging low-light benchmarks including DARK FACE, ExDark, and LOL v2.

Quantitative Performance

DAI-Net sets new benchmarks for zero-shot adaptation:

  • Face Detection: On the DARK FACE test set, DAI-Net achieved 28.0% mAP, significantly outperforming previous ZSDA methods such as Sim-MinMax (25.7%) and CIConv (18.4%).
  • Object Detection: On the ExDark dataset, the model reached 78.3% mAP, a substantial improvement over the YOLOv3 baseline (62.7%).
  • Supervised Fine-Tuning: Even when real low-light data is available for fine-tuning, DAI-Net maintains an edge, outperforming standard models (52.9% vs 46.0% mAP).

Qualitative Analysis

Visualizations on the DARK FACE and LOL v2 datasets demonstrate that DAI-Net produces much cleaner and more accurate feature maps compared to standard detectors like DSFD, which struggle with noise and low contrast in the dark.

Qualitative comparison of DAI-Net (Ours) against DSFD on low-light benchmarks.

Discussion and Conclusion

The success of DAI-Net highlights the power of treating reflectance as a "universal language" for domain adaptation. By enforcing consistency through the IRC procedure rather than simple pixel-level reconstruction, the model learns features that are truly invariant to lighting.

While the method relies on the quality of synthetic "Dark ISP" simulations and utilizes a frozen Retinex prior, it demonstrates that feature-level alignment is superior to traditional image enhancement for downstream detection tasks. Future work may explore end-to-end learning of the decomposition process to further improve stability and performance in extreme real-world conditions.

Summary updated

BibTeX
@inproceedings{du2023boosting,
  author = {Zhipeng Du and Miaojing Shi and Jiankang Deng},
  title = {{Boosting Object Detection with Zero-Shot Day-Night Domain Adaptation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure