dinov3.seg: Open-Vocabulary Semantic Segmentation with DINOv3
About
Open-Vocabulary Semantic Segmentation (OVSS) assigns pixel-level labels from an open set of text-defined categories, demanding reliable generalization to unseen classes at inference. Although modern vision-language models (VLMs) support strong open-vocabulary recognition, their representations learned through global contrastive objectives remain suboptimal for dense prediction, prompting many OVSS methods to depend on limited adaptation or refinement of image-text similarity maps. This, in turn, restricts spatial precision and robustness in complex, cluttered scenes. We introduce dinov3.seg, extending dinov3.txt into a dedicated framework for OVSS. Our contributions are four-fold. First, we design a task-specific architecture tailored to this backbone, systematically adapting established design principles from prior open-vocabulary segmentation work. Second, we jointly leverage text embeddings aligned with both the global [CLS] token and local patch-level visual features from ViT-based encoder, effectively combining semantic discrimination with fine-grained spatial locality. Third, unlike prior approaches that rely primarily on post hoc similarity refinement, we perform early refinement of visual representations prior to image-text interaction, followed by late refinement of the resulting image-text correlation features, enabling more accurate and robust dense predictions in cluttered scenes. Finally, we propose a high-resolution local-global inference strategy based on sliding-window aggregation, which preserves spatial detail while maintaining global context. We conduct extensive experiments on five widely adopted OVSS benchmarks to evaluate our approach. The results demonstrate its effectiveness and robustness, consistently outperforming current state-of-the-art methods.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Open Vocabulary Semantic Segmentation | ADE20K A-150 | mIoU42.19 | 71 | |
| Open Vocabulary Semantic Segmentation | PASCAL Context 59 (val) | mIoU64.27 | 49 | |
| Semantic segmentation | A-847 | -- | 41 | |
| Open Vocabulary Semantic Segmentation | ADE20K 847 (val) | mIoU20.09 | 17 | |
| Open Vocabulary Semantic Segmentation | PASCAL Context 459 (val) | mIoU27.8 | 17 | |
| Open Vocabulary Semantic Segmentation | A-847, PC-459, A-150, PC-59, PAS-20 Average Combined (val) | mIoU50.44 | 15 | |
| Open Vocabulary Semantic Segmentation | PASCAL VOC-20 (val) | mIoU97.86 | 15 | |
| Semantic segmentation | PC-459 | Seen mIoU44.72 | 8 | |
| Semantic segmentation | A-150 | mIoU (Seen)54.06 | 8 | |
| Semantic segmentation | PC-59 | Seen mIoU65.43 | 8 |