Towards Dynamic and Small Objects Refinement for Unsupervised Domain Adaptative Nighttime Semantic Segmentation

Jingyi Pan, Sihang Li, Yucheng Chen, Jinjing Zhu, Lin Wang

TL;DR

This paper introduces a novel one-stage Unsupervised Domain Adaptation (UDA) framework designed to improve nighttime semantic segmentation by specifically targeting "dynamic and small objects" (like pedestrians, cars, and poles). By combining a class-aware mixup strategy with feature-level prototype alignment, the authors achieve new state-of-the-art results on major nighttime benchmarks, significantly outperforming previous methods in identifying the most challenging categories in low-light conditions.

What Problem Does This Paper Address?

Semantic segmentation—the task of labeling every pixel in an image—is a cornerstone of autonomous driving. While models perform exceptionally well in daylight, their accuracy plummets at night due to poor illumination, glare, and a lack of annotated nighttime datasets.

Current Unsupervised Domain Adaptation (UDA) methods try to bridge this "domain gap" by training on labeled daytime data (Source) and unlabeled nighttime data (Target). However, they face two major hurdles:

  1. Style Transfer Limitations: Many rely on "relighting" models that struggle with the complexity of real-world nighttime environments.
  2. The "Dynamic/Small" Blind Spot: Small objects (poles, signs) and dynamic objects (moving cars, pedestrians) are often ignored or misaligned in day-night image pairs. Because these objects move or are tiny, the model struggles to transfer knowledge about them from the daytime domain to the nighttime domain.

Methods

The authors propose a framework consisting of two primary technical modules:

1. Dynamic and Small Object Refinement (DSR)

To give the model "ground truth" examples of what small and dynamic objects look like at night, the DSR module uses class-aware mixup. It takes labeled objects (like a car or a pole) from the daytime source domain and "pastes" them into nighttime target images.

  • Memory Bank: To handle "long-tailed" (rare) classes like buses or bicycles, the system maintains a memory bank to ensure these objects appear frequently enough during training to be learned effectively.
  • Mixed Domain: This process creates a synthetic "mixed domain" that serves as a bridge between day and night.

2. Feature Prototype Alignment (FPA)

Once the mixed images are created, the model needs to ensure its internal representations (features) are consistent across all domains.

  • Contrastive Learning: The FPA module extracts "prototypes" (representative feature vectors) for each class. It uses a contrastive loss to pull features of the same class from different domains (Source, Mixed, and Target) closer together while pushing different classes apart.
  • Adaptive Re-weighting: The authors designed a mechanism to give more weight to the dynamic and small object categories during this alignment process, forcing the model to pay more attention to the hardest-to-segment items.

Datasets

The study utilizes several standard benchmarks for training and evaluation:

  • Cityscapes: Used as the labeled source domain (daytime).
  • Dark Zurich: The primary target domain, containing 2,416 day-night image pairs for training and a dedicated test set.
  • Nighttime Driving: A dataset used to evaluate the model's generalization.
  • ACDC-night: A subset of the Adverse Conditions Dataset with Nighttime images used for further validation.

Key Insights and Ideas

  • The "Mixed Domain" Bridge: Instead of trying to jump directly from day to night, creating a synthetic intermediate domain where known daytime objects exist in a nighttime context provides a much-needed "stepping stone" for the neural network.
  • Moving Beyond Static Regions: Previous UDA methods often focused on static "stuff" (road, sidewalk, buildings) because they are easier to align. This paper argues that for safety-critical applications like autonomous driving, the "things" (cars, people) are actually more important and require specialized refinement.
  • Prototype-based Supervision: By using prototypes rather than just pixel-to-pixel comparisons, the model learns a more robust, domain-invariant understanding of what a "car" or "pole" looks like, regardless of the lighting.

Key Results

The proposed method achieved a new State-of-the-Art (SoTA) across multiple backbones (HRDA, DeepLabv2, and RefineNet):

  • Dark Zurich-test: Achieved a significant mIoU (mean Intersection over Union) improvement. Specifically, it saw massive jumps in difficult categories: +20.2% for 'bus', +3.0% for 'car', and +2.9% for 'pole' compared to previous top-tier methods.
  • Generalization: The model outperformed existing methods on the Nighttime Driving and ACDC-night datasets, proving it isn't just "overfitting" to one specific city's nighttime look.
  • Qualitative Improvements: Visual results show much sharper edges for pedestrians and motorcycles in the dark, where previous models (like DANNet) often produced blurry or incorrect blobs.

Limitations and Future Work

  • Coarse Annotations: The authors note that the Nighttime Driving test set has relatively coarse annotations, which can make fine-grained evaluation difficult.
  • Extreme Conditions: While the model handles low light well, extremely "under-exposed" conditions where context is almost entirely lost still present a challenge for semantic consistency.
  • Future Direction: The authors suggest that further refining the "holistic refinement" of pseudo-labels could lead to even better performance in static regions, complementing their current focus on dynamic objects.

Summary updated

BibTeX
@inproceedings{pan2024towards,
  author = {Jingyi Pan and Sihang Li and Yucheng Chen and Jinjing Zhu and Lin Wang},
  title = {{Towards Dynamic and Small Objects Refinement for Unsupervised Domain Adaptative Nighttime Semantic Segmentation}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2024},
  doi = {10.1109/iros58592.2024.10801389},
}
Figure