Introduction
Modern image retrieval systems, which identify landmarks or buildings within massive databases, rely heavily on Convolutional Neural Networks (CNNs). While these systems achieve high accuracy under consistent lighting, their performance degrades significantly when matching night-time queries against day-time databases. This paper addresses this "domain gap" by introducing a photometric normalization preprocessing step that stabilizes image descriptors across extreme illumination changes.
The Challenge of Illumination
The difficulty in cross-illumination retrieval stems from two primary factors:
- Domain Shift: Drastic changes in lighting alter visual features like color, texture, and shadows. A CNN's global descriptor—the mathematical summary of an image—often fails to recognize the same scene when captured at midnight versus noon.
- Data Scarcity: Training robust models requires high-quality, aligned "day-night" image pairs, which are historically difficult to obtain at scale.
Methodology: Normalization and Embedding
The authors propose a two-stage pipeline that separates lighting normalization from feature embedding. By "cleaning up" the illumination first, the subsequent retrieval network can focus on structural features.
Photometric Normalization
Two approaches were evaluated:
- Hand-crafted: Techniques like Contrast Limited Adaptive Histogram Equalization (CLAHE) redistribute pixel intensities to reveal details in dark regions.
- Learned (U-Net): A U-Net architecture was designed to transform images into a normalized version. This network processes RGB channels alongside a "lightness" channel matched to target statistics.
Training Strategy
To overcome the lack of day-night pairs, the authors employed a proxy task using the See-in-the-Dark (SID) dataset. By training the U-Net to recover structure from short-exposure (dark) and long-exposure (bright) pairs, the model learned to handle low-light noise. This was followed by fine-tuning with a standard retrieval network (VGG with GeM pooling) using a contrastive loss.
Experimental Setup and Datasets
The study utilized several key datasets:
- Retrieval-SfM-N/D: A new dataset of 20,000 illumination-hard pairs generated via 3D reconstructions (Structure-from-Motion) to find images of the same location at different times.
- Tokyo 24/7: The primary benchmark for day, sunset, and night queries.
- Revisited Oxford/Paris: Standard benchmarks used to ensure that improvements in night-time retrieval did not compromise performance on daylight images.
Results and Discussion
The proposed normalization methods significantly improved retrieval accuracy. On the Tokyo 24/7 dataset, the system achieved a Mean Average Precision (mAP) of 72.1–72.4, compared to the 69.9 baseline. Notably, the improvement was most pronounced in "Night Query → Day Database" scenarios.
Crucially, the models maintained state-of-the-art performance on standard daylight benchmarks (Oxford and Paris), proving that robustness to dark conditions can be achieved without regression in normal conditions. While the learned U-Net is powerful, the authors noted that hand-crafted CLAHE performed remarkably well, offering a computationally cheaper alternative for some applications.
Conclusion
By prepending a normalization step to standard CNN architectures, this research demonstrates that image retrieval can be made robust to extreme illumination changes. This approach effectively bridges the domain gap between day and night, enabling reliable localization regardless of the time of day.
Summary updated