Disentangle then Parse: Night-time Semantic Segmentation with Illumination Disentanglement

Zhixiang Wei, Lin Chen, Tao Tu, Huaian Chen, Pengyang Ling, Yi Jin

Abstract

Semantic segmentation in night-time conditions is a significant challenge for autonomous driving due to complex illumination and poor data quality. We propose the Disentangle then Parse (DTP) framework, which explicitly decomposes night-time images into light-invariant reflectance and light-specific illumination components. By treating illumination as a semantic cue rather than mere noise and introducing the refined NightCity-fine dataset, DTP achieves state-of-the-art performance with minimal parameter overhead.

Introduction

While semantic segmentation models perform exceptionally well in clear daytime conditions, their performance drops sharply at night. The authors identify two primary hurdles: feature entanglement and data quality. In low light, the "content" of an object (its reflectance) is tangled with complex, non-uniform lighting like glare and deep shadows, which confuses standard neural networks. Furthermore, existing night-time datasets often contain significant labeling errors that hinder effective training.

Overview of the Disentangle then Parse (DTP) paradigm compared to direct parsing.

Methodology: The DTP Framework

The DTP paradigm shifts away from direct parsing by first disentangling the input image. This approach is implemented through two primary modules designed to handle the unique physics of night-time scenes.

Semantic-Oriented Disentanglement (SOD)

Based on Retinex theory, which models an image as the product of reflectance and illumination, SOD decomposes the input. To prevent the model from learning a trivial mapping, the authors employ a "disturb" operation—adding random noise to the illumination component during training. This forces the network to extract a consistent, light-invariant reflectance map regardless of the lighting conditions.

Illumination-Aware Parser (IAParser)

Unlike traditional low-light enhancement methods that attempt to remove lighting, IAParser recognizes that light itself is a semantic signal. For instance, a bright red glow is a strong indicator of a traffic light. This module uses an attention mechanism to adaptively fuse features from both the reflectance and illumination maps, ensuring the model leverages all available cues.

Detailed architecture of the Semantic-Oriented Disentanglement (SOD) and Illumination-Aware Parser (IAParser).

Datasets and Refinement

To address the issue of data quality, the authors introduced NightCity-fine. They manually corrected 2,554 label maps from the original NightCity dataset, fixing mislabeled regions and missing objects. This high-quality benchmark proved essential for verifying the model's accuracy and demonstrated that the "ceiling" for night-time segmentation was previously limited by the ground truth itself.

Key Results

The DTP framework consistently outperformed state-of-the-art (SOTA) methods across multiple backbones:

  • NightCity-fine: Using a Swin-Base backbone, DTP achieved an mIoU of 64.2%, a 3.1% improvement over the baseline.
  • Generalization: On the BDD100K-night dataset, the model outperformed previous SOTA methods by 4.2% to 5.1% mIoU.
  • Qualitative Performance: Visual results demonstrate much sharper boundaries for pedestrians and vehicles in extremely dark areas where baseline models typically produce "blobby" or incorrect predictions.

Conclusion

The "Disentangle then Parse" framework provides a robust, plug-and-play solution for night-time semantic segmentation. By explicitly modeling the relationship between reflectance and illumination, and providing a cleaner dataset for the community, DTP sets a new standard for safety-critical vision tasks in challenging environments.

Summary updated

BibTeX
@inproceedings{wei2023disentangle,
  author = {Zhixiang Wei and Lin Chen and Tao Tu and Huaian Chen and Pengyang Ling and Yi Jin},
  title = {{Disentangle then Parse: Night-time Semantic Segmentation with Illumination Disentanglement}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
}
Figure