paper-with-me

홈 › Papers

AutoCLIP: Auto-tuning Zero-Shot Classifiers for Vision-Language Models

2023-09-28 · Jan Hendrik Metzen, Piyapat Saranrittichai, Chaithanya Kumar Mummadi

Classifiers built upon vision-language models such as CLIP have shown remarkable zero-shot performance across a broad range of image classification tasks. Prior work has studied different ways of automatically creating descriptor sets for every class based on prompt templates, ranging from manually engineered templates over templates obtained from a large language model to templates built from random words and characters. Up until now, deriving zero-shot classifiers from the respective encoded class descriptors has remained nearly unchanged, i.e., classify to the class that maximizes cosine similarity between its averaged encoded class descriptors and the image encoding. However, weighing all class descriptors equally can be suboptimal when certain descriptors match visual clues on a given image better than others. In this work, we propose AutoCLIP, a method for auto-tuning zero-shot classifiers. AutoCLIP tunes per-image weights to each prompt template at inference time, based on statistics of class descriptor-image similarities. AutoCLIP is fully unsupervised, has only a minor additional computation overhead, and can be easily implemented in few lines of code. We show that AutoCLIP outperforms baselines across a broad range of vision-language models, datasets, and prompt templates consistently and by up to 3 percent point accuracy.

📄 PDF Abstract BibTeX arXiv:2309.16414

Code (1)

boschresearch/autoclip 공식 구현 pytorch

Tasks

image-classificationImage ClassificationLanguage ModellingLarge Language Model

Methods 이 논문이 사용한 방법론

CLIP Contrastive Language-Image Pre-training (CLIP), consisting of a simplified version of ConVIRT trained from scratch, is an efficient method of image representation learning…

Similar Papers 제목 키워드 기반

AutoClip: Adaptive Gradient Clipping for Source Separation Networks

2020-07-25 · Prem Seetharaman, Gordon Wichern, Bryan Pardo, Jonathan Le Roux

Clipping the gradient is a known approach to improving gradient descent, but requires hand selection of a clipping threshold hyperparameter. We present AutoClip, a simple method for automatically and adaptively choosing …

Audio Source Separation

Building Efficient Universal Classifiers with Natural Language Inference

2023-12-29 · Moritz Laurer, Wouter van Atteveldt, Andreu Casas, Kasper Welbers

Generative Large Language Models (LLMs) have become the mainstream choice for fewshot and zeroshot learning thanks to the universality of text generation. Many users, however, do not need the broad capabilities of genera…

ClassificationNatural Language Inferencetext-classificationText Classification+1

LaFTer: Label-Free Tuning of Zero-shot Classifier using Language and Unlabeled Image Collections

2023-05-29 · NeurIPS 2023 11

Recently, large-scale pre-trained Vision and Language (VL) models have set a new state-of-the-art (SOTA) in zero-shot visual classification enabling open-vocabulary recognition of potentially unlimited set of categories …

Language ModelingLanguage ModellingLarge Language Model

Text Classification in the LLM Era - Where do we stand?

2025-02-17 · Sowmya Vajjala, Shwetali Shimangaud

Large Language Models revolutionized NLP and showed dramatic performance improvements across several tasks. In this paper, we investigated the role of such language models in text classification and how they compare with…

ClassificationSentiment AnalysisSentiment Classificationtext-classification+3

Learning to Aggregate Zero-Shot LLM Agents for Corporate Disclosure Classification

2026-03-21 · Kemal Kirtac arxiv

This paper studies whether a lightweight supervised aggregator can combine diverse zero-shot large language model outputs into a stronger downstream signal for corporate disclosure classification. Zero-shot LLMs can read…