[Paper Review] Cross-domain Detection via Graph-induced Prototype Alignment
This paper proposes Graph-induced Prototype Alignment (GPA), a two-stage framework that enhances cross-domain object detection by using graph-based feature aggregation for precise instance-level features and prototype representations for category-level domain alignment. It further improves adaptation in imbalanced datasets via a class-reweighted contrastive loss, achieving state-of-the-art performance on multiple cross-domain detection benchmarks when combined with Faster R-CNN.
Applying the knowledge of an object detector trained on a specific domain directly onto a new domain is risky, as the gap between two domains can severely degrade model's performance. Furthermore, since different instances commonly embody distinct modal information in object detection scenario, the feature alignment of source and target domain is hard to be realized. To mitigate these problems, we propose a Graph-induced Prototype Alignment (GPA) framework to seek for category-level domain alignment via elaborate prototype representations. In the nutshell, more precise instance-level features are obtained through graph-based information propagation among region proposals, and, on such basis, the prototype representation of each class is derived for category-level domain alignment. In addition, in order to alleviate the negative effect of class-imbalance on domain adaptation, we design a Class-reweighted Contrastive Loss to harmonize the adaptation training process. Combining with Faster R-CNN, the proposed framework conducts feature alignment in a two-stage manner. Comprehensive results on various cross-domain detection tasks demonstrate that our approach outperforms existing methods with a remarkable margin. Our code is available at https://github.com/ChrisAllenMing/GPA-detection.
Motivation & Objective
- To address domain shift in cross-domain object detection where source-domain models degrade on target domains due to distribution gaps.
- To overcome the challenge of incomplete and multi-modal instance representations in region proposals, which hinder effective feature alignment.
- To mitigate performance degradation in low-resource classes during unsupervised domain adaptation by harmonizing adaptation across imbalanced categories.
- To enable progressive, two-stage feature alignment—first coarse-grained foreground alignment, then fine-grained per-class alignment—using Faster R-CNN as the backbone.
Proposed method
- Graph-based region aggregation constructs a relation graph using location and size of region proposals to propagate and aggregate features, enhancing instance-level representation precision.
- Confidence-guided merging combines multi-modal instance features into class prototypes, enabling category-level domain alignment through representative embeddings.
- A class-reweighted contrastive loss assigns higher training weights to underrepresented classes, balancing adaptation across categories and improving generalization.
- Two-stage alignment is implemented: first, domain-invariant features are learned across foreground and background classes in RPN; second, per-category alignment is performed in RCNN for fine-grained adaptation.
- The framework integrates with Faster R-CNN, applying domain alignment at both RPN and RCNN stages to progressively align features across domains.
- The method uses learnable parameters in graph convolution layers, though ablation shows that parameter-free versions perform better due to lack of explicit supervision in domain adaptation.
Experimental results
Research questions
- RQ1Can graph-based message passing among region proposals improve instance-level feature representation in cross-domain object detection?
- RQ2How effectively can prototype-based category-level alignment reduce domain shift compared to instance-level alignment?
- RQ3Does a class-reweighted contrastive loss improve adaptation performance on low-resource classes in multi-class cross-domain detection?
- RQ4What is the impact of two-stage alignment (RPN + RCNN) versus single-stage alignment on domain adaptation performance?
- RQ5How sensitive is the model’s performance to trade-off hyperparameters between detection and domain adaptation loss?
Key findings
- The GPA framework achieves state-of-the-art performance on multiple cross-domain detection benchmarks, including SIM 10k → Cityscapes, Cityscapes → Foggy Cityscapes, and COCO → Cityscapes.
- Two-stage alignment consistently outperforms single-stage configurations, demonstrating the benefit of progressive alignment from coarse to fine-grained adaptation.
- The model is robust to hyperparameter variations: mAP remains stable across a wide range of trade-off parameters λ₁ and λ₂, with optimal performance when both are non-zero.
- The class-reweighted contrastive loss achieves peak mAP when the balancing parameter γ ≈ 2.0, indicating improved adaptation for rare classes under this setting.
- t-SNE visualization confirms that the proposed method aligns source and target domain features more effectively than the source-only baseline, with clearer class separation.
- Qualitative results show that GPA reduces false positives and improves localization accuracy, even under severe occlusion, outperforming baseline methods like DA [5] in complex scenarios.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.