TL;DR
This paper introduces a unified Multi-Granularity Alignment Domain Adaptation (MGADA) framework that improves cross-domain object detection by simultaneously aligning features at the pixel, instance, and category levels. By pairing this multi-level alignment with a novel omni-scale gated fusion module to handle severe object scale variations, the framework achieves state-of-the-art performance across multiple challenging domain adaptation benchmarks.
What Problem Does This Paper Address?
Deep learning models for object detection perform exceptionally well when trained on large, labeled datasets. However, when deployed in new environments—such as shifting from clear weather to dense fog, or from synthetic simulation data to real-world roads—their performance drops significantly due to "domain shift" (differences in data distribution).
Unsupervised Domain Adaptation (UDA) attempts to solve this by using labeled source data and unlabeled target data to learn domain-invariant features. However, existing UDA methods face two major hurdles:
- Scale Variations: Standard convolution layers use fixed kernel sizes, making it difficult to capture accurate features for objects of vastly different sizes across domains. Small objects get drowned out by background noise, while large objects lack global structural context.
- Granularity Mismatch: Previous alignment strategies typically focus on only one level of detail (e.g., just pixels or just instances), failing to capture the complex, hierarchical dependencies between the background, object proposals, and specific semantic categories.
Methods
The authors propose a unified framework that tackles these issues through two main components: Omni-Scale Gated Object Detection and Multi-Granularity Discriminators.
1. Omni-Scale Gated Fusion Module
To handle diverse object scales without distorting features (a common issue with standard ROI pooling operations), the network first generates coarse bounding box predictions. These predictions act as a "scale guidance" mechanism. The module then passes the feature maps through parallel low-resolution and high-resolution streams containing different convolution kernel sizes ($3\times3, 3\times5, 5\times3$). A soft gating mask dynamically weights and blends these multi-scale features based on the coarse size estimates.
2. Multi-Granularity Discriminators
The framework introduces three distinct adversarial discriminators connected via Gradient Reversal Layers (GRL):
- Pixel-level Discriminator: Aligns lower-level features to handle cross-domain variations in background and fine textures.
- Instance-level Discriminator: Focuses on the features of proposed object regions.
- Category-level Discriminator: Unlike prior methods that only look at class separation within a single domain, this new discriminator enforces both instance discriminability (separating different classes) and category consistency (aligning the same class across the source and target domains). High-confidence target domain predictions are assigned pseudo-labels to supervise this process.
Datasets
The framework was evaluated across seven diverse datasets spanning four distinct domain adaptation scenarios:
- Weather Adaptation: Cityscapes (source, normal weather) $\rightarrow$ FoggyCityscapes (target, synthetic fog).
- Synthetic-to-Real Adaptation: Sim10k (source, synthetic Grand Theft Auto V footage) $\rightarrow$ Cityscapes (target, real street scenes).
- Cross-Camera Adaptation: KITTI (source) $\rightarrow$ Cityscapes (target).
- Real-to-Artistic Adaptation: PASCAL VOC (source, real images) $\rightarrow$ Clipart / Watercolor (target, artistic images).
Key Insights and Ideas
- Synergy Over Isolation: Aligning pixels, instances, and categories simultaneously provides complementary information. Pixel alignment handles background shifts, instance alignment captures object boundaries, and category alignment ensures that semantic concepts mean the same thing in both domains.
- Coarse Guidance for Fine Fusion: Rather than relying on rigid pooling or naive feature averaging, using a preliminary, coarse bounding box prediction to dynamically "gate" different convolutional kernel sizes prevents feature distortion for multi-scale objects.
- Dual-Constraint Category Alignment: Enforcing cross-domain category consistency prevents ambiguous or hard-to-align target instances from being misclassified, outperforming traditional category-specific or purely domain-consistent baselines.
Key Results
The MGADA framework was tested on top of both anchor-free (FCOS) and anchor-based (Faster R-CNN) detectors, outperforming existing state-of-the-art methods:
- Cityscapes $\rightarrow$ FoggyCityscapes: Using the anchor-free FCOS detector with a ResNet-101 backbone, the method achieved 43.8% mAP, outperforming the previous best method (CFA) by 3.6%.
- Sim10k $\rightarrow$ Cityscapes: Achieved 54.6% mAP (with a VGG-16 backbone), representing a 5.6% improvement over CFA.
- PASCAL VOC $\rightarrow$ Watercolor: Achieved 58.1% mAP, matching the state-of-the-art UMT method and even outperforming the "oracle" model (trained directly on target data) due to the regularizing effect of the multi-granularity discriminators on imbalanced classes.
Limitations and Future Work
Not discussed in the paper.
Summary updated