Visual Classification via Description from Large Language Models
Sachit Menon, Carl Vondrick
Abstract
Vision-language models (VLMs) such as CLIP have shown promising performance on a variety of recognition tasks using the standard zero-shot classification procedure -- computing similarity between the query image and the embedded words for each category. By only using the category name, they neglect to make use of the rich context of additional information that language affords. The procedure gives no intermediate understanding of why a category is chosen, and furthermore provides no mechanism for adjusting the criteria used towards this decision. We present an alternative framework for classification with VLMs, which we call classification by description. We ask VLMs to check for descriptive features rather than broad categories: to find a tiger, look for its stripes; its claws; and more. By basing decisions on these descriptors, we can provide additional cues that encourage using the features we want to be used. In the process, we can get a clear idea of what features the model uses to construct its decision; it gains some level of inherent explainability. We query large language models (e.g., GPT-3) for these descriptors to obtain them in a scalable way. Extensive experiments show our framework has numerous advantages past interpretability. We show improvements in accuracy on ImageNet across distribution shifts; demonstrate the ability to adapt VLMs to recognize concepts unseen during training; and illustrate how descriptors can be edited to effectively mitigate bias compared to the baseline.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
196 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- FLAVA: A Foundational Language And Vision Alignment Model cites Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
- FLAVA: A Foundational Language And Vision Alignment Model cites Learning Transferable Visual Models From Natural Language Supervision
- What does a platypus look like? Generating customized prompts for zero-shot image classification cites An Empirical Study of GPT-3 for Few-Shot Knowledge-Based VQA
- What does a platypus look like? Generating customized prompts for zero-shot image classification cites Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
- What does a platypus look like? Generating customized prompts for zero-shot image classification cites Learning Transferable Visual Models From Natural Language Supervision
- An Empirical Study of GPT-3 for Few-Shot Knowledge-Based VQA cites Learning Transferable Visual Models From Natural Language Supervision
- Waffling around for Performance: Visual Classification with Random Words and Broad Concepts cites What does a platypus look like? Generating customized prompts for zero-shot image classification
- Waffling around for Performance: Visual Classification with Random Words and Broad Concepts cites SuS-X: Training-Free Name-Only Transfer of Vision-Language Models
- Waffling around for Performance: Visual Classification with Random Words and Broad Concepts cites Learning Transferable Visual Models From Natural Language Supervision
- ViperGPT: Visual Inference via Python Execution for Reasoning cites An Empirical Study of GPT-3 for Few-Shot Knowledge-Based VQA
- ViperGPT: Visual Inference via Python Execution for Reasoning cites Learning Transferable Visual Models From Natural Language Supervision
- Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision cites Learning Transferable Visual Models From Natural Language Supervision
- SuS-X: Training-Free Name-Only Transfer of Vision-Language Models cites What does a platypus look like? Generating customized prompts for zero-shot image classification
- SuS-X: Training-Free Name-Only Transfer of Vision-Language Models cites Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
- SuS-X: Training-Free Name-Only Transfer of Vision-Language Models cites Learning Transferable Visual Models From Natural Language Supervision
- Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformers cites Learning Transferable Visual Models From Natural Language Supervision
- In-Context Impersonation Reveals Large Language Models' Strengths and Biases cites FLAVA: A Foundational Language And Vision Alignment Model
- In-Context Impersonation Reveals Large Language Models' Strengths and Biases cites An Empirical Study of GPT-3 for Few-Shot Knowledge-Based VQA
- In-Context Impersonation Reveals Large Language Models' Strengths and Biases cites Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
- In-Context Impersonation Reveals Large Language Models' Strengths and Biases cites Learning Transferable Visual Models From Natural Language Supervision
Cited by top-tier papers196
- ViperGPT: Visual Inference via Python Execution for ReasoningDídac Surís, Sachit Menon, Carl VondrickICCV 2023 · 732 citations
- What does a platypus look like? Generating customized prompts for zero-shot image classificationSarah M. Pratt, Ian Covert, Rosanne Liu, Ali FarhadiICCV 2023 · 343 citations
- In-Context Impersonation Reveals Large Language Models' Strengths and BiasesLeonard Salewski, Stephan Alaniz, Isabel Rio-Torto, Eric Schulz et al.NeurIPS 2023 · 259 citations
- SuS-X: Training-Free Name-Only Transfer of Vision-Language ModelsVishaal Udandarao, Ankush Gupta, Samuel AlbanieICCV 2023 · 160 citations
- Waffling around for Performance: Visual Classification with Random Words and Broad ConceptsKarsten Roth, Jae-Myung Kim, A. Sophia Koepke, Oriol Vinyals et al.ICCV 2023 · 124 citations
Builds on11
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- Scaling Up Visual and Vision-Language Representation Learning With Noisy Text SupervisionChao Jia, Yinfei Yang, Ye Xia, Yi-Ting Chen et al.ICML 2021 · 5,401 citations
- An Empirical Study of GPT-3 for Few-Shot Knowledge-Based VQAZhengyuan Yang, Zhe Gan, Jianfeng Wang, Xiaowei Hu et al.AAAI 2022 · 517 citations
- FLAVA: A Foundational Language And Vision Alignment ModelAmanpreet Singh, Ronghang Hu, Vedanuj Goswami, Guillaume Couairon et al.CVPR 2022 · 483 citations
- Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder TransformersHila Chefer, Shir Gur, Lior WolfICCV 2021 · 451 citations
Related papers
- Zero-Shot Fine-Grained Image Classification Using Large Vision-Language ModelsMd. Atabuzzaman, Andrew Zhang, Christopher ThomasEMNLP Findings 2025 · 1 citation
- Improved Zero-Shot Classification by Adapting VLMs with Text DescriptionsOindrila Saha, Grant Van Horn, Subhransu MajiCVPR 2024 · 26 citations
- ChatGPT-Powered Hierarchical Comparisons for Image ClassificationZhiyuan Ren, Yiyang Su, Xiaoming LiuNeurIPS 2023 · 54 citations
- LaFTer: Label-Free Tuning of Zero-shot Classifier using Language and Unlabeled Image CollectionsMuhammad Jehanzeb Mirza, Leonid Karlinsky, Wei Lin, Horst Possegger et al.NeurIPS 2023 · 63 citations
- Remote Sensing Vision-Language Foundation Models without Annotations via Ground Remote AlignmentUtkarsh Mall, Cheng Perng Phoo, Meilin Kelsey Liu, Carl Vondrick et al.ICLR 2024 · 90 citations
