CPL: Counterfactual Prompt Learning for Vision and Language Models
Not on the map. Why?
Abstract (arXiv)
Prompt tuning is a new few-shot transfer learning technique that only tunes the learnable prompt for pre-trained vision and language models such as CLIP. However, existing prompt tuning methods tend to learn spurious or entangled representations, which leads to poor generalization to unseen concepts. Towards non-spurious and efficient prompt learning from limited examples, this paper presents a novel underlineCounterfactual underlinePrompt underlineLearning (CPL) method for vision and language models, which simultaneously employs counterfactual generation and contrastive learning in a joint optimization framework. Particularly, CPL constructs counterfactual by identifying minimal non-spurious feature change between semantically-similar positive and negative samples that causes concept change, and learns more generalizable prompt representation from both factual and counterfactual examples via contrastive learning. Extensive experiments demonstrate that CPL can obtain superior few-shot performance on different vision and language tasks than previous prompt tuning methods on CLIP. On image classification, we achieve 3.55% average relative improvement on unseen classes across seven datasets; on image-text retrieval and visual question answering, we gain up to 4.09% and 25.08% relative improvements across three few-shot scenarios on unseen test sets respectively.
Key facts. Cited by 18 papers in the map (data through 7 Oct 2026). Builds on 41 of its 66 references that are in the map. First posted on arXiv 19 Oct 2022.
Builds on
41 of 66 references.
References · 41
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2020Supervised Contrastive Learningcited by 2,803
- 2016Making the V in VQA Matter: Elevating the Role of Image Understanding in Visual Question Answeringcited by 2,498
- 2015VQA: Visual Question Answeringcited by 2,489
29 more
- 2021Learning to Prompt for Vision-Language Modelscited by 2,269
- 2022Conditional Prompt Learning for Vision-Language Modelscited by 1,427
- 2015Flickr30k Entities: Collecting Region-to-Phrase Correspondences for Richer Image-to-Sentence Modelscited by 1,352
- 2017Bottom-Up and Top-Down Attention for Image Captioning and Visual Question Answeringcited by 1,310
- 2018Learning deep representations by mutual information estimation and maximizationcited by 1,265
- 2022CoCa: Contrastive Captioners are Image-Text Foundation Modelscited by 1,265
- 2014Deep Visual-Semantic Alignments for Generating Image Descriptionscited by 966
- 2021Towards a Unified View of Parameter-Efficient Transfer Learningcited by 863
- 2021Florence: A New Foundation Model for Computer Visioncited by 802
- 2021P-Tuning v2: Prompt Tuning Can Be Comparable to Fine-tuning Universally Across Scales and Taskscited by 686
- 2021Multimodal Few-Shot Learning with Frozen Language Modelscited by 657
- 2021SimVLM: Simple Visual Language Model Pretraining with Weak Supervisioncited by 645
- 2021FILIP: Fine-grained Interactive Language-Image Pre-Trainingcited by 626
- 2020Contrastive Learning with Hard Negative Samplescited by 619
- 2019Learning the Difference that Makes a Difference with Counterfactually-Augmented Datacited by 428
- 2020Debiased Contrastive Learningcited by 354
- 2021How Much Can CLIP Benefit Vision-and-Language Tasks?cited by 321
- 2021Prompting Visual-Language Models for Efficient Video Understandingcited by 309
- 2022Correct-N-Contrast: A Contrastive Approach for Improving Robustness to Spurious Correlationscited by 171
- 2020Counterfactual Samples Synthesizing for Robust Visual Question Answeringcited by 153
- 2022CLIP Models are Few-shot Learners: Empirical Studies on VQA and Visual Entailmentcited by 113
- 2019Towards Causal VQA: Revealing and Reducing Spurious Correlations by Invariant and Covariant Semantic Editingcited by 108
- 2021Desiderata for Representation Learning: A Causal Perspectivecited by 76
- 2020MUTANT: A Training Paradigm for Out-of-Distribution Generalization in Visual Question Answeringcited by 63
- 2018Counterfactuals uncover the modular structure of deep generative modelscited by 51
- 2021Not All Negatives are Equal: Label-Aware Contrastive Loss for Fine-grained Text Classificationcited by 43
- 2021Assessing Multilingual Fairness in Pre-trained Multimodal Representationscited by 35
- 2021Semantically Distributed Robust Optimization for Vision-and-Language Inferencecited by 9
- 2022Declaration-based Prompt Tuning for Visual Question Answeringcited by 9
Built on by
Citing papers per year: 2022: 2; 2023: 7; 2024: 3; 2025: 4; 2026: 2.
18 papers.
Sort:
By area:
- 2023Vision-Language Models for Vision Tasks: A Surveycited by 834
- 2023Large-scale Multi-Modal Pre-trained Models: A Comprehensive Surveycited by 153
- 2025CF-VLM:CounterFactual Vision-Language Fine-tuningcited by 57
- 2022Composed Image Retrieval with Text Feedback via Multi-grained Uncertainty Regularizationcited by 45
- 2023Visual Tuningcited by 34
- 2023LLMs as Hackers: Autonomous Linux Privilege Escalation Attackscited by 25
- 2025Advances in Multimodal Adaptation and Generalization: From Traditional Approaches to Foundation Modelscited by 23
- 2024Historical Test-time Prompt Tuning for Vision Foundation Modelscited by 21
- 2023Discffusion: Discriminative Diffusion Models as Few-shot Vision and Language Learnerscited by 14
- 2024CausalEval: Towards Better Causal Reasoning in Language Modelscited by 13
- 2025ProAPO: Progressively Automatic Prompt Optimization for Visual Classificationcited by 12
- 2024Contrastive Learning with Counterfactual Explanations for Radiology Report Generationcited by 8
6 more
- 2023Interpretable Knowledge Tracing via Response Influence-based Counterfactual Reasoningcited by 4
- 2022Navigation as Attackers Wish? Towards Building Robust Embodied Agents under Federated Learningcited by 2
- 2023Parameter-Efficient Cross-lingual Transfer of Vision and Language Models via Translation-based Alignmentcited by 2
- 2025Bridging the Gap Between Multimodal Foundation Models and World Modelscited by 1
- 2026Beyond Perception Errors: Semantic Fixation in Large Vision-Language Modelscited by 0
- 2026Targeted Visual Counterfactual Explanations for Contrastive Vision-Language Modelcited by 0
- 2026Targeted Visual Counterfactual Explanations for Contrastive Vision-Language Model29 Sep 2026
- 2026Beyond Perception Errors: Semantic Fixation in Large Vision-Language Models13 Apr 2026
- 2025Bridging the Gap Between Multimodal Foundation Models and World Models4 Oct 2025
- 2025CF-VLM:CounterFactual Vision-Language Fine-tuning10 Jun 2025
- 2025ProAPO: Progressively Automatic Prompt Optimization for Visual Classification27 Feb 2025
- 2025Advances in Multimodal Adaptation and Generalization: From Traditional Approaches to Foundation Models30 Jan 2025
- 2024Historical Test-time Prompt Tuning for Vision Foundation Models27 Oct 2024
- 2024CausalEval: Towards Better Causal Reasoning in Language Models22 Oct 2024
- 2024Contrastive Learning with Counterfactual Explanations for Radiology Report Generation19 Jul 2024
- 2023Interpretable Knowledge Tracing via Response Influence-based Counterfactual Reasoning1 Dec 2023
- 2023LLMs as Hackers: Autonomous Linux Privilege Escalation Attacks17 Oct 2023
- 2023Discffusion: Discriminative Diffusion Models as Few-shot Vision and Language Learners18 May 2023
6 more
- 2023Visual Tuning10 May 2023
- 2023Parameter-Efficient Cross-lingual Transfer of Vision and Language Models via Translation-based Alignment2 May 2023
- 2023Vision-Language Models for Vision Tasks: A Survey3 Apr 2023
- 2023Large-scale Multi-Modal Pre-trained Models: A Comprehensive Survey20 Feb 2023
- 2022Navigation as Attackers Wish? Towards Building Robust Embodied Agents under Federated Learning27 Nov 2022
- 2022Composed Image Retrieval with Text Feedback via Multi-grained Uncertainty Regularization14 Nov 2022
- 2023Vision-Language Models for Vision Tasks: A Surveycited by 834
- 2025ProAPO: Progressively Automatic Prompt Optimization for Visual Classificationcited by 12
- 2026Beyond Perception Errors: Semantic Fixation in Large Vision-Language Modelscited by 0
- 2026Targeted Visual Counterfactual Explanations for Contrastive Vision-Language Modelcited by 0
- 2026Targeted Visual Counterfactual Explanations for Contrastive Vision-Language Model29 Sep 2026
- 2026Beyond Perception Errors: Semantic Fixation in Large Vision-Language Models13 Apr 2026
- 2025ProAPO: Progressively Automatic Prompt Optimization for Visual Classification27 Feb 2025
- 2023Vision-Language Models for Vision Tasks: A Survey3 Apr 2023
- 2025CF-VLM:CounterFactual Vision-Language Fine-tuningcited by 57
- 2024CausalEval: Towards Better Causal Reasoning in Language Modelscited by 13
- 2025CF-VLM:CounterFactual Vision-Language Fine-tuning10 Jun 2025
- 2024CausalEval: Towards Better Causal Reasoning in Language Models22 Oct 2024
- 2023Large-scale Multi-Modal Pre-trained Models: A Comprehensive Surveycited by 153
- 2022Composed Image Retrieval with Text Feedback via Multi-grained Uncertainty Regularizationcited by 45
- 2023Visual Tuningcited by 34
- 2023LLMs as Hackers: Autonomous Linux Privilege Escalation Attackscited by 25
- 2025Advances in Multimodal Adaptation and Generalization: From Traditional Approaches to Foundation Modelscited by 23
- 2024Historical Test-time Prompt Tuning for Vision Foundation Modelscited by 21
- 2024Contrastive Learning with Counterfactual Explanations for Radiology Report Generationcited by 8
- 2023Interpretable Knowledge Tracing via Response Influence-based Counterfactual Reasoningcited by 4
- 2023Parameter-Efficient Cross-lingual Transfer of Vision and Language Models via Translation-based Alignmentcited by 2
- 2025Advances in Multimodal Adaptation and Generalization: From Traditional Approaches to Foundation Models30 Jan 2025
- 2024Historical Test-time Prompt Tuning for Vision Foundation Models27 Oct 2024
- 2024Contrastive Learning with Counterfactual Explanations for Radiology Report Generation19 Jul 2024
- 2023Interpretable Knowledge Tracing via Response Influence-based Counterfactual Reasoning1 Dec 2023
- 2023LLMs as Hackers: Autonomous Linux Privilege Escalation Attacks17 Oct 2023
- 2023Visual Tuning10 May 2023
- 2023Parameter-Efficient Cross-lingual Transfer of Vision and Language Models via Translation-based Alignment2 May 2023
- 2023Large-scale Multi-Modal Pre-trained Models: A Comprehensive Survey20 Feb 2023
- 2022Composed Image Retrieval with Text Feedback via Multi-grained Uncertainty Regularization14 Nov 2022