TL;DR
Autonomous driving models need to recognize unfamiliar objects ("unseen" categories) even when the weather, lighting, or city changes—yet fine-tuning on a few labeled road classes usually causes them to forget everything else. $\text{R}^3$-Seg solves this by Relating categories through a semantic graph, Refining pixel-to-text matching, and Retrospecting against a frozen teacher model on clean images. Trained with pixel labels for just seven Cityscapes classes, it sets a new state of the art across four driving datasets and even transfers zero-shot to indoor objects.
What Problem Does This Paper Address?
Imagine training a self-driving perception system on sunny street scenes with pixel-level labels for only seven common things: road, sidewalk, building, vegetation, sky, person, and car. In the real world, that same system will encounter trucks, buses, traffic lights, and bicycles—and it will do so in fog, rain, or nightfall.
Open-vocabulary semantic segmentation (OVSS) aims to bridge this gap by matching image pixels to text embeddings of arbitrary category names. However, two stubborn problems get in the way:
- Domain shifts (changes in weather, illumination, or geography) scramble the visual–language alignment learned during pretraining.
- Limited supervision bias: when you fine-tune a pretrained model on only a handful of labeled classes, it overfits to those classes and suffers catastrophic collapse on everything else. (In fact, the authors show that standard seven-class fine-tuning drops unseen-class mIoU on Cityscapes from 29.17% down to 0.02%!)
Methods
Built on dino.txt (with a DINOv2 ViT-L/14 visual backbone), $\text{R}^3$-Seg tackles these challenges with three interlocking modules:
- Relate (Predicate-Aware Graph Attention): Instead of treating category names as isolated text embeddings, $\text{R}^3$-Seg connects them in a directed graph where edges carry explicit semantic relations (predicates). A Graph Attention Network (GAT) propagates relational knowledge from seen classes to unseen ones. At inference time, new categories can be plugged into the graph and connected to existing nodes using trained relation types—no fine-tuning required.
- Refine (Scene–Vocabulary Correspondence): Before matching pixels to text, Image-Conditioned Feature Modulation (ICFM) adapts visual features to the current image's appearance using lightweight channel-wise scaling and shifting. After computing pixel–text cosine similarities, a local refinement network smooths out spatial fragmentation, and a category competition mechanism lets competing classes at the same pixel exchange evidence to resolve ambiguity.
- Retrospect (Cross-View Knowledge Retrospection): To keep the model from forgetting its pretrained semantics under appearance shifts, a frozen
dino.txtteacher processes a clean image crop while the trainable student processes a photometrically perturbed (color-jittered) version of the same crop. A pixel-wise KL-divergence loss distills the teacher's class distributions into the student, anchoring its representations across visual distortions.
Datasets
- Training: Cityscapes (2,975 images), using pixel annotations for only 7 seen classes.
- Evaluation (no target-dataset fine-tuning): Cityscapes val (500 images), ACDC (1,600 adverse-weather images), BDD100K (1,000 images), and Mapillary Vistas (2,000 images), all evaluated across a shared 19-class label space (7 seen + 12 unseen).
- Inductive protocol: Unseen class names are withheld during training; 27 manually chosen auxiliary text-only classes are used instead.
- Transductive protocol: Unseen class names are available during training, but without pixel annotations.
- Cross-Dataset & Stress Tests: Zero-shot transfer from Cityscapes to PASCAL VOC 2012 val (20 classes, 14 of which have no counterpart in Cityscapes or the auxiliary set), plus a photometric stress test on 100 Cityscapes validation images with up to 80% brightness or contrast reduction.
Key Insights and Ideas
- Knowledge retrospection stops unseen-class collapse: Adding cross-view retrospection to supervised fine-tuning rescues unseen-class mIoU on Cityscapes from 0.02% to 38.93%, while simultaneously boosting seen-class mIoU from 86.65% to 91.24%.
- Graph structure matters: Shuffling node embeddings or relation endpoints in the GAT drops unseen-class mIoU by 1.44 and 4.08 points, respectively, confirming that the model genuinely leverages semantic relationships rather than just extra parameters.
- Street-scene adaptation generalizes indoors: Even though $\text{R}^3$-Seg is only trained on urban driving scenes, its relation-guided vocabulary transfer and dense refinement improve zero-shot segmentation on PASCAL VOC's non-overlapping indoor and animal classes (e.g., sofa gains 14.95 IoU points, TV/monitor gains 33.19).
Key Results
- State-of-the-art across all four driving benchmarks: Under the inductive setting, $\text{R}^3$-Seg achieves an average mIoU of 59.92% (64.96% Cityscapes, 57.40% ACDC, 54.26% BDD100K, 63.07% Mapillary Vistas), outperforming the strongest baseline ($S^2$-Corr) by 2.97 percentage points. Under the transductive setting, it reaches 62.07% average mIoU, beating CAT-Seg by 10.81 points.
- Cross-dataset VOC transfer: Improves overall mIoU from 54.70% (pretrained
dino.txt) to 75.29% without any VOC fine-tuning. - Photometric robustness: Under an 80% reduction in brightness or contrast, $\text{R}^3$-Seg retains 95.83% and 97.64% of its clean-input mIoU, respectively, whereas competing baselines drop to 78.71%–92.97%.
Limitations and Future Work
The authors note that their evaluation is currently limited to benchmark-defined vocabularies and selected photometric perturbations (brightness and contrast). In future work, they plan to explore larger, more diverse vocabularies and investigate how sensitive graph-based inference is to automatically generated semantic relations.
Summary updated