Abstract
Semantic segmentation is a critical yet labor-intensive task in computer vision. This paper presents a framework for Universal Semi-Supervised Semantic Segmentation, enabling a single model to learn across multiple datasets with distinct label spaces and minimal annotations. By employing a novel pixel-aware entropy regularization module within a shared embedding space, the proposed method effectively bridges domain shifts—such as transitioning from European to Indian driving environments or from outdoor to indoor scenes—outperforming traditional fine-tuning and joint training approaches.
Introduction
Annotating images for semantic segmentation is exceptionally costly, often requiring over 90 minutes per image. While large-scale datasets exist for specific domains, models trained on them typically suffer from significant performance degradation when deployed in new environments due to domain shift.
Existing strategies like fine-tuning often lead to catastrophic forgetting, while Unsupervised Domain Adaptation (UDA) typically assumes identical label sets across domains. The authors propose a "universal" model capable of handling disparate label sets simultaneously by leveraging a small number of labeled images alongside a large corpus of unlabeled data.
Methodology
The proposed architecture is designed to facilitate cross-domain knowledge transfer through three primary components:
- Shared Encoder: A common backbone (e.g., ResNet) extracts domain-agnostic features.
- Domain-Specific Decoders: Lightweight heads map these features to the specific label space of each dataset.
- Entropy Module: This is the core innovation. Instead of regularizing the final softmax outputs, the model projects features into a $d$-dimensional embedding space.
The model utilizes class prototypes (centroids of features) derived from labeled data. For unlabeled images, it calculates similarity scores between pixel embeddings and these prototypes. The training objective minimizes two types of unsupervised entropy loss:
- Within-domain entropy: Enhances prediction confidence within a specific dataset.
- Cross-domain entropy: Aligns visually similar features across datasets (e.g., "road" in different countries), even when label sets do not perfectly overlap.
Experimental Setup and Datasets
The framework was evaluated across diverse benchmarks:
- Cityscapes (CS): European urban driving (19 classes).
- CamVid (CVD): UK driving sequences (11 classes).
- Indian Driving Dataset (IDD): Unstructured environments and varied weather (26 classes).
- SUN RGB-D: Indoor scenes (13 classes) to test outdoor-to-indoor transfer.
Key Results and Insights
The "Univ-full" model demonstrated significant improvements over baselines. With only 100 labels, it achieved an average mIoU of 47.83%, significantly higher than the 38.75% achieved by a model trained solely on Cityscapes.
Key insights include:
- Latent Space Alignment: Performing entropy minimization in a separate embedding space is more effective for semantic transfer than direct softmax regularization.
- Semantic Hierarchies: The model automatically discovers visual relationships between different domains, such as the structural similarity between "floor" (indoor) and "road" (outdoor).
- Rare Class Performance: Universal training benefits rare classes (e.g., poles, signs) by aggregating visual information across all available datasets.
Limitations
While effective, the model still requires a small amount of labeled data for each domain to establish initial class prototypes. Additionally, while the entropy module adds training complexity, it introduces no overhead during inference, making it suitable for real-time applications in robotics and autonomous vehicles.
Summary updated