ICDA: Illumination-Coupled Domain Adaptation Framework for Unsupervised Nighttime Semantic Segmentation

Chenghao Dong, Xuejing Kang, Anlong Ming

Abstract

Semantic segmentation in nighttime conditions remains a significant challenge due to the massive illumination and dataset gaps between daytime training data and nighttime testing environments. We present the Illumination-Coupled Domain Adaptation (ICDA) framework, which treats daytime and nighttime images as coupled pairs rather than independent entities. By leveraging cross-domain deformable attention and class-level alignment, ICDA bridges these gaps, achieving state-of-the-art performance on major benchmarks.

Introduction

Semantic segmentation—the task of assigning a class label to every pixel in an image—is highly effective in clear daytime conditions. However, nighttime imagery introduces two critical challenges: the illumination gap, characterized by low light and glare, and the dataset gap, resulting from variations in sensors and viewpoints. Traditional Unsupervised Domain Adaptation (UDA) methods often fail because they treat these domains as separate, making it difficult for models to transfer knowledge when nighttime features are severely degraded.

Comparison between standard domain adaptation (a) and the proposed domain-pair coupling approach (b).

The ICDA framework addresses these issues by "coupling" the domains at the feature level. This allows the model to use high-quality daytime features as a persistent reference point to resolve ambiguity in dark scenes.

Methodology

The ICDA framework introduces three core components to unify the daytime and nighttime domains: the Composite Enhancement Method (CEM), Deformable Attention Relevance (DAR), and Prototype-based Class Alignment (PCA).

The complete ICDA framework architecture, detailing the CEM, DAR, and PCA components.

Composite Enhancement Method (CEM)

To facilitate training, CEM creates "domain pairs" by simulating nighttime illumination using CycleGAN and applying random spatial transformations. Crucially, it maintains spatial consistency, ensuring that objects in synthetic nighttime images correspond directly to their daytime counterparts, providing a stable unit for adaptation.

Deformable Attention Relevance (DAR)

DAR is the central mechanism of the framework. It employs a cross-domain deformable attention mechanism that allows the model to "remedy" blurry or dark nighttime features by attending to corresponding high-quality daytime features. This effectively uses daytime information as a guide to "clean up" nighttime predictions.

Prototype-based Class Alignment (PCA)

To handle the dataset gap, PCA calculates "prototypes" (representative feature vectors) for each category. The model forces features from both daytime and nighttime images to cluster around these prototypes, ensuring the learning of category-specific features that are invariant to lighting conditions.

Experiments and Results

The framework was evaluated using CityScapes as the source domain and Dark Zurich as the primary target domain. Generalization was further tested on the BDD100k-night dataset.

  • Dark Zurich: ICDA achieved a state-of-the-art 58.2% mIoU, a 2% improvement over previous best methods. The model showed significant improvements in difficult classes such as "bus" and "train," which are often missed by models relying on global alignment.
  • BDD100k-night: On this generalization benchmark, ICDA reached 38.9% mIoU, outperforming the previous SOTA by nearly 4% without additional fine-tuning.

Conclusion

ICDA demonstrates that nighttime semantic segmentation is best approached by coupling daytime and nighttime domains. By utilizing cross-domain deformable attention and class-level alignment, the framework effectively overcomes the challenges of low-light environments. Future research will explore the application of this coupled approach to other adverse conditions such as rain and fog.

Summary updated

BibTeX
@inproceedings{dong2023icda,
  author = {Chenghao Dong and Xuejing Kang and Anlong Ming},
  title = {{ICDA: Illumination-Coupled Domain Adaptation Framework for Unsupervised Nighttime Semantic Segmentation}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.24963/ijcai.2023/75},
}
Figure