Abstract
Semantic segmentation models often struggle when transitioning from synthetic training data to diverse, real-world environments. This paper introduces Object Style Compensation (OSC), a framework designed for Open Compound Domain Adaptation (OCDA). Unlike traditional global style transfer methods, OSC utilizes an Object-Level Discrepancy Memory (OLDM) to store and apply fine-grained style corrections for specific object categories and instances. By "normalizing" target objects to match the source domain's style, OSC generates higher-quality pseudo-labels, leading to state-of-the-art performance across multiple challenging datasets.
Introduction
Domain Adaptation (DA) is critical for deploying computer vision models in the real world, where lighting, weather, and geographic locations vary significantly from training data. Open Compound Domain Adaptation (OCDA) presents a more complex challenge: the model must adapt to multiple target domains simultaneously and generalize to entirely unseen "open" domains.
Existing methods often rely on global image-level style transfer. However, the authors observe that different objects (e.g., cars vs. pedestrians) exhibit heterogeneous style shifts under varying conditions. A single global transformation often results in "unreasonable" object styles, which degrades the quality of pseudo-labels used for self-training.
Object Style Compensation (OSC)
The core of the proposed method is the Object-Level Discrepancy Memory (OLDM). This structure enables the model to perform style compensation at the object level rather than the image level.
Methodology
- Discrepancy Memorization: The system calculates "discrepancy features"—vectors representing the style gap between source and target domains—for individual objects. These are stored in the OLDM, indexed by category and instance.
- Style Compensation: When processing a target image, the model identifies objects and queries the OLDM for the most relevant discrepancy features based on appearance similarity.
- Feature Normalization: By adding these learned discrepancies back to the target object features, the model effectively translates the object's style back to the source domain.
- Pseudo-label Refinement: The "normalized" features allow the model to generate significantly more accurate segmentation masks, which serve as high-quality pseudo-labels for further training.
Experimental Evaluation
The researchers evaluated OSC using synthetic source domains (GTA5, SYNTHIA) and diverse target/open domains including C-Driving, ACDC, Cityscapes, KITTI, and WildDash.
Key Results
OSC achieved state-of-the-art results across all benchmarks:
- Target Domain (C-Driving): OSC reached 44.1 mIoU, outperforming the previous best (ML-BPM) by 3.9 points.
- Open Domain Generalization: On unseen datasets like KITTI and WildDash, OSC maintained a significant lead, achieving an average of 44.3 mIoU compared to 40.8 for the nearest competitor.
- Ablation Study: The importance of instance-level memory was highlighted; removing instance-specific weighting caused mIoU to drop from 44.1 to 37.8.
Discussion and Insights
The primary insight of this work is that style is not a monolithic property of an image. By treating objects as heterogeneous entities and using an external memory as a prior for style discrepancies, the model builds a robust "library of experience." This allows for precise, instance-level compensation that global methods cannot achieve.
While the current implementation focuses on semantic segmentation, the underlying logic of Object Style Compensation is potentially applicable to other tasks such as object detection and image restoration. Future work may address the computational overhead associated with maintaining large-scale external memory banks.
Summary updated