Abstract
Semantic segmentation models trained on synthetic data often struggle to generalize to real-world environments due to the domain gap. We present the Regularizer of Prediction Transfer (RPT), a framework that leverages intrinsic, label-free constraints—patch consistency, cluster similarity, and spatial logic—to adapt models to unlabeled target domains. RPT achieves state-of-the-art performance on benchmarks like GTA5-to-Cityscapes, demonstrating that structural image properties are powerful domain-invariant priors.
Introduction
Deep learning for semantic segmentation requires vast amounts of pixel-level annotations, which are prohibitively expensive to produce. While synthetic datasets like GTA5 and SYNTHIA provide "free" labels, models trained on them suffer from significant performance degradation when applied to real-world images (e.g., Cityscapes). This "domain mismatch" stems from differences in textures, lighting, and sensor characteristics.
Existing Unsupervised Domain Adaptation (UDA) methods typically focus on feature alignment or style transfer. However, they often overlook the intrinsic structural and logical properties of the images themselves. This research introduces the RPT framework, which enforces consistency based on the inherent formation logic of street scenes to regularize model predictions on unlabeled real data.
Methodology: The RPT Framework
RPT is integrated into a standard adversarial learning framework. While the model learns from labeled synthetic data, it is simultaneously regularized on unlabeled real data using three complementary criteria.
Patch-based Consistency
Using the SLIC algorithm, images are decomposed into superpixels—patches of pixels with similar visual characteristics. RPT assumes that pixels within a single superpixel should ideally share the same semantic label. The framework identifies a "dominative category" via majority voting and penalizes deviating pixels. To avoid errors at object boundaries, a selective masking mechanism is employed, only punishing predictions where the model is confident but inconsistent.
Cluster-based Consistency
Beyond local patches, RPT exploits global patterns. Visually similar superpixels across the entire dataset are grouped using K-means clustering on ResNet features. The regularizer enforces that patches within the same visual cluster should likely receive the same semantic label, bridging the gap between low-level appearance and high-level semantics.
Spatial Logic
A key innovation of RPT is the enforcement of spatial "grammar." Street scenes follow predictable vertical arrangements (e.g., sky is above buildings, which are above roads). The authors utilize an LSTM encoder-decoder to learn these relationships. If the segmentation model produces a logically impossible prediction, such as a road appearing above the sky, the spatial logic regularizer identifies and penalizes the error.
Experimental Results
The RPT framework was evaluated on standard synthetic-to-real benchmarks, showing significant improvements over previous state-of-the-art methods:
- GTA5 to Cityscapes: Achieved a mean Intersection over Union (mIoU) of 53.2%, a 3.6% improvement over the previous best (MLSL).
- SYNTHIA to Cityscapes: Reached an mIoU of 51.7% (16 classes), outperforming the previous best (PyCDA) by 5%.
Ablation studies confirmed that each component—patch, cluster, and spatial logic—contributes incrementally, proving that local, global, and structural constraints are complementary.
Discussion and Limitations
While RPT sets a new bar for UDA in segmentation, it relies on the quality of initial superpixel extraction. Poorly defined boundaries can lead to incorrect label enforcement. Additionally, the periodic recalculation of clusters and dominative categories introduces computational overhead. Future work may explore expanding the spatial logic from vertical columns to 2D or 3D geometric graphs to capture more complex scene structures.
Summary updated