TL;DR
Open-vocabulary object detection (OVOD) models excel at general tasks but suffer massive performance drops when adapted to specialized vertical domains, often losing their general capabilities in the process. This paper introduces HSA-DINO, a parameter-efficient framework that uses a multi-scale prompt bank to enrich text descriptions with hierarchical visual features and a semantic-aware router to dynamically switch between general and specialized detection during inference. The result is a model that significantly boosts domain-specific accuracy without sacrificing its original open-vocabulary generalization.
What Problem Does This Paper Address?
Modern open-vocabulary object detectors can find almost any object based purely on its text name, thanks to being pre-trained on massive, general-purpose datasets. However, when you deploy these models to highly specialized "vertical domains"—such as identifying specific arthropod species in remote sensing imagery or marine life in underwater video—their performance plummets.
Specialized domains suffer from a scarcity of data and highly granular category labels (e.g., distinguishing specific butterfly species rather than just labeling it a "butterfly"). If you fully fine-tune an OVOD model on these specialized datasets, you fix the domain problem but trigger "catastrophic forgetting," destroying the model's ability to detect general objects.
Existing solutions try to use dynamic routing (like Mixture-of-Experts) to bypass this, but they often get confused because the visual content across domains can overlap significantly, leading to incorrect routing decisions.
Methods
The authors present HSA-DINO (Hierarchical Semantic Augmentation for DINO), a parameter-efficient fine-tuning framework consisting of two core innovations:
- Multi-Scale Prompt Bank (MSPB): Instead of using generic text prompts like "a photo of a [CLS]", MSPB bridges the visual and textual encoders. It extracts multi-scale feature maps from the frozen image backbone (enhanced with Low-Rank Adaptation, or LoRA) and matches them against a bank of learnable keys. It then selects the most relevant descriptive prompts (e.g., "spotted", "with wings") and appends them to the category label. This provides the text encoder with rich, multi-level visual context.
- Semantic-Aware Router (SAR): To prevent fine-tuning from corrupting general open-vocabulary knowledge, SAR acts as a traffic cop during inference. It explicitly separates an image's domain statistics (mean and variance) from its content embedding. The content embedding is passed through an autoencoder; if the reconstruction error is low, the router knows the image belongs to the specialized downstream domain and applies the augmented prompts. If the error is high, it defaults to the original pre-trained model.
Datasets
The framework was evaluated across a variety of general and highly specialized benchmarks:
- OV-COCO: The standard benchmark for general-domain open-vocabulary object detection.
- ArTaxOr: A specialized dataset for arthropod taxonomy detection (13,993 images, 7 categories).
- DIOR: A complex remote sensing dataset (18,245 images, 20 categories).
- UODD: An underwater object detection dataset targeting marine life (2,686 images, 3 categories).
- OV-COCO+: A modified benchmark introduced by the authors that integrates COCO with the downstream datasets to evaluate joint scalability and category interference.
Key Insights and Ideas
- Hierarchical Visual Context Matters: Text encoders perform much better on rare or fine-grained terms when they are fed local, multi-scale visual cues (like textures or context clues) extracted directly from the image pyramid, rather than just global image features.
- Content vs. Domain Separation: Traditional autoencoders fail at domain routing because general and vertical domains often share similar visual content (e.g., both contain cats or fields), causing overlapping reconstruction errors. By stripping away domain statistics before reconstruction, the router can isolate the structural content, drastically reducing routing errors.
Key Results
The authors evaluated performance using the Harmonic Mean ($H$) of the target domain mAP and the general COCO mAP to measure the optimization trade-off.
- Preserving Generalization: On the ArTaxOr dataset, a zero-shot baseline achieved a meager 1.4 mAP. Full fine-tuning raised this to 85.4 mAP but tanked COCO performance from 50.6 to 36.1 mAP. HSA-DINO achieved 76.8 mAP on ArTaxOr while maintaining a near-perfect 49.9 mAP on COCO.
- Outperforming State-of-the-Art: HSA-DINO consistently achieved the highest $H$-score across all vertical datasets, outperforming other parameter-efficient adaptation methods like ZiRa and MR-GDINO.
- Scalability: On the challenging joint OV-COCO+ benchmark, HSA-DINO outperformed the next-best method by 4.3 to 9.2 mAP, proving its robustness against cross-task category interference.
Limitations and Future Work
- Text Encoder Bottlenecks: The text encoder imposes a strict input length limitation, which caps the maximum number of prompts ($M$) that can be extracted from the prompt bank.
- Unified Routing Challenges: While the authors successfully trained a "Unified SAR" across all downstream tasks simultaneously, its performance was slightly lower than task-specific routers. Future work will focus on improving the cross-domain robustness of a single, universal router.
Summary updated