AI Paper Atlas

Research map / Vision-language and multimodal / CLIP and zero-shot

Contrastive Demonstration Tuning for Pre-trained Language Models

Xiaozhuan Liang, Ningyu Zhang, Siyuan Cheng, Zhenru Zhang, Chuanqi Tan, Huajun Chen

EMNLP 2022Vision-language and multimodal › CLIP and zero-shotapproach: Prompt learning for CLIP13 citations (OpenAlex)

Alibaba Group · Zhejiang University

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

13measured effects
7improved
1no clear effect
5hurt

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.

This paper tried a common change: Add a contrastive loss

add contrastive learning to virtual demonstration (vs continual prompt) at various lengths · QNLI and MR · accuracy Improved

What 1,541 accepted papers report for this change

See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add Demo-tuning (virtual demonstrations) to LM-BFFLM-BFF · 14 few-shot tasks (Table 1)average score: +0.75 average scoreImproved
add Demo-tuning to P-tuningP-tuning · 14 few-shot tasks (Table 1)average score: +1.0 average scoreImproved
replace real demonstrations with Demo-tuning on Yahoo! AnswersLM-BFF · Yahoo! Answersaccuracy: 66.2 -> 67.9Improved
add Demo-tuning on multi-class tasks where demonstrations do not fitLM-BFF · DBpediaaccuracy: 98.1 -> 98.3No clear effect
optimise virtual demonstration with contrastive learning instead of averaging same-label representations (ablation)Virtual demonstration · SST-2, TREC, SNLI, MRPCaccuracy: SST-2 90.9 -> 93.2; TREC 85.9 -> 90.7; SNLI 75.3 -> 78.7; MRPC 66.4 -> 78.4Improved
use virtual demonstration (contrastive) instead of uniform random sampling (ablation)LM-BFF · MRPCF1: 70.9 -> 78.4Improved
use virtual demonstration instead of SBERT filter-based sampling (ablation)LM-BFF · SNLIaccuracy: 79.7 -> 78.7Hurt
use virtual demonstration instead of SBERT filter-based sampling (ablation)LM-BFF · TRECaccuracy: 87.5 -> 90.7Improved
optimise with in-batch negative pairs instead of no-negatives objective (ablation)Demo-tuning · 3 tasks (Figure)accuracyHurt
add contrastive learning to virtual demonstration (vs continual prompt) at various lengths (ablation)Demo-tuning · QNLI and MRaccuracyImproved
increase virtual demonstration length to 20 (ablation)Demo-tuning · QNLI and MRaccuracyHurt
add Demo-tuning to LM-BFF on SST-5LM-BFF · SST-5accuracy: 50.6 -> 50.1Hurt

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