1 of 18

Multi-Anchor Active Domain Adaptation for Semantic Segmentation

-- Munan Ning

腾讯天衍实验室

TENCENT JARVIS LAB

2 of 18

Contents

  • Problem definition
  • Related work
  • Method
  • Result

Tencent Jarvis

3 of 18

Problem definition

Domain bias for semantic segmentation

  • Problem:The prediction distortion in when adapting models from Source domain to Target domain

  • Reasons:

1) Appearance bias: Source and target domain have different image styles

2) Content bias: Source and target domain vary in content distribution

  • Essence: Lacking of target information

Ground truth

Adaptation result

Target sample

Tencent Jarvis

4 of 18

Problem definition

Visualization of two biases

  • Appearance bias: Source and target domain have different image styles
  • Content bias: Source and target domain vary in content distribution

  • Summary:

1) Possessing different image styles

2) Sharing similar content structure but not same

Source-1(GTA5)

Source-2(SYNTHIA)

Target (Cityscapes)

Image

Label

Tencent Jarvis

5 of 18

Related work-UDA methods

Unsupervised Domain Adaptation for semantic segmentation

  • Definition:Aligning the target-domain distribution towards the source-domain distribution

  • AdaptSegNet[1]:

  • A typical adversarial based UDA method:

  • Compose of a Generator (shared segmentation model) and a Discriminator

  • Aligning features and predictions from source domain and target domain

[1] Tsai, Yi-Hsuan, et al. "Learning to adapt structured output space for semantic segmentation." CVPR. 2018.

Tencent Jarvis

6 of 18

Related work-UDA methods

More UDA methods

  • DISE[2] proposed a disentangled representation learning architecture to preserve structural information during image translation

  • Feature aligning methods such as CLAN [3] and CAG [4] utilized category-based distribution alignment to adapt the source and target domains in the feature and output spaces

[2] Chang, Wei-Lun, et al. "All about structure: Adapting structural information across domains for boosting semantic segmentation." CVPR. 2019.

DISE:

CLAN:

CAG:

[3] Luo, Yawei, et al. "Taking a closer look at domain shift: Category-level adversaries for semantics consistent domain adaptation." CVPR. 2019.

[4] ZHANG, Qiming, et al. "Category Anchor-Guided Unsupervised Domain Adaptation for Semantic Segmentation." NIPS. 2019.

Tencent Jarvis

7 of 18

Related work-Active learning

Active learning for single domain

  • Definition:Optimizing performance at a low annotation cost, by actively selecting most informative samples

  • Labeling informative samples (right) perform better than labeling random samples (middle)

Tencent Jarvis

8 of 18

Related work-Active learning

Active learning for domain adaptation

  • AADA (Active Adversarial Domain Adaptation) [5]:Exploring a combination between two related problems: adversarial domain alignment and importance sampling for adapting models across domains.

  • Start from an unsupervised domain adaptation setting, select samples using importance weight and re-train the model.

[5] Su, Jong-Chyi, et al. "Active adversarial domain adaptation." WACV. 2020.

Tencent Jarvis

9 of 18

Method-Motivation

Visualization of distribution distortion

  • The average latent representation of source domain (blue squares) and target domain (yellow squares) share little overlap (region ①) along with large discrepancy (regions ② and ③)

  • In region ①, source and target samples share similar content, and Adv. methods [1] achieve good performance

  • In region ② and ③, inferior segmentations are yielded because of obvious distribution distortion

Tencent Jarvis

10 of 18

Method-Framework

Solution

  • Essence:

Multiple anchoring mechanism

  • Two phases:

①Active target sample selection against source anchors (part. A)

②Semi-supservised domain adapt-ation (part. B-D)

Tencent Jarvis

11 of 18

Method-Framework

 

  • How:

①Calculate the features of each sample

②Cluster sample features with K-means

③ Denote the cluster centers as anchors

Tencent Jarvis

12 of 18

Method-Framework

Active sample selection

  • Purpose:

①Measure distance between the target-domain samples and the source-domain anchors.

②Find the most far away samples.

  • Cross-domain metric:

Calculate the distance of target sample to the nearest anchor as the sample-to-domain distance

Tencent Jarvis

13 of 18

Method-Framework

Semi-supervised domain adaptation

  • Loss functions:

①Segmentation loss for labeled source and active samples

②Soft alignment loss between target sample and target anchors

③Pseudo label segmentation loss for unlabeled target samples

① Segmentation loss

② Soft alignment loss

③Pseudo label segmentation loss

Tencent Jarvis

14 of 18

Result

Comparison with Sotas

  • We observe substantial improvements over the UDA methods, suggesting that with carefully selected active samples, little manual annotation workload can lead to large performance
  • The proposed method outperforms another active DA method, i.e., AADA, by a large margin, demonstrating the effectiveness of the proposed multi-anchor strategy

Tencent Jarvis

15 of 18

Result

Comparison with Sotas

  • We observe substantial improvements over the UDA methods, suggesting that with carefully selected active samples, little manual annotation workload can lead to large performance
  • The proposed method outperforms another active DA method, i.e., AADA, by a large margin, demonstrating the effectiveness of the proposed multi-anchor strategy

Tencent Jarvis

16 of 18

Result

Comparison with active metrics

  • We can observe that the proposed multi-anchor strategy delivers the best segmentation performance in mIoU, suggesting that better active samples are selected by our proposed strategy.

Tencent Jarvis

17 of 18

Result

Visualization

  • By alleviating the distortion of target features, fewer segmentation errors as well as more precise boundaries can be obtained with the proposed MADA method.

Tencent Jarvis

18 of 18

Thanks