Vocabulary-free Image Classification

Alessandro Conti, Enrico Fini, Massimiliano Mancini, Paolo Rota, Yiming Wang +1 more
2/12/2026

No official code found. Best implementation: altndrr/vic (107 stars, MIT, last commit 2024-02-02). 1 more below.

Abstract

Recent advances in large vision-language models have revolutionized the image classification paradigm. Despite showing impressive zero-shot capabilities, a pre-defined set of categories, a.k.a. the vocabulary, is assumed at test time for composing the textual prompts. However, such assumption can be impractical when the semantic context is unknown and evolving. We thus formalize a novel task, termed as Vocabulary-free Image Classification (VIC), where we aim to assign to an input image a class that resides in an unconstrained language-induced semantic space, without the prerequisite of a known vocabulary. VIC is a challenging task as the semantic space is extremely large, containing millions of concepts, with hard-to-discriminate fine-grained categories. In this work, we first empirically verify that representing this semantic space by means of an external vision-language database is the most effective way to obtain semantically relevant content for classifying the image. We then propose Category Search from External Databases (CaSED), a method that exploits a pre-trained vision-language model and an external vision-language database to address VIC in a training-free manner. CaSED first extracts a set of candidate categories from captions retrieved from the database based on their semantic similarity to the image, and then assigns to the image the best matching candidate category according to the same vision-language model. Experiments on benchmark datasets validate that CaSED outperforms other complex vision-language frameworks, while being efficient with much fewer parameters, paving the way for future research in this direction.

View on arXivView PDF

Code Implementations(2)

altndrr/vicCommunity100%
MIT

Code implementation of our NeurIPS 2023 paper: Vocabulary-free Image Classification

1073Python, MakefileMay 25, 20232 years agoMIT
deep-learningimage-classificationvocabulary-free
altndrr/vicssCommunity56%
MIT

Code implementation of our paper: Vocabulary-free Image Classification and Semantic Segmentation

51Python, MakefileApr 6, 20242 years agoMIT
deep-learningimage-classificationsemantic-segmentationvocabulary-free

Similar Papers

Cite this paper

@article{conti2026vocabularyfree,
  title  = {Vocabulary-free Image Classification},
  author = {Alessandro Conti and Enrico Fini and Massimiliano Mancini and Paolo Rota and Yiming Wang and E. Ricci},
  year   = {2026},
  eprint = {2306.00917},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2306.00917},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.00917.svg)](https://codeofpaper.com/paper/2306.00917)

Discussion