Density Matters: Improved Core-Set for Active Domain Adaptive Segmentation

Shizhan Liu, Zhengkai Jiang, Yuxi Li, Jinlong Peng, Yabiao Wang, Weiyao Lin

Abstract

Training semantic segmentation models is notoriously expensive due to the requirement for dense, pixel-level annotations. Active Domain Adaptation (ADA) seeks to mitigate this by strategically selecting a small subset of target domain data for labeling. This paper introduces a "Density-aware Core-set" selection strategy that prioritizes representative pixels by accounting for their local density in the feature space. We demonstrate that the Core-set loss is more effectively bounded by the average radial distance rather than the traditional maximum distance. To implement this, we propose a Proxy Density Estimator using Dynamic Masked Convolution (DMC) and a Density-aware Greedy selection algorithm. Our approach achieves near-full supervision performance on standard benchmarks with as little as 2.2% of target domain labels.

Introduction

The success of deep learning in semantic segmentation relies heavily on large-scale labeled datasets. However, obtaining pixel-level labels for new domains (e.g., transitioning from synthetic to real-world cityscapes) is labor-intensive. Active Domain Adaptation (ADA) addresses this by leveraging a labeled source dataset and selecting the most informative target samples for human annotation.

A common approach in ADA is the Core-set method, which aims to select a subset of points such that every point in the dataset is close to at least one selected point. Traditional Core-set methods focus on minimizing the maximum distance (radius) between any data point and its nearest labeled neighbor. In high-dimensional pixel spaces, this "furthest-point" strategy often selects outliers or redundant samples, failing to capture the underlying data distribution effectively.

Theoretical Motivation: Beyond the Maximum Distance

The authors identify a fundamental limitation in classical Core-set theory when applied to dense segmentation tasks. They mathematically demonstrate that the Core-set loss is more closely tied to the Average Radial Distance—the expected distance from a sample to its nearest selected point—rather than the maximum distance.

Classical vs. Density-aware Core-set loss bounds.

As illustrated in Figure 1, focusing on the average radial distance encourages the selection of samples in high-density regions. These "representative" samples cover a larger number of neighboring points, providing a more robust representation of the overall feature distribution and making the model less sensitive to outliers.

Methodology

The proposed framework incorporates three main components to enable density-aware selection:

1. Proxy Density Estimation (DMC)

To efficiently estimate density across millions of pixels, the authors introduce Dynamic Masked Convolution (DMC). This module attempts to reconstruct a pixel's feature based on its spatial neighbors. A low reconstruction error indicates that the pixel's feature is well-represented by its surroundings, implying high local density. This allows the model to estimate "coverage density" dynamically during training.

2. Density-aware Greedy Algorithm

The standard k-Center Greedy algorithm is modified to be density-aware. Instead of selecting the point furthest from the current labeled set, the algorithm rescales distances using the estimated density. This ensures that selected points are both spatially distinct from existing labels and located in high-density regions, maximizing the information gain per label.

The proposed ADA framework architecture.

3. Candidate Filtering

To manage the computational complexity of pixel-level selection, a candidate filtering step uses margin loss from the main classifier (trained on source data) to identify pixels where the model is most uncertain, narrowing the pool for the Core-set algorithm.

Experimental Results

The method was evaluated on synthetic-to-real benchmarks: GTAV → Cityscapes and SYNTHIA → Cityscapes.

  • Performance: On GTAV → Cityscapes, the proposed method achieved 71.1% mIOU using only 2.2% of target labels, nearly matching the 71.3% mIOU of full supervision.
  • Efficiency: With an extremely limited budget of 40 pixels per image, the method reached 66.9% mIOU, significantly outperforming prior state-of-the-art methods like RIPU and D2ADA.
  • Ablation Studies: Results confirmed that both the DMC density estimator and the density-aware selection algorithm are critical for achieving peak performance.

Conclusion

This work demonstrates that "density matters" in active domain adaptation for semantic segmentation. By shifting the focus from outlier-prone maximum distances to representative average distances, the proposed Density-aware Core-set method achieves remarkable label efficiency. Future work may involve reducing the computational overhead of the greedy selection and exploring the method's applicability to broader vision tasks beyond pixel-level segmentation.

Summary updated

BibTeX
@inproceedings{liu2024density,
  author = {Shizhan Liu and Zhengkai Jiang and Yuxi Li and Jinlong Peng and Yabiao Wang and Weiyao Lin},
  title = {{Density Matters: Improved Core-Set for Active Domain Adaptive Segmentation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i12.29308},
}
Figure