TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Unconstrained Open Vocabulary Image Classification: Zero-S...

Unconstrained Open Vocabulary Image Classification: Zero-Shot Transfer from Text to Image via CLIP Inversion

Philipp Allgeuer, Kyra Ahrens, Stefan Wermter

2024-07-15Open Vocabulary Image ClassificationText ClassificationImage ClassificationZero-Shot Image ClassificationOpen Vocabulary Object Detection
PaperPDFCode(official)Code(official)

Abstract

We introduce NOVIC, an innovative real-time uNconstrained Open Vocabulary Image Classifier that uses an autoregressive transformer to generatively output classification labels as language. Leveraging the extensive knowledge of CLIP models, NOVIC harnesses the embedding space to enable zero-shot transfer from pure text to images. Traditional CLIP models, despite their ability for open vocabulary classification, require an exhaustive prompt of potential class labels, restricting their application to images of known content or context. To address this, we propose an "object decoder" model that is trained on a large-scale 92M-target dataset of templated object noun sets and LLM-generated captions to always output the object noun in question. This effectively inverts the CLIP text encoder and allows textual object labels from essentially the entire English language to be generated directly from image-derived embedding vectors, without requiring any a priori knowledge of the potential content of an image, and without any label biases. The trained decoders are tested on a mix of manually and web-curated datasets, as well as standard image classification benchmarks, and achieve fine-grained prompt-free prediction scores of up to 87.5%, a strong result considering the model must work for any conceivable image and without any contextual clues.

Results

TaskDatasetMetricValueModel
Zero-Shot Image ClassificationOVIC Datasets (Wiki-L)Prediction Score (mean of 3)74.88DFN-5B H/14-378 + PrefixedIter Decoder (FT2)
Zero-Shot Image ClassificationOVIC Datasets (Wiki-L)Prediction Score (mean of 3)74.48DFN-5B H/14-378 + PrefixedIter Decoder (FT0)
Zero-Shot Image ClassificationOVIC Datasets (World-H)Prediction Score (mean of 3)87.49SigLIP SO/14 + PrefixedIter Decoder (FT2)
Zero-Shot Image ClassificationOVIC Datasets (World-H)Overall Score87.13DFN-5B H/14-378 + PrefixedIter Decoder (FT2)
Zero-Shot Image ClassificationOVIC Datasets (World-H)Prediction Score87.94DFN-5B H/14-378 + PrefixedIter Decoder (FT2)
Zero-Shot Image ClassificationOVIC Datasets (World-H)Prediction Score (mean of 3)87.08DFN-5B H/14-378 + PrefixedIter Decoder (FT2)
Zero-Shot Image ClassificationOVIC Datasets (World-H)Top 1 Accuracy86.77DFN-5B H/14-378 + PrefixedIter Decoder (FT2)
Zero-Shot Image ClassificationOVIC Datasets (World-H)Overall Score87.9DFN-5B H/14-378 + PrefixedIter Decoder (FT0)
Zero-Shot Image ClassificationOVIC Datasets (World-H)Prediction Score88.27DFN-5B H/14-378 + PrefixedIter Decoder (FT0)
Zero-Shot Image ClassificationOVIC Datasets (World-H)Prediction Score (mean of 3)86.41DFN-5B H/14-378 + PrefixedIter Decoder (FT0)
Zero-Shot Image ClassificationOVIC Datasets (World-H)Top 1 Accuracy86.95DFN-5B H/14-378 + PrefixedIter Decoder (FT0)
Zero-Shot Image ClassificationOVIC Datasets (Val3K)Prediction Score (mean of 3)76.5SigLIP B/16 + PrefixedIter Decoder (FT6)
Zero-Shot Image ClassificationOVIC Datasets (Val3K)Top 1 Accuracy (mean of 3)75.04SigLIP B/16 + PrefixedIter Decoder (FT6)
Zero-Shot Image ClassificationOVIC Datasets (Val3K)Prediction Score (mean of 3)74.35SigLIP B/16 + PrefixedIter Decoder (FT2)
Zero-Shot Image ClassificationOVIC Datasets (Val3K)Top 1 Accuracy (mean of 3)72.9SigLIP B/16 + PrefixedIter Decoder (FT2)
Zero-Shot Image ClassificationOVIC Datasets (Wiki-H)Overall Score79.02DFN-5B H/14-378 + PrefixedIter Decoder (FT2)
Zero-Shot Image ClassificationOVIC Datasets (Wiki-H)Prediction Score80.13DFN-5B H/14-378 + PrefixedIter Decoder (FT2)
Zero-Shot Image ClassificationOVIC Datasets (Wiki-H)Top 1 Accuracy77.05DFN-5B H/14-378 + PrefixedIter Decoder (FT2)
Zero-Shot Image ClassificationOVIC Datasets (Wiki-H)Overall Score78.21DFN-5B H/14-378 + PrefixedIter Decoder (FT0)
Zero-Shot Image ClassificationOVIC Datasets (Wiki-H)Prediction Score79.18DFN-5B H/14-378 + PrefixedIter Decoder (FT0)
Zero-Shot Image ClassificationOVIC Datasets (Wiki-H)Top 1 Accuracy77.1DFN-5B H/14-378 + PrefixedIter Decoder (FT0)
Zero-Shot Image ClassificationOVIC Datasets (Wiki-H)Prediction Score (mean of 3)72.03SigLIP B/16 + PrefixedIter Decoder (FT2)

Related Papers

Automatic Classification and Segmentation of Tunnel Cracks Based on Deep Learning and Visual Explanations2025-07-18Making Language Model a Hierarchical Classifier and Generator2025-07-17Adversarial attacks to image classification systems using evolutionary algorithms2025-07-17Efficient Adaptation of Pre-trained Vision Transformer underpinned by Approximately Orthogonal Fine-Tuning Strategy2025-07-17Federated Learning for Commercial Image Sources2025-07-17MUPAX: Multidimensional Problem Agnostic eXplainable AI2025-07-17Hashed Watermark as a Filter: Defeating Forging and Overwriting Attacks in Weight-based Neural Network Watermarking2025-07-15Transferring Styles for Reduced Texture Bias and Improved Robustness in Semantic Segmentation Networks2025-07-14