Semantically Compatible Knowledge Distillation for Cross-Domain Object Detection with Vision Foundation Models
Organizations: National Supercomputing Center in Changsha, Hunan University, Changsha, Hunan Province, China.
Abstract
Vision foundation models (VFMs) offer strong generalization capabilities for domain-adaptive object detection (DAOD). However, existing VFM-based methods overlook the spatial-scale discrepancy between teacher and student feature maps, resulting in semantic incompatibility that weakens both feature alignment and pseudo-label learning. Moreover, domain shift can cause source-trained VFM teachers to miss target-domain objects, limiting the quality of their pseudo-labels. To address these issues, we propose the Semantic Localization-Enhanced Teacher (SLE-T), a semantically compatible knowledge-distillation framework built around a lightweight SLE Adapter for DINOv2. SLE Adapter injects pretrained local-texture priors into DINOv2 to improve cross-domain recognition and reformulates its features into dense representations that are spatially and semantically compatible with the student detector. SLE-T transfers the resulting teacher knowledge through either pseudo-label learning or feature alignment. We instantiate SLE-T with DINOv2-B and DINOv2-L (the ViT-B and ViT-L variants) and compare them with the larger DINOv2-G teacher. Extensive experiments on three DAOD benchmarks demonstrate that our method achieves state-of-the-art performance, and ablation studies confirm the importance of teacher-student semantic compatibility. Notably, SLE-T with DINOv2-B produces competitive or superior pseudo-labels using approximately one-quarter of the training time of DINOv2-G and substantially less GPU memory, demonstrating efficient VFM knowledge transfer under limited computational resources.
Figures & tables
| Method | Type | Person | Rider | Car | Truck | Bus | Train | Motor | Bicycle | mAP |
|---|---|---|---|---|---|---|---|---|---|---|
| DA-Faster ( Chen et al., 2018 ) | FR | 29.2 | 40.4 | 43.4 | 19.7 | 38.3 | 28.5 | 23.7 | 32.7 | 32.0 |
| DICN ( Jiao et al., 2022 ) | FR | 47.3 | 57.4 | 64.0 | 22.7 | 45.6 | 29.6 | 38.6 | 47.4 | 44.1 |
| NLTE ( Liu et al., 2022 ) | FR+GA | 43.1 | 50.7 | 58.7 | 33.6 | 56.7 | 42.7 | 33.7 | 43.3 | 45.4 |
| PT ( Chen et al., 2022 ) | FR+MT | 43.2 | 52.4 | 63.4 | 33.4 | 56.6 | 37.8 | 41.3 | 48.7 | 47.1 |
| MIC ( Hoyer et al., 2023 ) | FR+MT | 50.9 | 55.3 | 67.0 | 33.9 | 52.4 | 33.7 | 40.6 | 47.5 | 47.6 |
| AT ( Li et al., 2022c ) | FR+MT | 45.5 | 55.1 | 64.2 | 35.0 | 56.3 | 54.3 | 38.5 | 51.9 | 50.9 |
| Method | Type | Person | Rider | Car | Truck | Bus | Motor | Bicycle | mAP |
|---|---|---|---|---|---|---|---|---|---|
| DA-Faster ( Chen et al., 2018 ) | FR | 28.9 | 27.4 | 44.2 | 19.1 | 18.0 | 14.2 | 22.4 | 24.9 |
| SIGMA ( Li et al., 2022b ) | FCOS+GA | 46.9 | 29.6 | 64.1 | 20.2 | 23.6 | 17.9 | 26.3 | 32.7 |
| TDD ( He et al., 2022 ) | FR+MT | 39.6 | 38.9 | 53.9 | 24.1 | 25.5 | 24.5 | 28.8 | 33.6 |
| PT ( Chen et al., 2022 ) | FR+MT | 40.5 | 39.9 | 52.7 | 25.8 | 33.8 | 23.0 | 28.8 | 34.9 |
| NSA ( Zhou et al., 2023 ) | FR+MT | – | – | – | – | – | – | – | 35.5 |
| REACT ( Li et al., 2024 ) | FR+MT | – | – | – | – | – | – | – | 35.8 |
| Method | Fog | Night | Rain | Snow |
|---|---|---|---|---|
| AT ( Li et al., 2022c ) | 62.2 | 29.5 | 37.7 | 55.2 |
| DT* ( Lavoie et al., 2025 ) | 62.0 | 33.3 | 33.4 | 49.4 |
| SLE-T (ViT-B) | 66.3 | 34.9 | 38.8 | 55.5 |
| SLE-T (ViT-L) | 66.0 | 35.2 | 42.9 | 55.7 |
| Backbone | Training Time (h) | ||
|---|---|---|---|
| C | BD | ||
| ViT-G | 62.8 | 50.7 | 26.35 |
| SLE (ViT-B) | 65.8 | 49.9 | 5.93 |
| SLE (ViT-L) | 64.9 | 52.6 | 7.95 |
| No. | Layer | FA | AlignM | FC | BD |
|---|---|---|---|---|---|
| 1 | VGG4 | – | – | 40.1 | 22.3 |
| 2 | VGG4 | ViT-B | 46.6 | 32.2 | |
| 3 | VGG4 | SLE (ViT-B) | 47.4 | 33.1 | |
| 4 | VGG3 | – | – | 38.7 | 21.7 |
| 5 | VGG3 | ViT-B | 48.9 | 33.3 | |
| 6 | VGG3 | SLE (ViT-B) | 51.0 | 34.3 |
| Feature Layer | PL | FC | BD |
|---|---|---|---|
| VGG4 | – | 40.1 | 22.3 |
| VGG4 | 53.6 | 44.3 | |
| VGG3 | – | 38.7 | 21.7 |
| VGG3 | 57.4 | 47.7 |
| Backbone | Pre-SPM | FLB | |
| ViT-B | – | – | 51.8 |
| ViT-L | – | – | 54.5 |
| SLE (ViT-B) | – | – | 54.9 |
| – | 58.5 | ||
| – | 56.8 | ||
| 59.9 |
| Backbone | Model Size (M) | ||
|---|---|---|---|
| FC | BD | ||
| ViT-B | 86 | 51.8 | 43.8 |
| ViT-L | 300 | 55.4 | 46.6 |
| ViT-G | 1,100 | 57.0 | 50.7 |
| SLE (ViT-B) | 108 | 59.9 | 49.9 |
| SLE (ViT-L) | 322 | 61.3 | 52.6 |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | FC | BD | ACDC | |||
|---|---|---|---|---|---|---|
| Fog | Night | Rain | Snow | |||
| DINOv2-G | 57.0 | 50.7 | 65.9 | 36.4 | 45.8 | 52.0 |
| SLE-enhanced DINOv2-B | 59.9 | 49.9 | 72.4 | 36.5 | 49.8 | 60.0 |
| SLE-enhanced DINOv2-L | 61.3 | 52.6 | 70.5 | 38.7 | 48.2 | 60.5 |
| SLE-enhanced DINOv3-B | 59.5 | 49.7 | 73.3 | 37.6 | 52.5 | 60.4 |
| Method | FA | Pse | |
|---|---|---|---|
| Baseline (VGG3) | – | – | 38.7 |
| Baseline (VGG4) | – | – | 40.1 |
| DINO Teacher | – | 42.6 | |
| – | 53.2 | ||
| 52.5 | |||
| SLE Teacher (Ours) | – | 48.9 |
| Weather Condition | Method | Person | Rider | Car | Truck | Bus | Train | Motor | Bicycle | mAP |
|---|---|---|---|---|---|---|---|---|---|---|
| Fog | DT (ViT-G) | 59.9 | 62.0 | 78.6 | 40.0 | 81.8 | 70.1 | 36.5 | 67.5 | 62.0 |
| SLE-T (ViT-B) | 64.9 | 70.6 | 83.5 | 33.5 | 100.0 | 63.6 | 44.2 | 69.8 | 66.3 | |
| SLE-T (ViT-L) | 68.6 | 59.0 | 84.1 | 41.8 | 97.0 | 63.6 | 47.0 | 66.8 | 66.0 | |
| Night | DT (ViT-G) | 37.1 | 21.2 | 58.1 | 35.6 | – | 40.8 | 24.3 | 15.7 | 33.3 |
| SLE-T (ViT-B) | 40.4 | 35.5 | 57.2 | 30.9 | – | 45.2 | 24.2 | 10.8 | 34.9 | |
| SLE-T (ViT-L) | 39.0 | 30.6 | 59.3 | 37.6 | – | 47.7 | 19.4 | 13.0 | 35.2 |
Object Detection
Object detection locates and classifies objects in images or video, balancing localization accuracy, robustness, and inference speed.
See all 605 papers