Knowledge Mining and Transferring for Domain Adaptive Object Detection

Kun Tian, Chenghao Zhang, Ying Wang, Shiming Xiang, Chunhong Pan

Abstract

Domain adaptive object detection is critical for deploying models in diverse real-world environments. Traditional unsupervised domain adaptation (UDA) methods rely heavily on adversarial training, which often aligns irrelevant background features and exhibits training instability. This paper presents KTNet (Knowledge Transfer Network), a framework that mines and transfers domain-invariant knowledge. By focusing on intrinsic object properties and stable category relationships, KTNet achieves state-of-the-art performance across multiple cross-domain benchmarks without the drawbacks of minimax optimization.

Introduction

Object detection performance typically degrades when there is a distribution shift between training (source) and deployment (target) data. This "domain gap" stems from variations in weather, illumination, and sensor characteristics. While researchers usually attempt to mitigate this using unsupervised domain adaptation (UDA), most existing methods rely on adversarial training. This approach has several limitations: it often aligns non-informative background regions (e.g., sky or trees), is sensitive to noisy region proposals, and suffers from the inherent instability of minimax optimization.

Methodology

KTNet addresses these issues by identifying features that remain constant across domains, termed "intrinsic" and "relational" knowledge. Built upon the FCOS anchor-free detector, it introduces two primary "plug-and-play" modules:

  1. Intrinsic Knowledge Mining (Domain-Invariant Classifier): This module trains a shared binary classifier to distinguish foreground objects from the background. By utilizing the "centerness" map from the FCOS detector to weight features, the model learns to focus on the most representative parts of objects. This ensures that the fundamental concept of an "object" is preserved regardless of the environmental "style" of the domain.
  2. Relational Knowledge Transfer: This module exploits the stability of semantic relationships between categories across different environments. For example, the relationship between a "pedestrian" and a "rider" remains consistent even if the visual domain changes. KTNet constructs a relational graph where nodes represent category representations and enforces a consistency loss ($L_{relation}$) to ensure category correlations remain stable across source and target domains.
Architecture of the KTNet framework showing the Intrinsic and Relational knowledge mining modules.

Experimental Results

The authors evaluated KTNet on three standard cross-domain benchmarks:

  • Weather Shift (Cityscapes → Foggy Cityscapes): Adapting from clear weather to synthetic fog.
  • Synthetic-to-Real (Sim10k → Cityscapes): Adapting from synthetic GTA V images to real-world streets.
  • Cross-Camera Shift (KITTI → Cityscapes): Adapting between different real-world camera setups.

KTNet achieved state-of-the-art (SOTA) performance across all benchmarks. On Foggy Cityscapes, it reached 40.9% mAP, a significant improvement over previous methods like PDA (36.9%) and GACA (36.0%). In the Sim10k to Cityscapes task, it achieved 50.7% AP for the "Car" category, outperforming the previous best by 1.7%. Ablation studies confirmed that while both modules contribute, the Relational Knowledge module provides the most substantial performance boost, proving that category correlations are a powerful signal for adaptation.

Qualitative detection results across various domain adaptation scenarios.

Conclusion and Future Work

KTNet shifts the focus of domain adaptation from global distribution alignment to the preservation of intrinsic and relational object knowledge. By ignoring domain-specific background noise and focusing on stable object relationships, the framework provides a more robust and stable solution for cross-domain detection.

Future work may involve adapting the framework for anchor-based detectors like Faster R-CNN and investigating its performance in "open-set" scenarios where the target domain contains categories not present in the source data. Additionally, addressing the computational overhead of calculating cross-domain correlation matrices remains an area for optimization.

Summary updated

BibTeX
@inproceedings{tian2021knowledge,
  author = {Kun Tian and Chenghao Zhang and Ying Wang and Shiming Xiang and Chunhong Pan},
  title = {{Knowledge Mining and Transferring for Domain Adaptive Object Detection}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  doi = {10.1109/iccv48922.2021.00900},
}
Figure