PACF: Prototype Augmented Compact Features for Improving Domain Adaptive Object Detection

Chenguang Liu, Yongchao Feng, Yanan Zhang, Qingjie Liu, Yunhong WangarXiv 2025 · DOI

Abstract

Domain Adaptive Object Detection (DAOD) aims to transfer knowledge from a labeled source domain to an unlabeled target domain. However, domain shifts often cause feature representations to become scattered, leading to significant performance degradation. We present Prototype Augmented Compact Features (PACF), a framework that utilizes class prototypes and mutual regularization to produce tight, discriminative feature clusters. PACF achieves state-of-the-art results by reducing intra-class variance and improving cross-domain alignment across multiple benchmarks.

The Challenge: Intra-Class Variance in Domain Adaptation

Standard object detectors assume that training (source) and testing (target) data share similar distributions. When this assumption fails—due to changes in weather, lighting, or sensor parameters—performance plummets. While many DAOD methods attempt to align the average feature representations across domains, they often overlook intra-class variance.

Comparison of feature distributions in source and target domains. In the target domain, features become scattered and overlap, leading to misclassification.

As illustrated in the figure above, features in the target domain become messy and scattered compared to the source domain. Even if the centers of these distributions are aligned, the high variance causes different classes to overlap in the feature space, resulting in false positives and missed detections.

Methodology: PACF Framework

To address the scattering problem, the authors propose a teacher-student framework incorporating two primary innovations: Prototype Cross Entropy Loss and Mutual Regularization.

The PACF framework overview, showing the dual-classifier system and the interaction between source and target prototypes.

1. Prototype Cross Entropy Loss ($L_{pce}$)

Instead of simple global alignment, PACF maintains dynamically updated "prototypes" for each class. These prototypes represent the average Region of Interest (RoI) features. The $L_{pce}$ loss calculates the cosine similarity between target features and these prototypes, pulling features toward their respective class centers while pushing them away from others. This mechanism forces the target features into highly compact clusters.

2. Mutual Regularization ($L_{mut}$)

There is a natural trade-off between feature compactness (ideal for prototypes) and discriminability (ideal for linear classifiers). PACF employs two classifiers: a distance-based prototype classifier and a standard linear classifier. A Jensen-Shannon (JS) divergence loss ($L_{mut}$) is applied to ensure both classifiers produce consistent predictions. This mutual learning process ensures that features are not only tightly clustered but also reside on the correct side of sharp decision boundaries.

Experimental Results

The authors evaluated PACF on several rigorous DAOD benchmarks:

  • Cityscapes → Foggy Cityscapes: PACF achieved 52.3% mAP using a VGG16 backbone, a significant 2.0% improvement over the previous state-of-the-art CMT baseline.
  • Sim10k → Cityscapes: In synthetic-to-real adaptation, the method reached 56.7% AP, outperforming the baseline by 2.1%.
  • Variance Reduction: Quantitative analysis confirmed that PACF reduced intra-class variance in the target domain by approximately 46% compared to standard alignment methods.
  • Error Analysis: Using TIDE analysis, the researchers found that PACF specifically reduced "miss" errors (false negatives), indicating better detection of obscured or novel objects in the target domain.

Conclusion

PACF demonstrates that managing feature variance is as critical as aligning feature means in domain adaptation. By using prototypes as cross-domain anchors and employing mutual regularization, the framework creates a robust feature space that resists the "scattering" effect of domain shifts. This approach sets a new standard for performance in challenging environments like adverse weather and synthetic-to-real transitions.

Summary updated

BibTeX
@misc{liu2025pacf,
  author = {Chenguang Liu and Yongchao Feng and Yanan Zhang and Qingjie Liu and Yunhong Wang},
  title = {{PACF: Prototype Augmented Compact Features for Improving Domain Adaptive Object Detection}},
  year = {2025},
  eprint = {2501.08605},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.08605},
}
Figure