TL;DR
This paper introduces WUDA, a new task for semantic segmentation where the source domain has only weak labels (like bounding boxes) and the target domain has no labels. They propose two frameworks to tackle this, demonstrating that one approach can achieve up to 83% of the performance of methods using full source domain labels, making semantic segmentation more accessible.
What Problem Does This Paper Address?
Semantic segmentation, a crucial task in computer vision for understanding images pixel by pixel, often struggles with "domain shift." This means models trained on one dataset (source domain) perform poorly on another dataset (target domain) due to differences in image characteristics like lighting, viewpoint, or style. Traditional Unsupervised Domain Adaptation (UDA) methods aim to bridge this gap by using labeled source data and unlabeled target data. However, obtaining pixel-perfect labels for semantic segmentation is incredibly time-consuming and expensive. This paper addresses the challenge when even the source domain lacks these detailed labels, providing only weaker annotations like bounding boxes. They introduce a new task, WUDA (Unsupervised Domain Adaptation Based on Weak Source Domain Labels), and propose methods to perform semantic segmentation in the target domain under these more realistic, label-scarce conditions.
Methods
The authors propose two main frameworks for WUDA:
- WSSS-UDA (Weakly Supervised Semantic Segmentation + Unsupervised Domain Adaptation): This approach first trains a semantic segmentation model using the weak source domain labels (bounding boxes). Then, it applies standard UDA techniques to adapt this model to the target domain, which has no labels. This leverages the existing UDA machinery after an initial weakly supervised training step.
- TDOD-WSSS (Target Domain Object Detection + Weakly Supervised Semantic Segmentation): This framework takes a different route. It first trains an object detection model using the bounding box labels from the source domain. This object detector is then used to predict bounding boxes on the target domain images. Finally, these predicted bounding boxes are used as weak labels to train a semantic segmentation model for the target domain.
A key contribution is the use of representation shift as a metric to quantify domain shift. This metric, adapted from pathology image analysis, measures the difference in feature distributions between source and target domains. The authors show it correlates well with segmentation performance (mIoU), providing a way to understand and control domain shift without ground truth in the target domain.
Datasets
The paper uses several standard autonomous driving datasets for their experiments:
- GTAV (Grand Theft Auto V): Used as a synthetic source domain.
- Cityscapes: Used as a real-world target domain.
- BDD100k (Berkeley DeepDrive): Used as another real-world dataset for real-to-real domain shift experiments.
- SYNTHIA: Also used in experiments to explore domain shift.
They also construct new dataset pairs with varying degrees of domain shift by applying various image augmentation techniques (e.g., color augmentation, enhanced CycleGAN, low-frequency exchange) to the target domain images.
Key Insights and Ideas
- Bounding Boxes are Sufficient for a Strong Baseline: The WSSS-UDA framework, when combined with a good UDA method like E-IAST, can achieve performance remarkably close to fully supervised UDA methods, demonstrating that detailed pixel-wise labels might not always be necessary for the source domain.
- Domain Shift Measurement is Crucial: The paper successfully adapts and validates the "representation shift" metric for semantic segmentation. This is a significant finding as it offers a way to quantify domain shift without needing target domain ground truth, which is essential for UDA and WUDA.
- Frameworks React Differently to Domain Shift: The two proposed frameworks (WSSS-UDA and TDOD-WSSS) exhibit different sensitivities to domain shift. WSSS-UDA is more robust to larger shifts, while TDOD-WSSS is more affected, suggesting that the choice of framework depends on the expected domain gap.
- Object Detection as a Precursor Can Introduce Noise: While TDOD-WSSS is an intuitive approach, the paper notes that misdetections from the object detector in the target domain can lead to coarser segmentation results and more errors, highlighting the importance of a reliable object detector.
Key Results
- WSSS-UDA Performance: On the synthesis-to-real GTAV-Cityscapes dataset, WSSS-UDA with E-IAST achieved an mIoU of 46.4%, which is 82.6% of the performance of E-IAST trained with fine source labels.
- TDOD-WSSS Performance: TDOD-WSSS (using Yolov5) achieved an mIoU of 33.0% on GTAV-Cityscapes and 43.0% on BDD100k-Cityscapes.
- Domain Shift Impact: Figure 7 and Table 3 show that WSSS-UDA is less sensitive to domain shifts compared to TDOD-WSSS, which drops significantly with larger domain shifts.
- Qualitative Results: Visualizations show that WSSS-UDA can produce results close to fully supervised UDA, while TDOD-WSSS results are coarser and have more segmentation errors, attributed to the object detection step.
Limitations and Future Work
- TDOD-WSSS Limitations: The paper acknowledges that the TDOD-WSSS framework can be negatively impacted by misdetections from the object detector in the target domain, leading to coarser segmentation. They found that two-stage detectors like Faster R-CNN performed catastrophically in the target domain, limiting their experiments to single-stage detectors like Yolov5.
- Future Work: The authors state that current methods still have a long way to go to achieve precise segmentation on WUDA tasks. They hope for more advanced solutions to tackle WUDA in the future, implying that further research is needed to improve performance and robustness. They also suggest that their constructed datasets and the representation shift metric will be valuable for future research on WUDA/UDA under various domain shifts.
Summary updated