Introduction
Panoptic segmentation represents a significant challenge in computer vision, requiring the simultaneous identification of discrete objects (things) and amorphous background textures (stuff). While supervised models have reached high levels of accuracy, they rely on labor-intensive pixel-level annotations. Unsupervised Domain Adaptation (UDA) offers a solution by adapting models trained on labeled synthetic data (source) to unlabeled real-world data (target).
However, current UDA methods often suffer from architectural redundancy, employing separate heavy networks for things and stuff. Furthermore, while unified architectures like DETR are efficient, they are surprisingly fragile during domain adaptation, generating high rates of false predictions that degrade Recognition Quality (mRQ). To address these issues, we introduce UniDAformer, a unified transformer-based framework optimized for efficient and accurate domain adaptive panoptic segmentation.
The UniDAformer Framework
UniDAformer departs from traditional multi-branch architectures by utilizing a single transformer network. The core of its adaptation strategy is an online self-training pipeline that leverages a Momentum Model to generate pseudo-labels for the target domain. These labels are then refined through a novel Hierarchical Mask Calibration (HMC) module before being used to train the primary model.
Hierarchical Mask Calibration (HMC)
The HMC module addresses the "False Prediction Trap" by refining pseudo-masks in a coarse-to-fine sequence across three levels:
- Region-wise Calibration: This stage re-weights category probabilities by comparing mask features to global class prototypes (centroids), correcting instances where an entire object is misidentified.
- Superpixel-wise Calibration: By utilizing superpixels—clusters of pixels with similar low-level features—the model adjusts mask boundaries. Masks are expanded to fill overlapping superpixels, effectively "snapping" edges to natural image boundaries.
- Pixel-wise Calibration: A final voting mechanism within each superpixel eliminates outlier pixels, ensuring fine-grained consistency.
This hierarchical approach ensures that the model first establishes the correct category ("what") before refining the spatial boundaries ("where").
Experimental Evaluation and Results
UniDAformer was evaluated on several challenging benchmarks, including SYNTHIA $\rightarrow$ Cityscapes and Cityscapes $\rightarrow$ Foggy Cityscapes. The results demonstrate that UniDAformer sets a new state-of-the-art in both accuracy and efficiency.
On the SYNTHIA $\rightarrow$ Cityscapes task, UniDAformer achieved a 33.0 mPQ, significantly outperforming previous multi-branch models like CVRN (27.9 mPQ). Crucially, the HMC module boosted Recognition Quality (mRQ) from 21.8 to 42.2. Beyond accuracy, UniDAformer is highly efficient, utilizing only 77.68M parameters and achieving an inference speed of 5.23 fps—nearly 15 times faster than its predecessors.
Conclusion
UniDAformer demonstrates that unified architectures can be successfully adapted for domain-specific tasks when paired with robust calibration techniques. By leveraging geometric priors through superpixels and a hierarchical refinement strategy, the model overcomes the inherent fragility of transformers in UDA settings. Future work will focus on further increasing inference speeds to meet the real-time requirements of autonomous driving systems and exploring adaptation across more extreme environmental shifts.
Summary updated