mlsanityData to 7 Oct 2026

CPL: Counterfactual Prompt Learning for Vision and Language Models

arXiv 2210.10362 ↗First posted 19 Oct 2022cs.CV cs.AI cs.CLcited by 18

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

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  6. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  7. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
  8. 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
  9. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  10. 2020Supervised Contrastive Learningcited by 2,803
  11. 2016Making the V in VQA Matter: Elevating the Role of Image Understanding in Visual Question Answeringcited by 2,498
  12. 2015VQA: Visual Question Answeringcited by 2,489
29 more
  1. 2021Learning to Prompt for Vision-Language Modelscited by 2,269
  2. 2022Conditional Prompt Learning for Vision-Language Modelscited by 1,427
  3. 2015Flickr30k Entities: Collecting Region-to-Phrase Correspondences for Richer Image-to-Sentence Modelscited by 1,352
  4. 2017Bottom-Up and Top-Down Attention for Image Captioning and Visual Question Answeringcited by 1,310
  5. 2018Learning deep representations by mutual information estimation and maximizationcited by 1,265
  6. 2022CoCa: Contrastive Captioners are Image-Text Foundation Modelscited by 1,265
  7. 2014Deep Visual-Semantic Alignments for Generating Image Descriptionscited by 966
  8. 2021Towards a Unified View of Parameter-Efficient Transfer Learningcited by 863
  9. 2021Florence: A New Foundation Model for Computer Visioncited by 802
  10. 2021P-Tuning v2: Prompt Tuning Can Be Comparable to Fine-tuning Universally Across Scales and Taskscited by 686
  11. 2021Multimodal Few-Shot Learning with Frozen Language Modelscited by 657
  12. 2021SimVLM: Simple Visual Language Model Pretraining with Weak Supervisioncited by 645
  13. 2021FILIP: Fine-grained Interactive Language-Image Pre-Trainingcited by 626
  14. 2020Contrastive Learning with Hard Negative Samplescited by 619
  15. 2019Learning the Difference that Makes a Difference with Counterfactually-Augmented Datacited by 428
  16. 2020Debiased Contrastive Learningcited by 354
  17. 2021How Much Can CLIP Benefit Vision-and-Language Tasks?cited by 321
  18. 2021Prompting Visual-Language Models for Efficient Video Understandingcited by 309
  19. 2022Correct-N-Contrast: A Contrastive Approach for Improving Robustness to Spurious Correlationscited by 171
  20. 2020Counterfactual Samples Synthesizing for Robust Visual Question Answeringcited by 153
  21. 2022CLIP Models are Few-shot Learners: Empirical Studies on VQA and Visual Entailmentcited by 113
  22. 2019Towards Causal VQA: Revealing and Reducing Spurious Correlations by Invariant and Covariant Semantic Editingcited by 108
  23. 2021Desiderata for Representation Learning: A Causal Perspectivecited by 76
  24. 2020MUTANT: A Training Paradigm for Out-of-Distribution Generalization in Visual Question Answeringcited by 63
  25. 2018Counterfactuals uncover the modular structure of deep generative modelscited by 51
  26. 2021Not All Negatives are Equal: Label-Aware Contrastive Loss for Fine-grained Text Classificationcited by 43
  27. 2021Assessing Multilingual Fairness in Pre-trained Multimodal Representationscited by 35
  28. 2021Semantically Distributed Robust Optimization for Vision-and-Language Inferencecited by 9
  29. 2022Declaration-based Prompt Tuning for Visual Question Answeringcited by 9

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 2; 2023: 7; 2024: 3; 2025: 4; 2026: 2.

18 papers.

Sort:

By area:

  1. 2023Vision-Language Models for Vision Tasks: A Surveycited by 834
  2. 2023Large-scale Multi-Modal Pre-trained Models: A Comprehensive Surveycited by 153
  3. 2025CF-VLM:CounterFactual Vision-Language Fine-tuningcited by 57
  4. 2022Composed Image Retrieval with Text Feedback via Multi-grained Uncertainty Regularizationcited by 45
  5. 2023Visual Tuningcited by 34
  6. 2023LLMs as Hackers: Autonomous Linux Privilege Escalation Attackscited by 25
  7. 2025Advances in Multimodal Adaptation and Generalization: From Traditional Approaches to Foundation Modelscited by 23
  8. 2024Historical Test-time Prompt Tuning for Vision Foundation Modelscited by 21
  9. 2023Discffusion: Discriminative Diffusion Models as Few-shot Vision and Language Learnerscited by 14
  10. 2024CausalEval: Towards Better Causal Reasoning in Language Modelscited by 13
  11. 2025ProAPO: Progressively Automatic Prompt Optimization for Visual Classificationcited by 12
  12. 2024Contrastive Learning with Counterfactual Explanations for Radiology Report Generationcited by 8
6 more
  1. 2023Interpretable Knowledge Tracing via Response Influence-based Counterfactual Reasoningcited by 4
  2. 2022Navigation as Attackers Wish? Towards Building Robust Embodied Agents under Federated Learningcited by 2
  3. 2023Parameter-Efficient Cross-lingual Transfer of Vision and Language Models via Translation-based Alignmentcited by 2
  4. 2025Bridging the Gap Between Multimodal Foundation Models and World Modelscited by 1
  5. 2026Beyond Perception Errors: Semantic Fixation in Large Vision-Language Modelscited by 0
  6. 2026Targeted Visual Counterfactual Explanations for Contrastive Vision-Language Modelcited by 0