Skip to main content
QUICK REVIEW

[Paper Review] Bi-Mix: Bidirectional Mixing for Domain Adaptive Nighttime Semantic Segmentation

Guanglei Yang, Zhun Zhong|arXiv (Cornell University)|Nov 19, 2021
Advanced Neural Network ApplicationsComputer Science27 references7 citations
TL;DR

This paper proposes Bi-Mix, a one-stage bidirectional mixing framework for domain adaptive nighttime semantic segmentation that enhances image relighting and segmentation adaptation by jointly leveraging coarsely aligned day-night pairs. By alternating between translation-to-segmentation and segmentation-to-translation learning with class-balanced mixed sampling, Bi-Mix achieves state-of-the-art performance on Dark Zurich and Nighttime Driving datasets, with mIoU scores of 47.3% and 51.6%, respectively.

ABSTRACT

In autonomous driving, learning a segmentation model that can adapt to various environmental conditions is crucial. In particular, copying with severe illumination changes is an impelling need, as models trained on daylight data will perform poorly at nighttime. In this paper, we study the problem of Domain Adaptive Nighttime Semantic Segmentation (DANSS), which aims to learn a discriminative nighttime model with a labeled daytime dataset and an unlabeled dataset, including coarsely aligned day-night image pairs. To this end, we propose a novel Bidirectional Mixing (Bi-Mix) framework for DANSS, which can contribute to both image translation and segmentation adaptation processes. Specifically, in the image translation stage, Bi-Mix leverages the knowledge of day-night image pairs to improve the quality of nighttime image relighting. On the other hand, in the segmentation adaptation stage, Bi-Mix effectively bridges the distribution gap between day and night domains for adapting the model to the night domain. In both processes, Bi-Mix simply operates by mixing two samples without extra hyper-parameters, thus it is easy to implement. Extensive experiments on Dark Zurich and Nighttime Driving datasets demonstrate the advantage of the proposed Bi-Mix and show that our approach obtains state-of-the-art performance in DANSS. Our code is available at https://github.com/ygjwd12345/BiMix.

Motivation & Objective

  • To address the challenge of domain shift in autonomous driving, particularly the poor generalization of daytime-trained models to nighttime conditions.
  • To improve image relighting quality using coarsely aligned day-night image pairs without relying on intermediate twilight domains.
  • To mitigate class imbalance in nighttime segmentation by introducing class-balanced mixed sampling during adaptation.
  • To unify image translation and segmentation adaptation into a single, efficient one-stage framework that avoids error accumulation from multi-stage training.
  • To enhance mutual supervision between the translation and segmentation models through bidirectional learning.

Proposed method

  • Bi-Mix employs a bidirectional learning framework with two directions: 'translation-to-segmentation' (Trans2Seg) and 'segmentation-to-translation' (Seg2Trans).
  • In Trans2Seg, the image translation model relights nighttime images, which are then segmented using a segmentation head with a segmentation loss and adversarial loss.
  • Mixed sampling is applied in Trans2Seg by combining pixels from randomly selected classes of daytime images with nighttime images to balance class distribution.
  • In Seg2Trans, mixed samples are created using predicted segmentation masks to guide the translation model, ensuring content consistency between day and night images.
  • A consistency loss is applied in Seg2Trans to align the translated image with the original daytime image, improving translation quality.
  • The framework uses three hyper-parameters (μ₁, μ₂, μ₃) to balance mixed sampling, relighting, and self-supervised learning, with optimal values found at 0.001, 0.001, and 1, respectively.

Experimental results

Research questions

  • RQ1Can joint learning of image translation and segmentation adaptation improve performance in nighttime semantic segmentation without requiring intermediate domains?
  • RQ2How can coarsely aligned day-night image pairs be effectively leveraged to improve relighting and segmentation quality?
  • RQ3Can mixed sampling strategies mitigate class imbalance in nighttime segmentation while preserving semantic consistency?
  • RQ4Does bidirectional learning between translation and segmentation models lead to mutual improvement and better domain adaptation?
  • RQ5How sensitive is the proposed method to hyper-parameters governing mixed sampling and self-supervision?

Key findings

  • Bi-Mix achieves a new state-of-the-art mIoU of 47.3% on the Nighttime Driving test set, surpassing previous methods.
  • On the Dark Zurich test set, Bi-Mix achieves 51.6% mIoU, demonstrating strong generalization to unseen nighttime scenes.
  • Ablation studies confirm that unidirectional mixed sampling in both Trans2Seg and Seg2Trans directions improves performance over the baseline DANNet.
  • The relighting network significantly boosts performance, with a clear drop in mIoU when removed, proving its importance in enhancing image quality.
  • Parameter analysis shows optimal performance at μ₁ = 0.001, μ₂ = 0.001, and μ₃ = 1, with higher values degrading results.
  • Qualitative results show that Bi-Mix generates more realistic and semantically consistent relighted images compared to baseline methods.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.