Improved Few-Shot Image Classification Through Multiple-Choice Questions
Khullar, Dipika, Goodman, Emmett, Sokhandan, Negin
–arXiv.org Artificial Intelligence
Through a simple multiple choice language prompt a VQA model can operate as a zero-shot image classifier, producing a classification label. Compared to typical image encoders, VQA models offer an advantage: VQA-produced image embeddings can be infused with the most relevant visual information through tailored language prompts. Nevertheless, for most tasks, zero-shot VQA performance is lacking, either because of unfamiliar category names, or dissimilar pre-training data and test data distributions. We propose a simple method to boost VQA performance for image classification using only a handful of labeled examples and a multiple-choice question. This few-shot method is training-free and maintains the dynamic and flexible advantages of the VQA model. Rather than relying on the final language output, our approach uses multiple-choice questions to extract prompt-specific latent representations, which are enriched with relevant visual information. These representations are combined to create a final overall image embedding, which is decoded via reference to latent class prototypes constructed from the few labeled examples. We demonstrate this method outperforms both pure visual encoders and zero-shot VQA baselines to achieve impressive performance on common few-shot tasks including MiniImageNet, Caltech-UCSD Birds, and CIFAR-100. Finally, we show our approach does particularly well in settings with numerous diverse visual attributes such as the fabric, article-style, texture, and view of different articles of clothing, where other few-shot approaches struggle, as we can tailor our image representations only on the semantic features of interest.
arXiv.org Artificial Intelligence
Jul-22-2024
- Country:
- North America > United States > California > Santa Clara County > Palo Alto (0.04)
- Genre:
- Questionnaire & Opinion Survey (0.82)
- Research Report (0.64)
- Industry:
- Education (1.00)
- Health & Medicine > Therapeutic Area (0.68)
- Technology: