Abstract
Presently, self-training stands as a prevailing approach in cross-domain semantic segmentation, enhancing model efficacy by training with pixels assigned with reliable pseudo-labels. However, we find two critical limitations in this paradigm. (1) The majority of reliable pixels exhibit a speckle-shaped pattern and are primarily located in the central semantic region. This presents challenges for the model in accurately learning semantics. (2) Category noise in speckle pixels is difficult to locate and correct, leading to error accumulation in self-training. To address these limitations, we propose a novel approach called Semantic Connectivity-driven pseudo-labeling (SeCo). This approach formulates pseudo-labels at the connectivity level and thus can facilitate learning structured and low-noise semantics. Specifically, SeCo comprises two key components: Pixel Semantic Aggregation (PSA) and Semantic Connectivity Correction (SCC). Initially, PSA divides semantics into 'stuff' and 'things' categories and aggregates speckled pseudo-labels into semantic connectivity through efficient interaction with the Segment Anything Model (SAM). This enables us not only to obtain accurate boundaries but also simplifies noise localization. Subsequently, SCC introduces a simple connectivity classification task, which enables locating and correcting connectivity noise with the guidance of loss distribution. Extensive experiments demonstrate that SeCo can be flexibly applied to various cross-domain semantic segmentation tasks, including traditional unsupervised, source-free, and black-box domain adaptation, significantly improving the performance of existing state-of-the-art methods.
Introduction
Cross-domain semantic segmentation aims to adapt models trained on a source domain (e.g., synthetic data) to a target domain (e.g., real-world scenes). The current standard for this adaptation is self-training, where the model generates pseudo-labels for target data and retrains on them. However, this paradigm suffers from two major flaws: the "Speckle" problem, where reliable labels appear as isolated dots missing crucial object boundaries, and noise accumulation, where individual mislabeled pixels lead to error propagation.
Methodology: The SeCo Framework
To address these limitations, we introduce SeCo (Semantic Connectivity-driven pseudo-labeling). SeCo shifts the focus from individual pixels to semantic connectivities—meaningful, contiguous regions or objects. This shift simplifies noise localization and facilitates learning structured semantics.
1. Pixel Semantic Aggregation (PSA)
PSA aggregates speckled pseudo-labels into structured regions by leveraging the Segment Anything Model (SAM). It distinguishes between "things" (countable objects like cars) and "stuff" (amorphous regions like sky). For "things," PSA uses initial noisy labels as prompts for SAM to generate precise object boundaries. For "stuff," it aligns pseudo-labels with SAM’s broad regional masks. This process ensures that pseudo-labels are structurally sound from the start.
2. Semantic Connectivity Correction (SCC)
Once pixels are grouped into connectivities, identifying noise becomes a region-level classification task. SCC exploits the "early learning" property of deep networks, where clean patterns are learned before noise is memorized. By analyzing the loss distribution of these regions using a Gaussian Mixture Model (GMM), SCC can statistically separate "clean" connectivities from "noisy" ones, which are then corrected or discarded.
Experimental Results
SeCo was evaluated across several standard cross-domain benchmarks, including GTA5 → Cityscapes and SYNTHIA → Cityscapes, demonstrating significant performance boosts:
- State-of-the-Art Performance: On GTA5 → Cityscapes, SeCo improved the
AdvEntbaseline by 13.4% mIoU and the state-of-the-artProDAby 9.4% mIoU. - Source-Free Adaptation: In scenarios where source data is unavailable for privacy or storage reasons, SeCo improved existing methods by over 10%.
- Efficiency: While SAM is used during the training/pseudo-labeling phase to provide structural guidance, it is not required during inference, ensuring the final model remains fast and lightweight.
Conclusion
SeCo represents a paradigm shift in cross-domain segmentation by moving from noisy pixel-level labels to structured connectivity-level labels. By utilizing SAM as a structural teacher and loss distribution as a noise signal, SeCo effectively mitigates the speckle problem and error accumulation, setting new benchmarks across unsupervised, source-free, and black-box domain adaptation tasks.
Summary updated