Improving Semi-Supervised and Domain-Adaptive Semantic Segmentation with Self-Supervised Depth Estimation

Lukas Hoyer, Dengxin Dai, Qin Wang, Yuhua Chen, Luc Van Gool

TL;DR

This paper introduces a novel framework that leverages self-supervised depth estimation (SDE) to significantly improve semi-supervised semantic segmentation and domain adaptation. By using SDE as an auxiliary task, the authors develop methods for smarter data selection, more robust data augmentation, and better knowledge transfer, achieving state-of-the-art results with drastically reduced annotation effort.

What Problem Does This Paper Address?

Semantic segmentation, the task of assigning a class label to every pixel in an image, is crucial for many computer vision applications. However, training deep neural networks for this task typically requires vast amounts of meticulously annotated data, which is incredibly time-consuming and expensive to produce. For instance, annotating a single image for the Cityscapes dataset can take up to 1.5 hours. This paper tackles the challenge of reducing this annotation burden by exploring how self-supervised depth estimation (SDE), which can be learned from unlabeled image sequences, can be integrated into the semantic segmentation pipeline. The authors aim to improve performance in both semi-supervised learning (SSL), where only a fraction of the target domain data is labeled, and semi-supervised domain adaptation (SSDA), where labeled data from a different (often synthetic) domain is also available.

Methods

The core of the paper's contribution lies in four key strategies that leverage SDE:

  • Automatic Data Selection: Instead of relying on human annotators to pick the most informative samples (active learning), the authors propose an SDE-based "oracle." This system automatically selects samples for annotation based on a combination of SDE feature diversity and semantic segmentation uncertainty, making the annotation process more efficient and scalable.
  • DepthMix Data Augmentation: This novel augmentation technique uses depth information to create "virtual" training samples by mixing images and their labels. Crucially, DepthMix respects the geometric relationships between objects, preventing unrealistic artifacts often seen in other mixing methods and leading to more geometrically consistent segmentations.
  • Transfer and Multi-Task Learning: The features learned by the SDE network are transferred to the semantic segmentation network. This is achieved through both pre-training and a multi-task learning setup where SDE is trained alongside semantic segmentation. This allows the segmentation model to benefit from the rich geometric understanding learned by SDE.
  • Domain Adaptation Strategies: For SSDA, the authors extend their DepthMix approach with "Cross-Domain DepthMix" to align source and target domains. They also introduce "Matching Geometry Sampling" to further bridge the domain gap by ensuring that mixed image pairs have similar geometric properties and camera perspectives.

Datasets

The primary dataset used for evaluation is Cityscapes, a widely used benchmark for semantic segmentation in urban street scenes. The authors also utilize:

  • GTA5: A synthetic dataset generated from a video game, often used as a source domain for domain adaptation tasks.
  • Synthia: Another synthetic dataset for domain adaptation.
  • CamVid: A dataset of urban street scenes, used for evaluating performance on a different domain.

Key Insights and Ideas

  • SDE as a Powerful Auxiliary Task: The paper strongly demonstrates that SDE is not just a complementary task but a crucial enabler for improving semantic segmentation, especially in low-data regimes. Its ability to capture geometric scene understanding is highly beneficial.
  • Geometry is Key for Data Augmentation: The DepthMix technique highlights that simply mixing images and labels is insufficient. Respecting scene geometry is vital for generating realistic and effective training data, leading to better segmentation quality.
  • Automated Annotation is Feasible: Replacing human annotators with an SDE oracle for data selection is a significant step towards more efficient and scalable annotation pipelines, making semi-supervised learning more practical.
  • Synergy of Components: The individual contributions (data selection, DepthMix, multi-task learning) are effective on their own, but their combination yields even greater performance gains, suggesting a synergistic effect.

Key Results

  • State-of-the-Art Performance: The proposed framework achieves state-of-the-art results for both semi-supervised semantic segmentation and semi-supervised domain adaptation on the Cityscapes dataset.
  • Reduced Annotation Effort: With only 1/30 of the Cityscapes labels (100 images), the method achieves 92% of the fully-supervised performance. With 1/8 of the labels (372 images), it even slightly outperforms the fully-supervised baseline.
  • Domain Adaptation Gains: In the SSDA setting (GTA5 → Cityscapes), the method achieves 97% of the fully-supervised performance with only 1/30 of the target labels, drastically reducing annotation needs from an estimated 4460 hours to around 150 hours.
  • Improved Difficult Classes: The methods, particularly data selection and DepthMix, show significant improvements for challenging or rare classes like trucks, buses, and trains.

Limitations and Future Work

  • SDE Limitations: The paper acknowledges that SDE can struggle with dynamic objects due to violations of the static world assumption, potentially leading to artifacts in DepthMix. Future work could explore SDE extensions that better handle dynamic scenes.
  • Geometric Mismatches: While Matching Geometry Sampling helps, there can still be cases where SDE is imprecise, causing inaccurate depth discontinuities that don't align with class borders, leading to artifacts.
  • Domain Gap Challenges: For SSDA, while the proposed methods are effective, the paper notes that simply adding source domain data can sometimes hurt performance when the target domain already has sufficient supervision, suggesting a need for more nuanced domain alignment strategies.
  • Future Directions: The authors suggest exploring SDE extensions for dynamic objects and further refining domain adaptation strategies. The success of SDE as a self-supervision source also opens avenues for its application in other vision tasks.

Summary updated

BibTeX
@article{hoyer2023improving,
  author = {Lukas Hoyer and Dengxin Dai and Qin Wang and Yuhua Chen and Luc Van Gool},
  title = {{Improving Semi-Supervised and Domain-Adaptive Semantic Segmentation with Self-Supervised Depth Estimation}},
  journal = {Int. J. Comput. Vis.},
  year = {2023},
  doi = {10.1007/s11263-023-01799-6},
}
Figure