paper-with-me

홈 › Papers

LP++: A Surprisingly Strong Linear Probe for Few-Shot CLIP

2024-04-02 · CVPR 2024 1 · Yunshi Huang, Fereshteh Shakeri, Jose Dolz, Malik Boudiaf, Houda Bahig, Ismail Ben Ayed

In a recent, strongly emergent literature on few-shot CLIP adaptation, Linear Probe (LP) has been often reported as a weak baseline. This has motivated intensive research building convoluted prompt learning or feature adaptation strategies. In this work, we propose and examine from convex-optimization perspectives a generalization of the standard LP baseline, in which the linear classifier weights are learnable functions of the text embedding, with class-wise multipliers blending image and text knowledge. As our objective function depends on two types of variables, i.e., the class visual prototypes and the learnable blending parameters, we propose a computationally efficient block coordinate Majorize-Minimize (MM) descent algorithm. In our full-batch MM optimizer, which we coin LP++, step sizes are implicit, unlike standard gradient descent practices where learning rates are intensively searched over validation sets. By examining the mathematical properties of our loss (e.g., Lipschitz gradient continuity), we build majorizing functions yielding data-driven learning rates and derive approximations of the loss's minima, which provide data-informed initialization of the variables. Our image-language objective function, along with these non-trivial optimization insights and ingredients, yields, surprisingly, highly competitive few-shot CLIP performances. Furthermore, LP++ operates in black-box, relaxes intensive validation searches for the optimization hyper-parameters, and runs orders-of-magnitudes faster than state-of-the-art few-shot CLIP adaptation methods. Our code is available at: \url{https://github.com/FereshteShakeri/FewShot-CLIP-Strong-Baseline.git}.

📄 PDF Abstract BibTeX arXiv:2404.02285

Code (1)

fereshteshakeri/fewshot-clip-strong-baseline 공식 구현 pytorch

Tasks

Prompt Learning

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 제목 키워드 기반

Zero-Shot Distillation for Image Encoders: How to Make Effective Use of Synthetic Data

2024-04-25 · Niclas Popp, Jan Hendrik Metzen, Matthias Hein

Multi-modal foundation models such as CLIP have showcased impressive zero-shot capabilities. However, their applicability in resource-constrained environments is limited due to their large number of parameters and high i…

zero-shot-classificationZero-Shot Learning

Text-To-Concept (and Back) via Cross-Model Alignment

2023-05-10 · Mazda Moayeri, Keivan Rezaei, Maziar Sanjabi, Soheil Feizi

We observe that the mapping between an image's representation in one model to its representation in another can be learned surprisingly well with just a linear layer, even across diverse models. Building on this observat…

Comparison of ConvNeXt and Vision-Language Models for Breast Density Assessment in Screening Mammography

2025-06-16 · Yusdivia Molina-Román, David Gómez-Ortiz, Ernestina Menasalvas-Ruiz, José Gerardo Tamez-Peña 외

Mammographic breast density classification is essential for cancer risk assessment but remains challenging due to subjective interpretation and inter-observer variability. This study compares multimodal and CNN-based met…

breast density classificationClassificationzero-shot-classificationZero-Shot Learning

Few-shot Adaptation of Medical Vision-Language Models

2024-09-05 · Fereshteh Shakeri, Yunshi Huang, Julio Silva-Rodríguez, Houda Bahig 외

Integrating image and text data through multi-modal learning has emerged as a new approach in medical imaging research, following its successful deployment in computer vision. While considerable efforts have been dedicat…

Prompt Learning

Open Horizons: Evaluating Deep Models in the Wild

2025-12-13 · Ayush Vaibhav Bhatti, Deniz Karakay, Debottama Das, Nilotpal Rajbongshi 외 arxiv

Open-world deployment requires models to recognize both known categories and remain reliable when novel classes appear. We present a unified experimental study spanning open-set recognition (OSR) and few-shot class-incre…

Few-Shot Class-Incremental Learning