NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

OSR-ViT: A Simple and Modular Framework for Open-Set Object Detection and Discovery

Matthew Inkawhich, Nathan Inkawhich, Hao Yang, Jingyang Zhang, Randolph Linderman, Yiran Chen

In standard computer vision, models are typically trained and evaluated on a fixed set of classes. However, real-world environments are unpredictable. A self-driving car encountering an unfamiliar object, like a fallen tree, must be able to identify it as an anomaly rather than misclassifying it or ignoring it. OSR-ViT addresses this by introducing a framework that actively discovers unknown objects while maintaining high performance on known ones.

The Open-Set Object Detection and Discovery (OSODD) Task

Traditional object detection assumes a "closed-set" environment where all encountered objects belong to training classes. While research into Open-Set Object Detection (OSOD) and Unknown-Aware Object Detection (UAOD) has attempted to relax this, these fields primarily focus on precision—preventing the misclassification of unknown objects as known ones.

The authors argue that this focus is insufficient for safety-critical applications. They propose a new task: Open-Set Object Detection and Discovery (OSODD). OSODD shifts the emphasis toward recall, requiring models to not only avoid misclassification but also actively localize and flag unknown objects.

Comparison of detection frameworks on the OSODD task. While traditional models like Faster R-CNN ignore unknown objects (bears, cars), OSR-ViT successfully discovers them.

The OSR-ViT Framework

OSR-ViT (Open-Set Regions with ViT features) is a modular framework designed for simplicity and effectiveness. It avoids complex end-to-end training in favor of a bipartite architecture:

  1. Tunable Hybrid Proposal Network (THPN): This class-agnostic network is trained to identify "objectness" rather than specific categories. It includes a tunable hyperparameter ($\lambda_{CLS}$) that allows users to balance the model's sensitivity to known classes versus its ability to propose novel objects.
  2. Foundational ViT Classifier: Proposed regions are cropped and processed by a pre-trained DINOv2 Vision Transformer. The high-dimensional representations from foundational models like DINOv2 are naturally adept at separating In-Distribution (ID) features from Out-of-Distribution (OOD) features without requiring specialized OOD training.

Evaluation and the AOSP Metric

To effectively measure performance in the OSODD task, the authors introduce Average Open-Set Precision (AOSP). Standard metrics often fail to capture the trade-off between maintaining accuracy on known classes and achieving high recall for unknowns. AOSP provides a single, threshold-independent score by calculating the area under the curve of ID mAP versus OOD Recall.

The Average Open-Set Precision (AOSP) metric provides a holistic evaluation of the trade-off between known-class precision and unknown-object recall.

Key Results and Insights

OSR-ViT was evaluated across several benchmarks, including transitions from PASCAL VOC to COCO and specialized domains like remote sensing (ShipRSImageNet).

  • State-of-the-Art Performance: On the VOC $\rightarrow$ COCO benchmark, OSR-ViT achieved an AOSP of 25.1, significantly outperforming existing supervised baselines like VOS (18.6).
  • Data Efficiency: In low-data scenarios, OSR-ViT trained on only 25% of the available data outperformed all other supervised baselines trained on 100% of the data. This highlights the power of leveraging foundational features.
  • Domain Robustness: In the Ships benchmark, OSR-ViT outperformed the closest baseline (OLN) in OOD vs. Background separation by over 15%, proving it can generalize to specialized imagery.

While OSR-ViT excels at discovery, there is a known trade-off between OOD recall and raw accuracy on known classes (ID mAP), which can be managed by tuning the proposal network.

Conclusion

OSR-ViT demonstrates that a simple, modular approach leveraging foundational Vision Transformers can significantly advance the state of open-set object detection. By prioritizing the discovery of unknown objects through the OSODD task and the AOSP metric, this research provides a more robust path forward for deploying computer vision systems in unpredictable, real-world environments. Future work may involve integrating this framework into incremental learning systems where discovered unknowns are labeled and incorporated into the model's knowledge base.

Summary updated

BibTeX
@inproceedings{inkawhich2024osr,
  author = {Matthew Inkawhich and Nathan Inkawhich and Hao Yang and Jingyang Zhang and Randolph Linderman and Yiran Chen},
  title = {{OSR-ViT: A Simple and Modular Framework for Open-Set Object Detection and Discovery}},
  booktitle = {IEEE Big Data},
  year = {2024},
  url = {https://openreview.net/forum?id=1RIu1rt1Kd},
}
Figure