Target-Relevant Knowledge Preservation for Multi-Source Domain Adaptive Object Detection

Jiaxi Wu, Jiaxin Chen, Mengzhe He, Yiru Wang, Bo Li, Bingqi Ma, Weihao Gan, Wei Wu, Yali Wang, Di Huang

Abstract

Object detection models often suffer from performance degradation when deployed in environments that differ from their training data, a phenomenon known as domain shift. While Single-Source Domain Adaptation (SSDA) is well-documented, Multi-Source Domain Adaptive Object Detection (MSDAOD) presents unique challenges, including mutual interference between source domains and the difficulty of identifying target-relevant information. This paper presents Target-Relevant Knowledge Preservation (TRKP), a framework designed to mitigate knowledge degradation by disentangling source-specific features and prioritizing instance-level relevance between source and target domains.

Introduction

In real-world applications like autonomous driving, object detectors must operate reliably across diverse geographic locations, weather conditions, and lighting environments. Training a model on a single dataset (e.g., sunny daytime images from one city) often leads to failure when the model is moved to a different domain (e.g., rainy nighttime images in another city).

Multi-source adaptation aims to leverage multiple labeled datasets to improve generalization. However, existing MSDAOD methods often struggle with "knowledge degradation." When features from disparate sources are naively mixed, they can interfere with one another, leading to a loss of domain-specific nuances. Furthermore, standard alignment techniques often treat images as monolithic entities, failing to account for the fact that specific objects within a source image may be more relevant to the target domain than others. TRKP addresses these issues through a dual-pronged approach: adversarial disentanglement and instance-level relevance mining.

Methodology

TRKP is built upon a robust Teacher-Student framework. The "Teacher" network is trained on labeled source domains to generate high-quality pseudo-labels for the unlabeled target domain, while the "Student" network learns to detect objects in the target domain using these labels. The framework introduces two core innovations:

1. Adversarial Multi-Source Disentanglement (AMSD)

To prevent mutual interference between multiple sources, TRKP employs a multi-head structure within the Teacher network. Each source domain is assigned its own detection head, while all heads share a common backbone. By utilizing a Gradient Reversal Layer (GRL), the model performs adversarial learning to ensure the shared backbone extracts domain-invariant features. Simultaneously, the individual heads preserve unique, source-specific knowledge. This disentanglement ensures that learning from one source (e.g., synthetic data) does not "pollute" or confuse the features learned from another (e.g., real-world data).

2. Holistic Target-Relevant Mining (HTRM)

Recognizing that object detection is inherently instance-aware, the HTRM module moves beyond image-level weighting. It evaluates the relevance of source data based on the similarity of individual object instances (e.g., cars, pedestrians) to those found in the target domain. Using a K-Nearest Neighbor (KNN) approach, HTRM identifies source instances that most closely resemble target features. Source images containing these highly relevant instances are assigned greater weight during the training process, ensuring the model prioritizes knowledge that is most likely to transfer successfully to the target environment.

Experimental Evaluation

The authors evaluated TRKP across several benchmark scenarios in autonomous driving:

  • Cross-Camera Adaptation: Using Cityscapes (C) and KITTI (K) as sources to adapt to the BDD100K dataset.
  • Cross-Time Adaptation: Utilizing Daytime (D) and Night (N) subsets of BDD100K to adapt to the scarce Dawn/Dusk subset.
  • Mixed-Domain Adaptation: Combining MS COCO (M), Synscapes (S), and Cityscapes (C) to test the framework's scalability across real, synthetic, and general-purpose data.

Key Results

TRKP demonstrated state-of-the-art performance across all benchmarks:

  • In the Cross-Camera test (C+K → BDD100K), TRKP achieved 58.4% AP, significantly outperforming the previous state-of-the-art (DMSN) at 49.2%.
  • In the Cross-Time test (D+N → Dawn/Dusk), the model reached 39.8% mAP. Notably, this outperformed the "Oracle" model (39.8% vs 26.6%), which was trained directly on labeled target data. This suggests that TRKP effectively "borrows" relevant features from larger source datasets to compensate for data scarcity in the target domain.
  • In Mixed-Domain scenarios, the framework maintained a consistent lead, proving its robustness even as the diversity and number of source domains increased.

Discussion and Conclusion

The success of TRKP highlights two critical insights for domain adaptation: first, that preserving source-specific knowledge through disentanglement is often superior to simple feature alignment; and second, that instance-level relevance is vital for tasks like object detection where the "domain" is often defined by the appearance of specific objects rather than the global image context.

While TRKP shows exceptional results in street-view scenarios, future research should explore its efficacy across larger domain gaps, such as adapting from synthetic driving simulators to medical imaging or satellite photography. Additionally, addressing "category shift"—where source and target domains contain different object classes—remains an open challenge for the field.

Summary updated

BibTeX
@inproceedings{wu2022target,
  author = {Jiaxi Wu and Jiaxin Chen and Mengzhe He and Yiru Wang and Bo Li and Bingqi Ma and Weihao Gan and Wei Wu and Yali Wang and Di Huang},
  title = {{Target-Relevant Knowledge Preservation for Multi-Source Domain Adaptive Object Detection}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
}
Figure