Domain Adaptation for Large-Vocabulary Object Detectors
Kai Jiang, Jiaxing Huang, Weiying Xie, Jie Lei, Yunsong Li, Ling Shao, Shijian Lu
TL;DR
The paper tackles the domain shift and vocabulary mismatch that hinder large-vocabulary object detectors (LVDs) when deployed on diverse downstream data. It proposes Knowledge Graph Distillation (KGD), which leverages CLIP's implicit knowledge graphs through a two-stage process: Knowledge Graph Extraction (KGExtract) to build explicit language and vision graphs from downstream data, and Knowledge Graph Encapsulation (KGEncap) to inject these graphs into LVDs for improved cross-domain classification and localization. KGD comprises Language KG Distillation (LKG) and Vision KG Distillation (VKG), enabling complementary textual and visual semantic transfer via a two-layer GCN and a dynamic VKG with graph diffusion, respectively; the final pseudo labels are a normalized fusion of LKG- and VKG-guided predictions. Across 11 datasets, KGD consistently outperforms state-of-the-art unsupervised domain adaptation methods, demonstrating the effectiveness of explicit CLIP knowledge graphs for robust cross-domain detection and highlighting the practical impact of multi-modal, graph-based knowledge transfer for LVDs.
Abstract
Large-vocabulary object detectors (LVDs) aim to detect objects of many categories, which learn super objectness features and can locate objects accurately while applied to various downstream data. However, LVDs often struggle in recognizing the located objects due to domain discrepancy in data distribution and object vocabulary. At the other end, recent vision-language foundation models such as CLIP demonstrate superior open-vocabulary recognition capability. This paper presents KGD, a Knowledge Graph Distillation technique that exploits the implicit knowledge graphs (KG) in CLIP for effectively adapting LVDs to various downstream domains. KGD consists of two consecutive stages: 1) KG extraction that employs CLIP to encode downstream domain data as nodes and their feature distances as edges, constructing KG that inherits the rich semantic relations in CLIP explicitly; and 2) KG encapsulation that transfers the extracted KG into LVDs to enable accurate cross-domain object classification. In addition, KGD can extract both visual and textual KG independently, providing complementary vision and language knowledge for object localization and object classification in detection tasks over various downstream domains. Experiments over multiple widely adopted detection benchmarks show that KGD outperforms the state-of-the-art consistently by large margins.
