Introduction
In traditional computer vision, the "closed-set" assumption dictates that a model will only encounter classes it was exposed to during training. Open-Set Recognition (OSR) emerged as a critical field to help models identify and reject "unknown" objects. With the advent of Vision-Language Models (VLMs) like CLIP, which are trained on billions of internet-scale image-text pairs, many researchers assumed the OSR problem was effectively solved. The logic was that if a model has seen almost everything during training, nothing is truly "unknown."
However, this paper identifies a critical flaw in that assumption: the finite query set bottleneck. To use a VLM for a specific task, a user must provide a discrete list of classes (the query set). If the model encounters an object not present in this list, it does not naturally signal uncertainty. Instead, it frequently maps the object to the most similar available class with alarmingly high confidence, leading to dangerous overconfidence in real-world applications.
Methodology: The Two-Test Protocol
The authors propose a revised definition of the open-set problem tailored for the VLM era. Rather than focusing on the gap between training and testing data, they focus on the gap between the model's internal knowledge and the specific query set provided at inference.
To systematically quantify this, they developed a "two-test" evaluation protocol:
- Closed-set test: The model is provided with a query set that includes the ground-truth class of the image.
- Open-set test: The ground-truth class is intentionally removed from the query set. In this scenario, every prediction the model makes is, by definition, an Open-Set Error (OSE).
Analysis of VLM Vulnerabilities
The study reveals several counter-intuitive insights regarding how VLMs handle unknown data:
- The Vocabulary Paradox: A common intuition is to simply expand the query set to include every possible noun. However, the authors demonstrate that increasing the query set size leads to diminishing returns in accuracy and actually increases misclassification rates due to increased noise and density in the embedding space.
- Uncertainty Metrics: The research compares different ways to threshold "unknowns." They found that Softmax scores (relative probability) and Entropy (distribution messiness) are significantly more reliable indicators of open-set errors than raw Cosine similarity (feature similarity).
- Detector Vulnerability: Object detectors are found to be far more susceptible to OSEs than classifiers. Because detectors must evaluate thousands of potential object proposals—many containing background clutter or unlabeled objects—they produce a staggering number of false positives.
Empirical Results
The researchers evaluated state-of-the-art models including CLIP, ALIGN, and ImageBind across ImageNet-1k and MS COCO benchmarks. The results highlight a significant performance gap when models are forced to operate in open-set conditions.
As shown in the table above, when these models are tuned for high recall (95%), the precision for models like CLIP and ALIGN drops to between 46.2% and 58.4%. This implies that nearly half of all "confident" predictions in an open-set environment are actually errors. While using "negative queries" (inserting random words as filler classes) can reduce OSE counts, it often results in a significant trade-off, such as the ~8.4% drop in closed-set accuracy observed in ImageBind.
Conclusion and Future Directions
This research proves that VLMs inherit the closed-set assumptions of their users, regardless of their massive training data. Current baseline uncertainty measures remain insufficient for safety-critical applications like autonomous driving or medical diagnostics.
Future work should move beyond simple thresholding and explore more sophisticated methods, such as:
- Prompt Tuning: Learning optimized representations for "unknown" classes.
- Auto-labeling: Leveraging the VLM's internal knowledge to dynamically expand query sets during inference.
- Advanced Uncertainty Quantification: Developing metrics specifically designed for the unique embedding spaces of multi-modal models.
Summary updated