What's in a Name? Beyond Class Indices for Image Recognition
Kai Han, Xiaohu Huang, Yandong Li, Sagar Vaze, Jie Li, Xuhui Jia
TL;DR
This work defines Semantic Category Discovery (SCD): assigning semantic class names to images from an unconstrained vocabulary rather than a fixed label set. It combines non-parametric clustering on self-supervised features with a vision-language model (e.g., CLIP) to vote on candidate names for each cluster, and iteratively refines names and clusters; the method can use text augmentation from external sources (CC12M) and supports unsupervised and partially supervised settings. A constrained variant (CSS-$k$-means) using a Minimum Cost Flow objective improves clustering stability when labels are available, and a linear-assignment step with the Hungarian algorithm ensures unique semantic names across clusters. Across ImageNet, Stanford Dogs, and CUB, the approach yields substantial improvements over baselines (notably ~50% relative gains on ImageNet in the unsupervised setting) and demonstrates that textual features can boost clustering performance, highlighting a practical pathway toward open-vocabulary, human-aligned recognition systems.
Abstract
Existing machine learning models demonstrate excellent performance in image object recognition after training on a large-scale dataset under full supervision. However, these models only learn to map an image to a predefined class index, without revealing the actual semantic meaning of the object in the image. In contrast, vision-language models like CLIP are able to assign semantic class names to unseen objects in a 'zero-shot' manner, though they are once again provided a pre-defined set of candidate names at test-time. In this paper, we reconsider the recognition problem and task a vision-language model with assigning class names to images given only a large (essentially unconstrained) vocabulary of categories as prior information. We leverage non-parametric methods to establish meaningful relationships between images, allowing the model to automatically narrow down the pool of candidate names. Our proposed approach entails iteratively clustering the data and employing a voting mechanism to determine the most suitable class names. Additionally, we investigate the potential of incorporating additional textual features to enhance clustering performance. To achieve this, we employ the CLIP vision and text encoders to retrieve relevant texts from an external database, which can provide supplementary semantic information to inform the clustering process. Furthermore, we tackle this problem both in unsupervised and partially supervised settings, as well as with a coarse-grained and fine-grained search space as the unconstrained dictionary. Remarkably, our method leads to a roughly 50% improvement over the baseline on ImageNet in the unsupervised setting.
