Towards Fewer Annotations: Active Learning via Region Impurity and Prediction Uncertainty for Domain Adaptive Semantic Segmentation

Binhui Xie, Longhui Yuan, Shuang Li, Chi Harold Liu, Xinjing Cheng

This paper, titled "Towards Fewer Annotations: Active Learning via Region Impurity and Prediction Uncertainty for Domain Adaptive Semantic Segmentation," was presented by researchers from the Beijing Institute of Technology, Tsinghua University, and Inceptio Technology. It introduces a novel framework called RIPU to make high-quality semantic segmentation more accessible by drastically reducing the human effort required for data labeling.

TL;DR

RIPU is a region-based active learning framework that identifies the most informative pixels to annotate by balancing spatial diversity (Region Impurity) and model confusion (Prediction Uncertainty). By labeling just 2.2% of target image pixels, the method allows models to nearly match the performance of fully supervised training, effectively overcoming the class-imbalance issues that plague traditional self-training methods.

What Problem Does This Paper Address?

Semantic segmentation—the task of assigning a category to every single pixel in an image—is the backbone of technologies like autonomous driving and medical imaging. However, it is notoriously expensive to label; a single Cityscapes image can take over 90 minutes to annotate manually.

To bypass this, researchers use Domain Adaptation (DA), training models on synthetic data (like GTA V) and adapting them to real-world data (like Cityscapes). The standard approach is self-training, where the model generates "pseudo-labels" for the real data and retrains itself. The catch? Real-world data is highly imbalanced. Models become overconfident in common classes (like "road") and ignore rare ones (like "rider" or "traffic light"), leading to noisy pseudo-labels and a performance ceiling well below human-labeled benchmarks.

Methods

The authors propose Active Domain Adaptation (ADA): instead of letting the model guess everything, we ask a human to label a tiny, carefully chosen fraction of the target data. The core of their approach is the RIPU acquisition strategy:

  1. Region Generation: Instead of picking whole images (inefficient) or single pixels (lacks context), they define regions as $k \times k$ squares centered on pixels.
  2. Region Impurity (P): This measures the diversity of classes the model thinks are in a region. High impurity usually indicates object boundaries or complex areas where rare objects might be hiding.
  3. Prediction Uncertainty (U): This uses standard entropy to measure how "confused" the model is about its prediction.
  4. The RIPU Score ($P \times U$): By multiplying these, the system queries regions that are both complex and confusing to the model.

The authors also introduced two auxiliary training components:

  • Consistency Regularization: Enforces that a pixel and its neighbors on the source (synthetic) domain have similar predictions, preventing the model from overfitting to synthetic quirks.
  • Negative Learning Loss: Instead of just learning what a pixel is, the model learns what it is definitely not (e.g., a pixel with 0.01 probability for "bus" is used as a negative label for "bus"). This helps refine features in the early stages of training when the model is still unsure.

Datasets

The researchers evaluated RIPU on two standard "Synthetic-to-Real" benchmarks:

  • GTAV $\rightarrow$ Cityscapes: Adapting from the high-fidelity world of Grand Theft Auto V to real-world German street scenes.
  • SYNTHIA $\rightarrow$ Cityscapes: Using the SYNTHIA dataset as the synthetic source.

Key Insights and Ideas

  • Spatial Context Matters: Point-based selection often picks redundant pixels from the same object. By focusing on "Region Impurity," RIPU naturally gravitates toward object boundaries and transition zones, which contain the most "information" per pixel.
  • Implicit Class Balancing: Because rare classes (like poles or signs) are usually adjacent to common classes (like sky or buildings), high-impurity regions naturally include these rare categories. This fixes the long-tail distribution problem without needing complex re-weighting schemes.
  • Negative Labels are Stable: In domain adaptation, the model's "positive" guesses are often wrong early on. However, its "negative" certainty (knowing a pixel is not a certain class) is much more reliable and provides a stable signal for feature learning.

Key Results

The quantitative results are striking:

  • Near-Supervised Performance: On GTAV $\rightarrow$ Cityscapes, RIPU achieved 69.6 mIoU (mean Intersection over Union) using only 2.2% of the target labels. For context, the "Full Supervised" baseline (100% labels) is 70.2 mIoU.
  • Efficiency: RIPU outperformed previous state-of-the-art methods like LabOR and MADA, even when those methods used higher annotation budgets.
  • Rare Class Boost: The method showed significant gains in difficult, small-scale categories. For example, in the "bus" and "motorcycle" categories, it actually outperformed the fully supervised model in some tests, suggesting that active selection can be more effective than brute-force labeling.

Limitations and Future Work

While highly effective, the paper notes that the optimal region size ($k$) varies depending on the labeling regime. For "Region-based Annotating" (labeling every pixel in a small square), a tiny $k=1$ (a $3 \times 3$ area) was best. For "Pixel-based Annotating" (labeling only the center pixel), a much larger $k=32$ was needed to ensure the selected pixels were spread out across the image.

The authors suggest that future research could extend RIPU to Source-Free Domain Adaptation, where the original synthetic training data is unavailable due to privacy or storage constraints, and to Universal Domain Adaptation, where the source and target class sets might not perfectly overlap.

Summary updated

BibTeX
@misc{xie2021towards,
  author = {Binhui Xie and Longhui Yuan and Shuang Li and Chi Harold Liu and Xinjing Cheng},
  title = {{Towards Fewer Annotations: Active Learning via Region Impurity and Prediction Uncertainty for Domain Adaptive Semantic Segmentation}},
  year = {2021},
  eprint = {2111.12940},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2111.12940},
}
Figure