Open-Vocabulary Object Detectors (OVDs) are the "Swiss Army knives" of computer vision, capable of detecting almost anything described in text. However, they often struggle with rare classes or highly specialized domains, such as thermal imagery or medical scans.
The standard approach to address this is "monolithic adaptation," where the entire model is fine-tuned on new data. Unfortunately, this creates a blurred set of weights where new knowledge overwrites the old, leading to catastrophic forgetting. Furthermore, if a specific concept needs updating—like detecting a "person" in thermal images after already learning it in RGB—a monolithic model struggles to manage these overlapping but distinct distributions.
To solve this, researchers introduce DitHub, a modular framework for incremental open-vocabulary object detection. By decoupling general task knowledge from class-specific specialization, DitHub manages specialized knowledge using a "version control" inspired library of expert modules.
The "Git" for Models
Instead of relying on one giant set of weights, DitHub builds a library of efficient, low-rank adaptation (LoRA) modules. It treats model adaptation much like a software repository, allowing for efficient updates, seamless merging of concepts, and even "surgical" unlearning of specific categories.
DitHub operates using three core version-control primitives:
- Branch: When a new task arrives, DitHub creates a new "branch" for each class.
- Fetch: If a class has been seen before, DitHub "fetches" the existing expert module from the library.
- Merge: It combines historical class knowledge with new domain insights using a weighted averaging strategy.
Two-Phase Training Architecture
To ensure these modules learn effectively without overwriting past knowledge, DitHub employs a clever two-step training process:
- Warmup Phase: The model first learns a class-agnostic foundation for the entire task, providing a robust starting point.
- Specialization Phase: The model then "branches" into class-specific experts. Using a stochastic training strategy, it updates only the specific module associated with a class present in an image.
To maintain memory efficiency, DitHub uses a Shared B matrix to capture general knowledge while maintaining Class-specific A matrices to capture the fine-grained "expert" details.
Key Insights and Capabilities
- Decoupling is King: Separating the general task context (warmup) from class details (specialization) is essential for handling rare categories that otherwise get drowned out during standard training.
- Linear Compositionality: Because the modules are LoRA-based, they can be merged linearly at inference time. If a prompt asks for a "dog" and a "person," DitHub can average those two expert modules on-the-fly to create a custom detector for that specific query.
- Surgical Unlearning: Modularity allows for training-free unlearning. If a sensitive category (like faces or license plates) needs to be removed for privacy reasons, its module's weights can simply be subtracted from the base model.
State-of-the-Art Results
DitHub was evaluated on rigorous benchmarks, including ODinW-13 (Object Detection in the Wild), MS COCO (for zero-shot retention), and a newly introduced benchmark called ODinW-O (Overlapped), designed to test how models handle classes that reappear across different tasks and domains.
- State-of-the-Art Performance: On the ODinW-13 benchmark, DitHub outperformed the previous best method by a massive +4.21 mAP in full-data settings.
- Superior Retention: It maintained better zero-shot performance on COCO (+0.75 mAP over prior methods), proving that modularity effectively prevents catastrophic forgetting.
- Recurring Classes: On the new ODinW-O benchmark, it secured a +4.75 mAP lead, demonstrating its unique ability to refine knowledge as classes reappear in new contexts.
- Efficiency: Even with a very low rank ($r=2$), DitHub outperformed competitors while using significantly less memory.
Future Directions
While DitHub sets a new high bar for Incremental Vision-Language Object Detection, there is room for growth. Currently, the merging weights are determined empirically; automating this process theoretically would improve robustness. Additionally, future versions could incorporate domain-specific metadata (e.g., explicitly distinguishing RGB from Thermal) to improve knowledge transfer. Ultimately, the authors envision a system capable of synthesizing entirely new experts—such as combining a "real-world axolotl" module with a "cartoon" domain module to detect cartoon axolotls without requiring specific training data for that intersection.
Summary updated