Abstract
Vision-Language Models (VLMs) like CLIP are often perceived as inherently "open-set" due to their internet-scale training data. However, this study demonstrates that VLMs remain highly vulnerable to misclassifying unknown objects because they rely on a finite, closed-set query list at inference time. We introduce a new evaluation protocol and benchmark to quantify these Open-Set Errors (OSEs) across major VLM classifiers and object detectors, revealing significant overconfidence in misclassifications.
Introduction: The Myth of the Inherently Open-Set VLM
In traditional computer vision, open-set recognition (OSR) refers to a model's ability to identify and reject objects it was not exposed to during training. Because VLMs are trained on massive, diverse datasets, a common assumption in the field is that the open-set problem is effectively "solved." The logic follows that if a model has seen almost everything during pre-training, it should naturally handle open-vocabulary tasks.
This paper refutes that assumption, arguing that the bottleneck is not the training data, but the query set. When a VLM is deployed, it is typically provided with a specific list of classes (e.g., "dog," "cat," "car"). If the model encounters an object outside this list—even one it "knows" from pre-training—it often forces that object into one of the provided categories with high confidence. This creates a "closed-set assumption" in supposedly open-vocabulary models.
The VLM Open-Set Problem
Comparison of traditional vs. VLM open-set recognition paradigms. Open-Set Recognition in the Age of Vision-Language Models, page 2
As illustrated in the figure above, traditional OSR equates the training set with the querying set. In the VLM paradigm, while the training set is vast, the querying set at inference time is a subset that defines the model's operational boundaries. Objects falling into the "Open-set" (outside the query list) are frequently misidentified, leading to Open-Set Errors (OSEs).
Methodology and Evaluation Protocol
The authors systematically evaluate how VLMs handle OSEs using two primary strategies:
- Baseline Uncertainty Measures: Testing if standard metrics such as Softmax scores, Cosine similarity, or Entropy can be used to threshold and reject unknown objects.
- Dedicated Negative Embeddings: Experimenting with adding "unknown" categories to the query set. This includes using Random Words (nonsense strings like "braxl") and Random Embeddings (vectors drawn from a Gaussian distribution based on the query set's statistics).
A key contribution of this work is a revised evaluation protocol. Each image is tested twice: first in a "closed-set" scenario where the true class is present in the query set, and second in an "open-set" scenario where the true class is removed. This allows researchers to measure how often a model correctly rejects an input versus making an overconfident error.
Experimental Results
The study utilizes ImageNet1k for classification and MS COCO 2017 for object detection, alongside domain-specific sets like GTSRB (traffic signs) and Food101. The results highlight several critical vulnerabilities:
- Poor Precision: When tuned for high recall (retaining 95% of correct predictions), VLM classifiers showed precision between only 46.2% and 58.4%. This implies that nearly half of the model's predictions in an open-set environment were errors.
- Detector Vulnerability: Object detectors performed significantly worse, with precision dropping to between 5.9% and 21.9% at 95% recall.
- Confidence Mismatch: VLM classifiers tend to be overconfident in their errors, assigning high softmax scores to objects not in the query set. Conversely, detectors are often underconfident in true positives, making it difficult to distinguish legitimate detections from OSEs.
Discussion: The Query Set Trap
The research indicates that simply increasing the size of the query set (e.g., adding thousands of WordNet classes) does not solve the problem. Instead, it leads to diminishing task performance and increased noise. Furthermore, while adding "negative" queries can help capture some unknown objects, it often degrades accuracy on the original "closed-set" classes.
Conclusion
By refuting the "inherently open-set" myth, this paper establishes a more rigorous standard for evaluating and deploying Vision-Language Models. Current baseline strategies for OSR in VLMs are insufficient for safety-critical applications. Future research must focus on developing multi-modal uncertainty representations and more effective methods for learning the boundaries of "known" space.
Summary updated