Learning Multi-Modal Prototypes for Cross-Domain Few-Shot Object Detection
Organizations: University of Chinese Academy of Sciences · The Hong Kong Polytechnic University · Zhejiang University · The University of Southern Queensland
Abstract
Cross-Domain Few-Shot Object Detection (CD-FSOD) aims to detect novel classes in unseen target domains given only a few labeled examples. While open-vocabulary detectors built on vision-language models (VLMs) transfer well, they depend almost entirely on text prompts, which encode domain-invariant semantics but miss domain-specific visual information needed for precise localization under few-shot supervision. We propose a dual-branch detector that Learns Multi-modal Prototypes, dubbed LMP, by coupling textual guidance with visual exemplars drawn from the target domain. A Visual Prototype Construction module aggregates class-level prototypes from support RoIs and dynamically generates hard-negative prototypes in query images via jittered boxes, capturing distractors and visually similar backgrounds. In the visual-guided branch, we inject these prototypes into the detection pipeline with components mirrored from the text branch as the starting point for training, while a parallel text-guided branch preserves open-vocabulary semantics. The branches are trained jointly and ensembled at inference by combining semantic abstraction with domain-adaptive details. On six cross-domain benchmark datasets and standard 1/5/10-shot settings, our method achieves state-of-the-art or highly competitive mAP.
Figures & tables
| Shots | Method | Venue | Backbone | ArTaxOr | Clipart1k | DIOR | DeepFish | NEU-DET | UODD | Average |
| Z/Shot | GroundingDINO [ 32 ] | ECCV’24 | Swin-B | 12.4 | 54.0 | 4.8 | 35.4 | 3.4 | 13.9 | 20.7 |
| 1-shot | TFA w/cos [ 45 ] | ICML’20 | ResNet50 | 3.1 | - | 8.0 | - | - | 4.4 | / |
| FSCE [ 44 ] | CVPR’21 | ResNet50 | 3.7 | - | 8.6 | - | - | 3.9 | / | |
| DeFRCN [ 40 ] | ICCV’21 | ResNet50 | 3.6 | - | 9.3 | - | - | 4.5 | / | |
| ViTDet-FT [ 26 ] | ECCV’22 | ViT-B/14 | 5.9 | 6.1 | 12.9 | 0.9 | 2.4 | 4.0 | 5.4 | |
| Detic-FT [ 62 ] | ECCV’22 | ViT-L/14 | 3.2 | 15.1 | 4.1 | 9.0 | 3.8 | 4.2 | 6.6 |
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
| Method | Training Setting | Backbone | 3-shot | 5-shot | 10-shot | 20-shot | Average |
|---|---|---|---|---|---|---|---|
| Meta-RCNN [ 53 ] | RS-FSOD | ResNet-50 | 20.51 | 21.77 | 26.98 | 28.24 | 24.38 |
| FsDetView [ 20 ] | RS-FSOD | ResNet-50 | 24.56 | 29.55 | 31.77 | 32.73 | 29.65 |
| TFA w/cos [ 45 ] | RS-FSOD | ResNet-50 | 16.17 | 20.49 | 21.22 | 21.57 | 19.86 |
| P-CNN [ 5 ] | RS-FSOD | ResNet-50 | 41.80 | 49.17 | 63.29 | 66.83 | 55.27 |
| FSOD [ 9 ] | RS-FSOD | ResNet-50 | 10.95 | 15.13 | 16.23 | 17.11 | 14.86 |
| FSCE [ 44 ] | RS-FSOD | ResNet-50 | 41.63 | 48.80 | 59.97 | 79.60 | 57.50 |
| Method | ArTaxOr | Clipart1k | DIOR | DeepFish | NEU-DET | UODD | Average |
|---|---|---|---|---|---|---|---|
| Baseline | 67.8 | 58.3 | 29.5 | 42.1 | 20.7 | 26.5 | 40.8 |
| Level-0 (ours) | 75.0 | 60.1 | 31.3 | 43.9 | 25.1 | 28.3 | 44.0 |
| Level-1 | 70.5 | 59.8 | 30.4 | 43.3 | 26.0 | 28.9 | 43.2 |
| Level-2 | 75.9 | 59.2 | 29.6 | 42.8 | 21.4 | 27.8 | 42.8 |
| Level-3 | 73.8 | 60.7 | 29.8 | 42.5 | 23.5 | 27.2 | 42.9 |