Abstract
Semantic segmentation requires extensive manual labeling, which is both time-consuming and expensive. This research demonstrates that self-supervised monocular depth estimation (SDE)—trained on unlabeled video sequences—can provide a "free" geometric prior to significantly boost performance when labeled data is scarce. The authors propose a framework integrating SDE into data selection, augmentation, and multi-task learning. On the Cityscapes dataset, the approach achieves 92% of fully-supervised performance with only 1/30th of the labels, establishing a new state-of-the-art for semi-supervised and domain-adaptive segmentation.
Introduction
Deep learning for semantic segmentation is notoriously data-hungry. Manually annotating a single image from a dataset like Cityscapes can take up to 1.5 hours. While semi-supervised learning (SSL) and semi-supervised domain adaptation (SSDA) aim to reduce this burden, they often struggle to capture the underlying 3D structure of a scene.
This paper addresses the challenge by leveraging Self-supervised Depth Estimation (SDE). Since SDE only requires unlabeled video sequences, it provides a geometric prior that helps the model understand object boundaries and scene layouts without extra human effort. Depth and semantics are tightly coupled; for instance, depth discontinuities usually align with object boundaries, and certain classes like the sky always appear at a distance. SDE forces the network to learn these structural rules, acting as a powerful regularizer.
Methodology
The authors propose a comprehensive framework that utilizes SDE across four distinct stages of the training pipeline, as illustrated below:
1. Automatic Data Selection
Instead of picking random images to label, the model uses SDE features to identify "diverse" and "uncertain" samples. This acts as an automated active learning agent, replacing the need for a human-in-the-loop during the selection process. By measuring where the depth model struggles, the framework picks the most informative images for human annotation.
2. DepthMix Augmentation
Standard data augmentation techniques like CutMix often create "hallucinated" scenes where objects appear in physically impossible positions. DepthMix uses SDE-generated depth maps to ensure that when blending two images, closer objects realistically occlude distant ones, preserving the geometric integrity of the scene.
3. Multi-Task & Transfer Learning
The model employs a shared encoder for both depth and segmentation tasks. Features learned during SDE pre-training are transferred to the segmentation task, and an attention-guided distillation module allows the two tasks to share information during training.
4. Geometry-Aware Domain Adaptation
To bridge the gap between synthetic data (e.g., GTA5) and real-world data (Cityscapes), the authors introduce Matching Geometry Sampling. This method selects synthetic-real image pairs with similar camera perspectives and scene layouts before blending them, preventing the model from being confused by differing camera heights or lens types.
Key Results
The proposed framework consistently outperformed existing semi-supervised methods like ClassMix and DACS across various label counts:
- Efficiency: With only 100 labeled images (1/30th of the Cityscapes dataset), the method achieves 92% of the performance of a model trained on the full dataset.
- Synthetic Boost: In the SSDA setting, adding synthetic data from the GTA5 dataset pushed performance to 97% of the fully-supervised baseline using the same tiny 1/30th label fraction.
- Generalization: The model's ability to generalize was further validated on the CamVid dataset, confirming the robustness of the geometric priors.
Limitations and Future Work
While the results are promising, the reliance on SDE introduces specific challenges. SDE typically assumes a "static world" to calculate depth from motion; consequently, dynamic objects like moving cars can cause depth artifacts that may lead to errors in the DepthMix process. Additionally, Matching Geometry Sampling assumes some knowledge of camera intrinsics. Future work will explore advanced SDE techniques that explicitly handle dynamic objects to further refine these geometric priors.
Summary updated