Research map / Large language models / Language, safety and interpretability
Contrastive Learning for Prompt-based Few-shot Language Learners
Yiren Jian, Chongyang Gao, Soroush Vosoughi
Dartmouth College · Northwestern University
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
On benchmark leaderboards
- SST-2 (16-shot) leaderboard accuracy 94.2 · rank 1 of 14 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add SupCon loss over prompt/demonstration views | LM-BFF (RoBERTa-base) · 15 few-shot tasks | accuracy: average +2.5%; max +6.3% on QQP | Improved |
| add SupCon loss | PET (no demonstrations) · 15 few-shot tasks | accuracy: average +2.3% | Improved |
| add SupCon loss | LM-BFF (RoBERTa-large) · SST-2 | accuracy: 91.9 -> 94.2 | Improved |
| add SupCon loss | LM-BFF (RoBERTa-large) · SNLI | accuracy: 79.5 -> 79.6 | No clear effect |
| use SupCon instead of Decoupling/Label Condition loss or Contextual Calibration | LM-BFF · 15 tasks | accuracy: best on 12 tasks, on par elsewhere | Improved |
| use single SupCon model instead of ensemble of 20 prompt models | LM-BFF · QNLI | accuracy: 63.8 -> 66.4 | Improved |
| use EDA-style augmentation (SR/RI/RS/RD/EDA) instead of prompt-based views (ablation) | LM-BFF + SupCon · 15 tasks | accuracy: EDA worse than baseline in many tasks; e.g. CoLA 3.9 vs 10.2 | Hurt |
| use unsupervised SimCLR loss instead of SupCon (ablation) | LM-BFF · TREC | accuracy: 83.3 -> 60.0 | Hurt |
| apply contrastive loss at [MASK] instead of [CLS] (ablation) | LM-BFF + SupCon · MNLI | accuracy: 59.9 -> 64.0 | Improved |
| sample demonstrations with fixed template for second view (ablation) | LM-BFF + SupCon · MRPC | F1: 78.2 -> 80.0 | Improved |
| sample only demonstrations (fixed template) instead of both (ablation) | LM-BFF + SupCon · TREC | accuracy: 83.3 -> 86.7 | Improved |
| sample only templates (fixed demos) instead of both (ablation) | LM-BFF + SupCon · CR | accuracy: 89.4 -> 88.6 | Hurt |
Open problems in in-context learning analysis
Which in-context learning methods hold up beyond English classification on small open models, and what do they cost?
- Only a few small or medium open models were tested. · 14 papers state it
- The method needs many extra LLM calls or passes. · 13 papers state it
- Evaluated on English data only, with other languages untested. · 12 papers state it
Closest papers by meaning
- Making Pre-trained Language Models Better Few-shot Learners (ACL 2021 · similarity 0.91)
- LM-CPPF: Paraphrasing-Guided Data Augmentation for Contrastive Prompt-Based Few-Shot Fine-Tuning (ACL 2023 · similarity 0.90)
- Adversarial Knowledge Stimulated Contrastive Prompting for Few-shot Language Learners (ACL 2023 · similarity 0.89)
- Customizing Language Model Responses with Contrastive In-Context Learning (AAAI 2024 · similarity 0.89)
- Learning from Contrastive Prompts: An Automated Prompt Optimization Framework (ACL 2026 · similarity 0.89)
- BECLR: Batch Enhanced Contrastive Few-Shot Learning (ICLR 2024 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.