TL;DR
This paper introduces a "similarity min-max" framework for zero-shot day-night domain adaptation, eliminating the need for real nighttime data during training. By jointly optimizing image-level darkening (to minimize feature similarity and create worst-case scenarios) and model-level adaptation (to maximize feature similarity), the approach significantly boosts model performance across diverse downstream vision tasks like classification, segmentation, and action recognition.
What Problem Does This Paper Address?
Deep learning models trained on daytime images notoriously fail at night due to low illumination and contrast. Standard domain adaptation fixes this by aligning daytime and nighttime data distributions, but this requires a large amount of task-specific nighttime data. Gathering this data is often expensive, time-consuming, or impossible in extreme scenarios like deep-sea or deep-space exploration.
Zero-shot domain adaptation aims to bridge this gap without using any real nighttime data. However, previous methods typically focus on either image-level translation (heuristically darkening images) or model-level adaptation (designing illumination-invariant operators) in isolation. They fail to account for the mutual interplay between pixel-level changes and high-level feature representations, leading to sub-optimal performance in real-world nighttime environments.
Methods
The authors propose a unified bi-level optimization framework called Similarity Min-Max, which splits the problem into two distinct phases:
- Image-Level Similarity Minimization: Instead of using arbitrary or heuristic darkening, a learnable darkening module ($D$) is trained to darken daytime images such that the extracted features are as dissimilar as possible to their daytime counterparts. This creates a "worst-case" synthetic nighttime domain that maximizes the domain gap. To keep this process stable and realistic, they use an exposure-guided pixel-wise mapping function based on quadratic curves and a loose total variance loss.
- Model-Level Similarity Maximization: Once the worst-case synthetic nighttime images are generated, the downstream model's feature extractor ($F$) is trained to maximize the feature similarity between the daytime images and their darkened versions. This is achieved using a non-negative contrastive learning framework (inspired by BYOL) with asymmetric projection heads and stop-gradient operations to prevent representation collapse.
Rather than training these two components alternately (like a GAN), which can be highly unstable, the authors use a robust two-step pipeline: first train the darkening module while freezing the model, then freeze the darkening module and train the model.
Datasets
The framework was evaluated across four distinct high-level vision tasks using several standard benchmarks:
- Image Classification: Trained on daytime images from the CODaN dataset and evaluated on its 2,500 nighttime test images.
- Semantic Segmentation: Trained on the daytime Cityscapes dataset and evaluated on the Nighttime Driving and Dark-Zurich datasets.
- Visual Place Recognition: Trained on Retrieval-SfM and evaluated on the Tokyo 24/7 benchmark.
- Low-Light Video Action Recognition: Trained on normal-light clips from HMDB51, UCF101, Kinetics-600, and Moments in Time, and evaluated on the low-light ARID dataset.
Key Insights and Ideas
- Adversarial Darkening: Treating domain adaptation as an adversarial game—where the image-darkener acts as an opponent creating the hardest possible low-light examples—forces the feature extractor to learn truly illumination-robust representations.
- Feature Space vs. Visual Space: Accurately simulating a realistic night scene (complete with streetlights, complex shadows, and glare) is incredibly difficult without real data. However, this paper demonstrates that visual perfection isn't necessary; matching the distribution in the feature space is sufficient for high-level machine vision tasks.
- Two-Step Stability: Avoiding the typical alternating training of min-max optimization in favor of a sequential two-step approach yields significantly better stability and performance, preventing model collapse.
Key Results
The proposed method achieves state-of-the-art (SOTA) results across all evaluated tasks without ever seeing a single real nighttime image during training:
- Classification (CODaN): Reached 65.87% top-1 accuracy, outperforming the previous best zero-shot method (CIConv) by over 5.5%.
- Semantic Segmentation: Achieved 44.9% mIoU on Nighttime Driving and 40.2% mIoU on Dark-Zurich, significantly beating low-light enhancement and domain generalization baselines.
- Visual Place Recognition (Tokyo 24/7): Achieved 90.4% mAP, which is competitive even with conventional domain adaptation methods that train on real nighttime data.
- Video Action Recognition (ARID): Boosted top-1 accuracy to 51.52% (a 4.5% improvement over the baseline model).
Limitations and Future Work
While the feature space alignment is highly effective, the darkening module relies primarily on a global illumination reduction prior. It does not explicitly simulate complex nighttime semantic artifacts like artificial glare, car headlights, or dynamic shadows. The authors note that future work could explore incorporating these complex light effects into the zero-shot framework to further bridge the domain gap.
Summary updated