scimeatlas

Research map / Large language models / Language, safety and interpretability

Contrastive Learning for Prompt-based Few-shot Language Learners

Yiren Jian, Chongyang Gao, Soroush Vosoughi

NAACL 2022Large language models › Language, safety and interpretabilityapproach: In-context learning analysisopen problems in this approach56 citations (OpenAlex)

Dartmouth College · Northwestern University

Read the paperPlace an idea next to itCheck your own paper ↗

13measured effects
9improved
1no clear effect
3hurt

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

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add SupCon loss over prompt/demonstration viewsLM-BFF (RoBERTa-base) · 15 few-shot tasksaccuracy: average +2.5%; max +6.3% on QQPImproved
add SupCon lossPET (no demonstrations) · 15 few-shot tasksaccuracy: average +2.3%Improved
add SupCon lossLM-BFF (RoBERTa-large) · SST-2accuracy: 91.9 -> 94.2Improved
add SupCon lossLM-BFF (RoBERTa-large) · SNLIaccuracy: 79.5 -> 79.6No clear effect
use SupCon instead of Decoupling/Label Condition loss or Contextual CalibrationLM-BFF · 15 tasksaccuracy: best on 12 tasks, on par elsewhereImproved
use single SupCon model instead of ensemble of 20 prompt modelsLM-BFF · QNLIaccuracy: 63.8 -> 66.4Improved
use EDA-style augmentation (SR/RI/RS/RD/EDA) instead of prompt-based views (ablation)LM-BFF + SupCon · 15 tasksaccuracy: EDA worse than baseline in many tasks; e.g. CoLA 3.9 vs 10.2Hurt
use unsupervised SimCLR loss instead of SupCon (ablation)LM-BFF · TRECaccuracy: 83.3 -> 60.0Hurt
apply contrastive loss at [MASK] instead of [CLS] (ablation)LM-BFF + SupCon · MNLIaccuracy: 59.9 -> 64.0Improved
sample demonstrations with fixed template for second view (ablation)LM-BFF + SupCon · MRPCF1: 78.2 -> 80.0Improved
sample only demonstrations (fixed template) instead of both (ablation)LM-BFF + SupCon · TRECaccuracy: 83.3 -> 86.7Improved
sample only templates (fixed demos) instead of both (ablation)LM-BFF + SupCon · CRaccuracy: 89.4 -> 88.6Hurt

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?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy