paper-with-me

Papers

GalLoP: Learning Global and Local Prompts for Vision-Language Models

2024-07-01 · Marc Lafon, Elias Ramzi, Clément Rambour, Nicolas Audebert, Nicolas Thome

Prompt learning has been widely adopted to efficiently adapt vision-language models (VLMs), e.g. CLIP, for few-shot image classification. Despite their success, most prompt learning methods trade-off between classification accuracy and robustness, e.g. in domain generalization or out-of-distribution (OOD) detection. In this work, we introduce Global-Local Prompts (GalLoP), a new prompt learning method that learns multiple diverse prompts leveraging both global and local visual features. The training of the local prompts relies on local features with an enhanced vision-text alignment. To focus only on pertinent features, this local alignment is coupled with a sparsity strategy in the selection of the local features. We enforce diversity on the set of prompts using a new ``prompt dropout'' technique and a multiscale strategy on the local prompts. GalLoP outperforms previous prompt learning methods on accuracy on eleven datasets in different few shots settings and with various backbones. Furthermore, GalLoP shows strong robustness performances in both domain generalization and OOD detection, even outperforming dedicated OOD detection methods. Code and instructions to reproduce our results: https://github.com/MarcLafon/gallop.

📄 PDF Abstract BibTeX arXiv:2407.01400

Code (1)

marclafon/gallop 공식 구현 pytorch

Tasks

DiversityDomain GeneralizationFew-Shot Image Classificationimage-classificationImage ClassificationOut of Distribution (OOD) DetectionPrompt Learning

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically
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…
Focus 설명 없음

Similar Papers 제목 키워드 기반

Personalized Federated Learning via Dual-Prompt Optimization and Cross Fusion

2025-06-26 · Yuguang Zhang, Kuangpu Guo, Zhihe Lu, Yunbo Wang 외

Federated learning (FL) enables collaborative model training across decentralized clients without sharing local data, but is challenged by heterogeneity in data, computation, and communication. Pretrained vision-language…

Federated LearningPersonalized Federated LearningPrompt Learning

CoPL: Contextual Prompt Learning for Vision-Language Understanding

2023-07-03 · Koustava Goswami, Srikrishna Karanam, Prateksha Udhayanan, K J Joseph 외

Recent advances in multimodal learning has resulted in powerful vision-language models, whose representations are generalizable across a variety of downstream tasks. Recently, their generalization ability has been furthe…

Prompt Learning

Enhancing Outlier Knowledge for Few-Shot Out-of-Distribution Detection with Extensible Local Prompts

2024-09-07 · Fanhu Zeng, Zhen Cheng, Fei Zhu, Xu-Yao Zhang

Out-of-Distribution (OOD) detection, aiming to distinguish outliers from known categories, has gained prominence in practical scenarios. Recently, the advent of vision-language models (VLM) has heightened interest in enh…

Out-of-Distribution DetectionOut of Distribution (OOD) Detection

Conductor Galloping Prediction on Imbalanced Datasets: SVM with Smart Sampling

2019-11-09 · Kui Wang, Jian Sun, Chenye Wu, Yang Yu

Conductor galloping is the high-amplitude, low-frequency oscillation of overhead power lines due to wind. Such movements may lead to severe damages to transmission lines, and hence pose significant risks to the power sys…

Prediction

Federated Domain Generalization via Prompt Learning and Aggregation

2024-11-15 · Shuai Gong, Chaoran Cui, Chunyun Zhang, Wenna Wang 외

Federated domain generalization (FedDG) aims to improve the global model generalization in unseen domains by addressing data heterogeneity under privacy-preserving constraints. A common strategy in existing FedDG studies…

Domain GeneralizationPrivacy PreservingPrompt LearningTransfer Learning