Multi-Anchor Active Domain Adaptation for Semantic Segmentation

Munan Ning, Donghuan Lu, Dong Wei, Cheng Bian, Chenglang Yuan, Shuang Yu, Kai Ma, Yefeng Zheng

Introduction

Training deep networks for semantic segmentation—the task of assigning a category label to every pixel in an image—is notoriously data-hungry. While Unsupervised Domain Adaptation (UDA) attempts to bridge the gap between synthetic "source" data (like video games) and real-world "target" data (like street scenes), it often fails in complex environments. Standard UDA methods typically force a "blind" alignment, treating data distributions as single, unimodal clusters. This oversimplification can distort the natural structural patterns of real-world scenes, where roads, cars, and buildings form distinct, multimodal clusters.

To address this, the Multi-Anchor Active Domain Adaptation (MADA) framework introduces a strategy that models data as multimodal distributions. By selecting target-domain samples that are most distant from multiple source-domain "anchors" for manual labeling, MADA prevents feature distortion and achieves near-full-supervision performance with minimal human intervention.

Methods

The MADA framework operates in two primary stages: active sample selection and semi-supervised adaptation.

The MADA framework: (a) Active sample selection using multiple anchors, (b-d) Semi-supervised adaptation with soft alignment and pseudo-labeling.
  1. Multi-Anchor Active Selection: Instead of calculating a single center for the source domain, the model uses K-means clustering to identify multiple "anchors" (representative centroids) in the feature space. It then identifies target images that are furthest from any of these source anchors. These "outlier" samples are deemed the most complementary to the existing knowledge and are sent for manual annotation.
  2. Semi-Supervised Adaptation with Soft Alignment: Once the active samples are labeled, the model is fine-tuned. To utilize the remaining unlabeled target data, the authors introduce a soft alignment loss. This loss pulls target features toward a set of target-domain anchors, updated via an Exponential Moving Average (EMA) to ensure stability. This encourages the model to maintain the target domain's internal structure rather than just mimicking the source.
  3. Pseudo-Labeling: The model generates "pseudo-labels" for the unlabeled target data to provide additional supervision during the fine-tuning stage, further refining the segmentation boundaries.

Key Insights: The Anchor Philosophy

By moving from a single centroid to multiple anchors, the model captures the inherent diversity of urban environments. Typical adversarial alignment methods often "squash" different classes together because they lack a nuanced understanding of the target domain's structure. MADA’s multi-anchor approach ensures that the alignment process respects the multi-modal nature of the data.

Visualization of feature distributions and qualitative segmentation results. The multi-anchor approach (green) better preserves the natural clustering of the target domain compared to standard adversarial methods (red).

Furthermore, MADA prioritizes complementarity over uncertainty. While many active learning methods pick samples the model is "unsure" about (high entropy), MADA picks samples that are "different" from what the model already knows from the source. This diversity-driven selection proves more effective for domain adaptation tasks.

Key Results

The researchers evaluated MADA on standard "synthetic-to-real" benchmarks, specifically adapting from GTA5 and SYNTHIA datasets to Cityscapes.

  • State-of-the-Art Performance: On the GTA5 → Cityscapes task, MADA achieved a 64.9 mIoU (mean Intersection-over-Union), outperforming previous leading Active DA methods by a significant margin (5.6% over AADA).
  • High Efficiency: With only 5% of the target data labeled, MADA reached a performance level of 61.6 mIoU. This is remarkably close to the "upper bound" of 69.3 mIoU achieved when 100% of the target data is manually annotated.
  • Ablation Success: The inclusion of the "soft alignment loss" alone provided a significant boost, proving that explicitly modeling the target domain's multimodal structure is a superior strategy to simple global alignment.
  • Optimal Anchor Count: Empirical testing showed that using 10 anchors provided the best balance, suggesting that urban scenes can be effectively summarized by a relatively small number of representative prototypes.

Limitations and Future Work

While MADA represents a significant step forward, it currently utilizes a one-time sample selection process. An iterative selection process—selecting and labeling in multiple rounds—might yield even higher accuracy, though it would increase pipeline complexity. Additionally, while K-means is efficient, managing high-dimensional feature maps across large datasets requires careful memory management. Future work may also explore how the multi-anchor strategy can be specifically tuned to handle extremely rare classes, such as riders or traffic lights, which are often overshadowed by dominant classes like roads and buildings.

Summary updated

BibTeX
@inproceedings{ning2021multi,
  author = {Munan Ning and Donghuan Lu and Dong Wei and Cheng Bian and Chenglang Yuan and Shuang Yu and Kai Ma and Yefeng Zheng},
  title = {{Multi-Anchor Active Domain Adaptation for Semantic Segmentation}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  doi = {10.1109/iccv48922.2021.00898},
}
Figure