What does a platypus look like? Generating customized prompts for zero-shot image classification
Sarah Pratt, Ian Covert, Rosanne Liu, Ali Farhadi

TL;DR
This paper introduces CuPL, a method that uses large language models to generate descriptive prompts for zero-shot image classification, significantly improving accuracy without additional training.
Contribution
The work presents a novel approach to generate customized prompts using LLMs, enhancing zero-shot classification performance without task-specific knowledge or extra training.
Findings
Improves accuracy on ImageNet by over 1 percentage point
Requires no additional training or fine-tuning
Applicable across various zero-shot benchmarks
Abstract
Open-vocabulary models are a promising new paradigm for image classification. Unlike traditional classification models, open-vocabulary models classify among any arbitrary set of categories specified with natural language during inference. This natural language, called "prompts", typically consists of a set of hand-written templates (e.g., "a photo of a {}") which are completed with each of the category names. This work introduces a simple method to generate higher accuracy prompts, without relying on any explicit knowledge of the task domain and with far fewer hand-constructed sentences. To achieve this, we combine open-vocabulary models with large language models (LLMs) to create Customized Prompts via Language models (CuPL, pronounced "couple"). In particular, we leverage the knowledge contained in LLMs in order to generate many descriptive sentences that contain important…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
What Does a Platypus Look Like? Generating Customized Prompts for Zero-Shot Image Classification· youtube
Taxonomy
TopicsDomain Adaptation and Few-Shot Learning · Multimodal Machine Learning Applications · COVID-19 diagnosis using AI
