Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Visual Classification via Description from Large Language Models

About

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.

Sachit Menon, Carl Vondrick• 2022

Related benchmarks

TaskDatasetResultRank
Image ClassificationImageNet-1K
Top-1 Acc68.55
600
Image ClassificationCIFAR10 (test)
Accuracy81.61
585
Image ClassificationEuroSAT--
569
Image ClassificationDTD
Accuracy42.82
542
Image ClassificationFood-101--
542
Image ClassificationUCF101
Top-1 Acc67.12
455
Image ClassificationImageNet 1k (test)
Top-1 Accuracy76.51
450
Image ClassificationImageNet--
431
Image ClassificationSUN397--
425
Image ClassificationCUB-200 2011
Accuracy50.29
356
Showing 10 of 65 rows

Other info

Follow for update