名字里有什么?超越图像识别中的类别索引
What's in a Name? Beyond Class Indices for Image Recognition
AI总结:
本文重新审视图像识别问题,赋予视觉-语言模型仅以大型类别词汇表为先验为图像分配类别名称的任务,通过迭代聚类和投票机制自动缩小候选名称池,并结合 CLIP 编码器检索外部文本增强聚类,在无监督和部分监督设置下于 ImageNet 取得约 50% 的显著提升。
摘要:
现有的机器学习模型在大规模数据集上经过全监督训练后,在图像目标识别中表现出色。然而,这些模型仅学习将图像映射到预定义的类别索引,未能揭示图像中目标的实际语义含义。相比之下,像 CLIP 这样的视觉-语言模型能够以“零样本”方式为未见过的目标分配语义类别名称,尽管它们在测试时同样被提供了一组预定义的候选名称。在本文中,我们重新审视了识别问题,并赋予视觉-语言模型仅以一个大型(本质上无约束的)类别词汇表作为先验信息来为图像分配类别名称的任务。我们利用非参数方法建立图像之间的有意义关系,使模型能够自动缩小候选名称池。我们提出的方法包括对数据进行迭代聚类,并采用投票机制来确定最合适的类别名称。此外,我们还研究了结合额外文本特征以增强聚类性能的潜力。为此,我们采用 CLIP 视觉和文本编码器从外部数据库中检索相关文本,这些文本可以提供补充的语义信息来指导聚类过程。此外,我们在无监督和部分监督设置下,以及以粗粒度和细粒度搜索空间作为无约束字典的情况下,均对该问题进行了探讨。值得注意的是,在无监督设置下,我们的方法在 ImageNet 上比基线提高了约 50%。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。