mlsanityData to 7 Oct 2026

Making Pre-trained Language Models End-to-end Few-shot Learners with Contrastive Prompt Tuning

arXiv 2204.00166 ↗First posted 1 Apr 2022cs.CL cs.AIcited by 19

Not on the map. Why?

Abstract (arXiv)

Pre-trained Language Models (PLMs) have achieved remarkable performance for various language understanding tasks in IR systems, which require the fine-tuning process based on labeled training data. For low-resource scenarios, prompt-based learning for PLMs exploits prompts as task guidance and turns downstream tasks into masked language problems for effective few-shot fine-tuning. In most existing approaches, the high performance of prompt-based learning heavily relies on handcrafted prompts and verbalizers, which may limit the application of such approaches in real-world scenarios. To solve this issue, we present CP-Tuning, the first end-to-end Contrastive Prompt Tuning framework for fine-tuning PLMs without any manual engineering of task-specific prompts and verbalizers. It is integrated with the task-invariant continuous prompt encoding technique with fully trainable prompt parameters. We further propose the pair-wise cost-sensitive contrastive learning procedure to optimize the model in order to achieve verbalizer-free class mapping and enhance the task-invariance of prompts. It explicitly learns to distinguish different classes and makes the decision boundary smoother by assigning different costs to easy and hard cases. Experiments over a variety of language understanding tasks used in IR systems and different PLMs show that CP-Tuning outperforms state-of-the-art methods.

Key facts. Cited by 19 papers in the map (data through 7 Oct 2026). Builds on 40 of its 58 references that are in the map. First posted on arXiv 1 Apr 2022.

Builds on

40 of 58 references.

References · 40

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  6. 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
  7. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  8. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  9. 2017Prototypical Networks for Few-shot Learningcited by 3,001
  10. 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,833
  11. 2020Supervised Contrastive Learningcited by 2,803
  12. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
28 more
  1. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  2. 2018Deep contextualized word representationscited by 2,285
  3. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
  4. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
  5. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  6. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  7. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
  8. 2019How Can We Know What Language Models Know?cited by 953
  9. 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 934
  10. 2021GPT Understands, Toocited by 715
  11. 2021P-Tuning v2: Prompt Tuning Can Be Comparable to Fine-tuning Universally Across Scales and Taskscited by 686
  12. 2020It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learnerscited by 668
  13. 2020A Survey on Contrastive Self-supervised Learningcited by 553
  14. 2020Pre-trained Models for Natural Language Processing: A Surveycited by 504
  15. 2020Circle Loss: A Unified Perspective of Pair Similarity Optimizationcited by 402
  16. 2021ERNIE 3.0: Large-scale Knowledge Enhanced Pre-training for Language Understanding and Generationcited by 258
  17. 2020AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Promptscited by 246
  18. 2019ERNIE 2.0: A Continual Pre-training Framework for Language Understandingcited by 230
  19. 2021WARP: Word-level Adversarial ReProgrammingcited by 220
  20. 2021How Many Data Points is a Prompt Worth?cited by 197
  21. 2021Knowledgeable Prompt-tuning: Incorporating Knowledge into Prompt Verbalizer for Text Classificationcited by 183
  22. 2021Noisy Channel Language Model Prompting for Few-Shot Text Classificationcited by 163
  23. 2019StructBERT: Incorporating Language Structures into Pre-training for Deep Language Understandingcited by 108
  24. 2021Self-Guided Contrastive Learning for BERT Sentence Representationscited by 103
  25. 2020Few-Shot Text Generation with Pattern-Exploiting Trainingcited by 87
  26. 2020Contrastive Self-Supervised Learning for Commonsense Reasoningcited by 25
  27. 2020A Simple and Effective Self-Supervised Contrastive Learning Framework for Aspect Detectioncited by 13
  28. 2019Self-Supervised Learning for Contextualized Extractive Summarizationcited by 12

Built on by

Cited by year

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

19 papers.

Sort:

By area:

  1. 2022A Comprehensive Survey of Few-shot Learning: Evolution, Applications, Challenges, and Opportunitiescited by 162
  2. 2024Lifelong Knowledge Editing for LLMs with Retrieval-Augmented Continuous Prompt Learningcited by 40
  3. 2024Heterogeneous Contrastive Learning for Foundation Models and Beyondcited by 27
  4. 2023The Efficiency Spectrum of Large Language Models: An Algorithmic Surveycited by 25
  5. 2023Deep Learning for Cross-Domain Few-Shot Visual Recognition: A Surveycited by 14
  6. 2022EasyNLP: A Comprehensive and Easy-to-use Toolkit for Natural Language Processingcited by 9
  7. 2024OneNet: A Fine-Tuning Free Framework for Few-Shot Entity Linking via Large Language Model Promptingcited by 9
  8. 2024Concentrate Attention: Towards Domain-Generalizable Prompt Optimization for Language Modelscited by 7
  9. 2023Knowledgeable In-Context Tuning: Exploring and Exploiting Factual Knowledge for In-Context Learningcited by 6
  10. 2024Exploring Prompt Engineering: A Systematic Review with SWOT Analysiscited by 5
  11. 2025MedREK: Retrieval-Based Editing for Medical LLMs with Key-Aware Promptscited by 5
  12. 2023ContrastNER: Contrastive-based Prompt Tuning for Few-shot NERcited by 3
7 more
  1. 2024StablePT: Towards Stable Prompting for Few-shot Learning via Input Separationcited by 3
  2. 2023Towards Better Parameter-Efficient Fine-Tuning for Large Language Models: A Position Papercited by 2
  3. 2025Prompt-Driven Continual Graph Learningcited by 1
  4. 2022ConsPrompt: Exploiting Contrastive Samples for Fewshot Prompt Learningcited by 0
  5. 2023D2CSE: Difference-aware Deep continuous prompts for Contrastive Sentence Embeddingscited by 0
  6. 2023Boosting Prompt-Based Self-Training With Mapping-Free Automatic Verbalizer for Multi-Class Classificationcited by 0
  7. 2024A Novel Prompt-tuning Method: Incorporating Scenario-specific Concepts into a Verbalizercited by 0