Introduction
Open-vocabulary detection (OVD) represents a significant leap in computer vision, aiming to identify and localize objects based on arbitrary text descriptions, including those not encountered during training. However, a persistent "pretraining gap" hinders performance. Most OVD models rely on image-level backbones like CLIP, which are trained on global scene descriptions rather than local object details. When these backbones are integrated into detectors, the detector heads are typically trained from scratch on limited labeled data, failing to leverage the scale of pretraining datasets.
Methodology: The DITO Framework
To address these limitations, the authors propose DITO (Detection-aligned Image-Text pretraining). DITO aligns the pretraining phase with the detection task through two primary innovations: Region-centric Image-text Pretraining (REP) and Shifted-Window Learning (SWL).
Region-centric Image-text Pretraining (REP)
Unlike standard pretraining that focuses on whole images, REP incorporates detector components—such as Feature Pyramid Networks (FPN) and RoI-Align—directly into the pretraining stage. By generating random boxes and applying a contrastive loss, the model learns to align region-level features with text descriptions without requiring manual box annotations. This "warm-starts" the detector heads on massive datasets like LAION-2B and DataComp-1B.
Shifted-Window Learning (SWL)
Modern Vision Transformers (ViTs) often utilize windowed attention to manage computational complexity. However, this can introduce a "grid bias," where objects crossing window boundaries are poorly detected. DITO introduces SWL, a technique that employs a shift-and-combine pass during finetuning. This simple architectural adjustment significantly improves the model's translation invariance and localization accuracy, contributing a +2.8 point boost on LVIS benchmarks.
Experimental Results
DITO was evaluated on several rigorous benchmarks, including LVIS, COCO, and Ego4D. The results demonstrate a new state-of-the-art in open-vocabulary detection.
Performance Benchmarks
On the LVIS benchmark, DITO achieved a mask $AP_r$ of 37.6 using a ViT-L backbone, which increased to 40.5 when utilizing the DataComp-1B dataset. This represents a substantial +3.7 point improvement over previous leading methods. Furthermore, the model showed strong zero-shot transfer capabilities, achieving 20.0 AP on Objects365 after being trained solely on LVIS, proving its robustness to out-of-distribution data.
Emergent Locality
A key insight from the study is the emergence of locality. Even without explicit box supervision during pretraining, the model's attention maps indicate that it naturally learns to focus on distinct objects rather than just the background. This suggests that contrastive learning at the region level is a powerful proxy for supervised localization.
Conclusion and Future Directions
DITO successfully bridges the gap between large-scale pretraining and fine-grained object detection. By training detector heads on text-image pairs and addressing the limitations of windowed attention, it sets a new standard for OVD. While the two-stage training process and computational requirements remain areas for optimization, the region-centric approach offers a promising path forward for other dense prediction tasks, such as instance segmentation and video object tracking.
Summary updated