Iterative Loop Method Combining Active and Semi-Supervised Learning for Domain Adaptive Semantic Segmentation

Licong Guan, Yuan XuearXiv 2023 · DOI · arXiv

Training deep learning models for semantic segmentation—the task of labeling every pixel in an image—usually requires a mountain of manually annotated data. In fields like autonomous driving, we often try to cheat by training on synthetic data (like the GTAV dataset) and applying it to the real world (like Cityscapes). However, the "domain gap" between simulation and reality often causes performance to tank.

A new paper by Licong Guan and Xue Yuan from Beijing Jiaotong University introduces ILM-ASSL, an iterative method that combines the strengths of Semi-Supervised Learning (SSL) and Active Learning (AL) to conquer this domain gap with remarkably little human effort.

TL;DR

The authors propose an iterative loop that uses semi-supervised learning to digest massive amounts of unlabeled real-world data, while using active learning to pinpoint and fix the most "confusing" images via human intervention. This approach sets new state-of-the-art records on major benchmarks, outperforming previous methods by ~5% mIoU while using only a tiny fraction of labeled data.

What Problem Does This Paper Address?

The researchers tackle Domain Adaptive Semantic Segmentation (DASS). The goal is to take a model trained on a "source" domain (synthetic images) and make it work on a "target" domain (real-world images).

Current solutions usually fall into two camps, both with flaws:

  1. Semi-Supervised Learning (SSL): These models generate "pseudo-labels" for unlabeled data. The problem? If the domain gap is large, the pseudo-labels are noisy and full of errors, leading the model astray.
  2. Active Learning (AL): These models ask humans to label the most informative samples. The problem? They often ignore the vast amount of unlabeled data available, and many AL strategies select individual pixels to label, which is frustratingly impractical for human annotators using standard tools.

Methods: The ILM-ASSL Loop

The core innovation is the Iterative Loop Method Combining Active and Semi-Supervised Learning (ILM-ASSL). It operates in three repeating stages:

  1. Semi-Supervised Learning (The "Teacher-Student" Phase): The authors use a dual-model setup. A "Student" model learns from a small set of labeled data and a large set of unlabeled data. A "Teacher" model (an ensemble-like version of the student) generates pseudo-labels. Crucially, they incorporate contrastive learning, which helps the model learn feature representations that are consistent across both synthetic and real domains.

  2. Active Learning (The "Query" Phase): Instead of guessing which pixels are hard, the Teacher model evaluates all unlabeled images and assigns an uncertainty score based on pixel entropy. High entropy means the model is "confused."

  3. Human Intervention (The "Correction" Phase): The most uncertain images are sent to human experts. Unlike other methods that require pixel-by-pixel clicking, this method is designed to work with Labelme, a standard annotation tool. Humans simply correct the Teacher's predicted labels. These "cleaned" images are then added to the labeled pool, and the loop starts over.

Datasets

The study evaluates the method on the two "gold standard" domain adaptation tasks:

  • GTAV $\rightarrow$ Cityscapes: Moving from the high-fidelity world of Grand Theft Auto V to real-world German street scenes.
  • SYNTHIA $\rightarrow$ Cityscapes: Moving from a different synthetic urban dataset to real-world scenes.

Key Insights and Ideas

  • Mutual Benefit: SSL provides a strong baseline by utilizing the "dark matter" of unlabeled data, which in turn makes the Active Learning queries much more accurate. Conversely, AL acts as a "noise filter" for SSL, ensuring the pseudo-labels don't lead the model into a performance death spiral.
  • Practicality over Pure Efficiency: While labeling individual pixels might be mathematically "optimal" for information gain, it is a nightmare for real-world workflows. By selecting entire images based on uncertainty, the authors make the method compatible with existing industrial annotation software.
  • Contrastive Alignment: By forcing the model to recognize that a "car" in a game and a "car" in reality should have similar feature embeddings, the contrastive loss significantly stabilizes the semi-supervised training.

Key Results

The results are a significant jump over previous state-of-the-art (SOTA) methods:

  • Performance Boost: On the GTAV $\rightarrow$ Cityscapes task, ILM-ASSL achieved a 76.1% mIoU, a 4.9% improvement over the previous best method (RIPU).
  • Efficiency: On SYNTHIA $\rightarrow$ Cityscapes, it reached 82.1% mIoU (on 13 classes), a 5.2% improvement.
  • Minimal Labeling: The model achieves highly competitive results using as little as 1% to 2.2% of the target domain's labels.
  • Qualitative Superiority: Visualization (via t-SNE) shows that ILM-ASSL creates much tighter, cleaner clusters of categories in the feature space compared to its predecessors, leading to much sharper object boundaries in the final segmentation.

Limitations and Future Work

  • Human-in-the-loop: While the labeling cost is minimized, it isn't zero. The method still requires an expert to be available for the iterative correction phases.
  • Computational Overhead: Running the Teacher-Student framework plus the iterative uncertainty ranking across thousands of images is computationally intensive.
  • Future Directions: The authors suggest exploring more sophisticated query strategies beyond simple entropy and investigating how this loop performs in "source-free" scenarios where the original synthetic data is no longer available due to privacy or storage constraints.

Paper Citation: Guan, L., & Yuan, X. (2023). Iterative Loop Method Combining Active and Semi-Supervised Learning for Domain Adaptive Semantic Segmentation. arXiv:2301.13361v4.

Summary updated

Abstract

Semantic segmentation is an important technique for environment perception in intelligent transportation systems. With the rapid development of convolutional neural networks (CNNs), road scene analysis can usually achieve satisfactory results in the source domain. However, guaranteeing good generalization to different target domain scenarios remains a significant challenge. Recently, semi-supervised learning and active learning have been proposed to alleviate this problem. Semisupervised learning can improve model accuracy with massive unlabeled data, but some pseudo labels containing noise would be generated with limited or imbalanced training data. And there will be suboptimal models if human guidance is absent. Active learning can select more effective data to intervene, while the model accuracy can not be improved because the massive unlabeled data are not used. And the probability of querying sub-optimal samples will increase when the domain difference is too large, increasing annotation cost. This paper proposes an iterative loop method combining active and semisupervised learning for domain adaptive semantic segmentation. The method first uses semi-supervised to learn massive unlabeled data to improve model accuracy and provide more accurate selection models for active learning. Secondly, combined with the predictive uncertainty sample selection strategy of active learning, manual intervention is used to correct the pseudo-labels. Finally, flexible iterative loops achieve the best performance with minimal labeling cost. Extensive experiments show that our method establishes state-of-the-art performance on tasks of GTAV to Cityscapes, SYNTHIA to Cityscapes, improving by 4.9% mIoU and 5.2% mIoU, compared to the previous best method, respectively.
BibTeX
@misc{guan2023iterative,
  author = {Licong Guan and Yuan Xue},
  title = {{Iterative Loop Method Combining Active and Semi-Supervised Learning for Domain Adaptive Semantic Segmentation}},
  year = {2023},
  eprint = {2301.13361},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2301.13361},
}
Figure