paper-with-me

Papers

What does a platypus look like? Generating customized prompts for zero-shot image classification

2022-09-07 · ICCV 2023 1 · Sarah Pratt, Ian Covert, Rosanne Liu, Ali Farhadi

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 discriminating characteristics of the image categories. This allows the model to place a greater importance on these regions in the image when making predictions. We find that this straightforward and general approach improves accuracy on a range of zero-shot image classification benchmarks, including over one percentage point gain on ImageNet. Finally, this simple baseline requires no additional training and remains completely zero-shot. Code available at https://github.com/sarahpratt/CuPL.

📄 PDF Abstract BibTeX arXiv:2209.03320

Code (3)

sarahpratt/cupl 공식 구현 pytorch
eify/clip_benchmark pytorch
laion-ai/clip_benchmark pytorch

Tasks

Descriptiveimage-classificationImage ClassificationZero-Shot Image Classification

Similar Papers 제목 키워드 기반

Platypus: Quick, Cheap, and Powerful Refinement of LLMs

2023-08-14 · Ariel N. Lee, Cole J. Hunter, Nataniel Ruiz

We present $\textbf{Platypus}$, a family of fine-tuned and merged Large Language Models (LLMs) that achieves the strongest performance and currently stands at first place in HuggingFace's Open LLM Leaderboard as of the r…

GPU

Platypus: A Generalized Specialist Model for Reading Text in Various Forms

2024-08-27 · Peng Wang, Zhaohai Li, Jun Tang, Humen Zhong 외

Reading text from images (either natural scenes or documents) has been a long-standing research topic for decades, due to the high technical challenge and wide application range. Previously, individual specialist models …

Handwritten Text RecognitionOptical Character Recognition (OCR)Scene Text Recognition

GANalyze: Toward Visual Definitions of Cognitive Image Properties

2019-06-24 · ICCV 2019 10 · Authors, :, Lore Goetschalckx, Alex Andonian 외

We introduce a framework that uses Generative Adversarial Networks (GANs) to study cognitive properties like memorability, aesthetics, and emotional valence. These attributes are of interest because we do not have a conc…

Learning Temporal Transformations From Time-Lapse Videos

2016-08-27 · Yipin Zhou, Tamara L. Berg

Based on life-long observations of physical, chemical, and biologic phenomena in the natural world, humans can often easily picture in their minds what an object will look like in the future. But, what about computers? I…

Object

What makes an image realistic?

2024-03-07 · Lucas Theis

The last decade has seen tremendous progress in our ability to generate realistic-looking data, be it images, text, audio, or video. Here, we discuss the closely related problem of quantifying realism, that is, designing…