SegDA: Maximum Separable Segment Mask with Pseudo Labels for Domain Adaptive Semantic Segmentation

Anant KhandelwalWorkshops @ ICCV 2023 · DOI

Abstract

Unsupervised Domain Adaptation (UDA) for semantic segmentation aims to bridge the gap between labeled source domains (often synthetic) and unlabeled target domains. A persistent challenge in UDA is the confusion between visually similar classes due to overlapping feature representations. We present SegDA, a framework that leverages the geometric principle of "Neural Collapse" by employing a fixed Equiangular Tight Frame (ETF) classifier to maximize class separation. By integrating a segment-level module guided by CLIP text embeddings and a noise-correction mechanism for pseudo-labels, SegDA achieves state-of-the-art performance across diverse synthetic-to-real and adverse-weather benchmarks.

Introduction

Semantic segmentation is a cornerstone of autonomous driving systems, yet the high cost of per-pixel annotation limits the scalability of supervised learning on real-world data. UDA offers a solution by transferring knowledge from synthetic datasets (e.g., GTA5) to real-world environments (e.g., Cityscapes). However, the domain gap—manifesting as variations in lighting, texture, and sensor noise—often leads to feature misalignment. Specifically, current UDA methods struggle to distinguish between visually similar categories like "road" and "sidewalk" or "pedestrian" and "rider." SegDA addresses this by enforcing a maximum separable feature space.

Methodology

SegDA introduces several key components to enhance discriminative power in the target domain:

Maximum Separable ETF Classifier

Inspired by the "Neural Collapse" phenomenon, where class features converge to the vertices of a simplex, SegDA replaces learnable classifier weights with a fixed Equiangular Tight Frame (ETF). This geometric constraint forces the encoder to map features of different classes as far apart as possible, ensuring maximum theoretical separation even for visually similar categories.

Segment-Level Module and CLIP Integration

To move beyond pixel-wise local features, SegDA employs a Transformer-based segment decoder. This module uses text embeddings from the CLIP foundation model as queries to generate segment-level representations. This "common sense" knowledge from CLIP helps the model maintain semantic consistency in challenging target domains where visual cues are degraded.

Overview of the SegDA framework, illustrating the interaction between the pixel-level encoder-decoder, the segment-level module, and the ETF-based geometric constraints.

Noise Estimation and Memory Retention

Pseudo-labeling is a standard UDA technique but is prone to error. SegDA incorporates a noise transition matrix to estimate the probability of misclassification, allowing the model to correct noisy pseudo-labels during training. Furthermore, the framework utilizes a Memory Loss ($L_{mem}$) to retain knowledge from the source domain while adapting to the target, preventing catastrophic forgetting.

Experiments and Results

The authors evaluated SegDA on four major UDA benchmarks covering synthetic-to-real transitions and adverse weather conditions.

Quantitative Performance

SegDA consistently outperforms previous state-of-the-art (SOTA) methods such as DAFormer and HRDA. On the GTA5 $\rightarrow$ Cityscapes benchmark, SegDA achieves a mean Intersection over Union (mIoU) of 76.0, representing a +2.2 improvement over HRDA. Significant gains are also observed in adverse conditions, with a +5.9 mIoU jump on the DarkZurich (nighttime) dataset.

Comprehensive comparison of SegDA against state-of-the-art UDA methods across four major benchmarks: Synthetic-to-Real (GTA/Synthia to Cityscapes), Day-to-Night, and Clear-to-Adverse Weather.

Qualitative Analysis

Visual results demonstrate that SegDA produces cleaner segmentation masks with sharper boundaries for thin structures like poles and traffic signs. The "maximum separable" property effectively reduces common artifacts where road and sidewalk pixels are frequently confused in earlier models.

Conclusion

SegDA demonstrates that the geometric structure of the feature space is a critical factor in successful domain adaptation. By fixing the classifier as an ETF and leveraging the semantic priors of foundation models like CLIP, SegDA effectively separates visually similar classes and handles domain shifts more robustly. Future work may explore more complex geometric structures and improve the handling of context-dependent classes like "Vegetation" and "Wall."

Summary updated

BibTeX
@inproceedings{khandelwal2023segda,
  author = {Anant Khandelwal},
  title = {{SegDA: Maximum Separable Segment Mask with Pseudo Labels for Domain Adaptive Semantic Segmentation}},
  booktitle = {Workshops @ ICCV},
  year = {2023},
  doi = {10.1109/iccvw60793.2023.00230},
}
Figure