Learning to Compose Soft Prompts for Compositional Zero-Shot Learning
Abstract
We introduce compositional soft prompting (CSP), a parameter-efficient learning technique to improve the zero-shot compositionality of large-scale pretrained vision-language models (VLMs) like CLIP. We develop CSP for compositional zero-shot learning, the task of predicting unseen attribute-object compositions (e.g., old cat and young tiger). VLMs have a flexible text encoder that can represent arbitrary classes as natural language prompts but they often underperform task-specific architectures on the compositional zero-shot benchmark datasets. CSP treats the attributes and objects that define classes as learnable tokens of vocabulary. During training, the vocabulary is tuned to recognize classes that compose tokens in multiple ways (e.g., old cat and white cat). At test time, we recompose the learned attribute-object vocabulary in new combinations to recognize novel classes. We show that CSP outperforms the CLIP on benchmark datasets by an average of 10.9 percentage points on AUC. CSP also outperforms CoOp, a soft prompting method that fine-tunes the prefix context tokens, by an average of 5.8 percentage points on AUC. We perform additional experiments to show that CSP improves generalization to higher-order attribute-attribute-object compositions (e.g., old white cat) and combinations of pretrained attributes and fine-tuned objects. The code is available at https://github.com/BatsResearch/csp.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
38 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Multitask Prompted Training Enables Zero-Shot Task Generalization cites Language Models are Few-Shot Learners
- DePT: Decomposed Prompt Tuning for Parameter-Efficient Fine-tuning cites Language Models are Few-Shot Learners
- DePT: Decomposed Prompt Tuning for Parameter-Efficient Fine-tuning cites Learning Transferable Visual Models From Natural Language Supervision
- DePT: Decomposed Prompt Tuning for Parameter-Efficient Fine-tuning cites Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learning
- Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision cites Learning Transferable Visual Models From Natural Language Supervision
- Fine-tuned Language Models are Continual Learners cites Multitask Prompted Training Enables Zero-Shot Task Generalization
- Fine-tuned Language Models are Continual Learners cites Language Models are Few-Shot Learners
- Tuning Multi-mode Token-level Prompt Alignment across Modalities cites Language Models are Few-Shot Learners
- Tuning Multi-mode Token-level Prompt Alignment across Modalities cites Learning Transferable Visual Models From Natural Language Supervision
- Learning Transferable Visual Models From Natural Language Supervision cites Language Models are Few-Shot Learners
- Enhancing CLIP with CLIP: Exploring Pseudolabeling for Limited-Label Prompt Tuning cites Multitask Prompted Training Enables Zero-Shot Task Generalization
- Enhancing CLIP with CLIP: Exploring Pseudolabeling for Limited-Label Prompt Tuning cites Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
- Enhancing CLIP with CLIP: Exploring Pseudolabeling for Limited-Label Prompt Tuning cites Language Models are Few-Shot Learners
- Enhancing CLIP with CLIP: Exploring Pseudolabeling for Limited-Label Prompt Tuning cites Learning Transferable Visual Models From Natural Language Supervision
- Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learning cites Multitask Prompted Training Enables Zero-Shot Task Generalization
- Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learning cites Language Models are Few-Shot Learners
- Linear Spaces of Meanings: Compositional Structures in Vision-Language Models cites Learning Transferable Visual Models From Natural Language Supervision
Cited by top-tier papers38
- Linear Spaces of Meanings: Compositional Structures in Vision-Language ModelsMatthew Trager, Pramuditha Perera, Luca Zancato, Alessandro Achille et al.ICCV 2023 · 51 citations
- Tuning Multi-mode Token-level Prompt Alignment across ModalitiesDongsheng Wang, Miaoge Li, Xinyang Liu, Mingsheng Xu et al.NeurIPS 2023 · 49 citations
- DePT: Decomposed Prompt Tuning for Parameter-Efficient Fine-tuningZhengxiang Shi, Aldo LipaniICLR 2024 · 46 citations
- Fine-tuned Language Models are Continual LearnersThomas Scialom, Tuhin Chakrabarty, Smaranda MuresanEMNLP 2022 · 46 citations
- Enhancing CLIP with CLIP: Exploring Pseudolabeling for Limited-Label Prompt TuningCristina Menghini, Andrew Delworth, Stephen H. BachNeurIPS 2023 · 43 citations
Builds on25
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- Scaling Up Visual and Vision-Language Representation Learning With Noisy Text SupervisionChao Jia, Yinfei Yang, Ye Xia, Yi-Ting Chen et al.ICML 2021 · 5,401 citations
- Multitask Prompted Training Enables Zero-Shot Task GeneralizationVictor Sanh, Albert Webson, Colin Raffel, Stephen H. Bach et al.ICLR 2022 · 1,976 citations
- Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context LearningHaokun Liu, Derek Tam, Mohammed Muqeeth, Jay Mohta et al.NeurIPS 2022 · 1,483 citations
Related papers
- Graph-guided Cross-composition Feature Disentanglement for Compositional Zero-shot LearningYuxia Geng, Runkai Zhu, Jiaoyan Chen, Jintai Chen et al.ACL Findings 2025
- CLIPText: A New Paradigm for Zero-shot Text ClassificationLibo Qin, Weiyun Wang, Qiguang Chen, Wanxiang CheACL Findings 2023 · 12 citations
- Few-Shot Composition Learning for Image Retrieval with Prompt TuningJunda Wu, Rui Wang, Handong Zhao, Ruiyi Zhang et al.AAAI 2023 · 16 citations
- COMMA: Co-articulated Multi-Modal LearningLianyu Hu, Liqing Gao, Zekang Liu, Chi-Man Pun et al.AAAI 2024 · 7 citations
- TPR: Topology-Preserving Reservoirs for Generalized Zero-Shot LearningHui Chen, Yanbin Liu, Yongqiang Ma, Nanning Zheng et al.NeurIPS 2024 · 7 citations
