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
Alibaba Group · Zhejiang 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.
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
- 1,463 improved
- 27 no clear effect
- 20 mixed
- 31 hurt
- Beyond Looking Up, Try Looking Around: Harmonizing Global Structure and Local Consistency in Optimal Transport for Short Text Clustering ICML 2026 · add contrastive learning · SearchSnippets · ACC: 56.65 -> 80.12Improved
- SleepLM: Natural-Language Intelligence for Human Sleep ICML 2026 · add contrastive objective to captioning (CoCa vs Cap) · sleep event IoU · IoU: 29.2 -> 27.4Hurt
- LIMSSR: LLM-Driven Sequence-to-Score Reasoning under Training-Time Incomplete Multimodal Observations ICML 2026 · add contrastive loss L_con · FS1000 average · Spearman correlation: 0.759 -> 0.789Improved
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 changed | Where | Measured | Effect |
|---|---|---|---|
| add Demo-tuning (virtual demonstrations) to LM-BFF | LM-BFF · 14 few-shot tasks (Table 1) | average score: +0.75 average score | Improved |
| add Demo-tuning to P-tuning | P-tuning · 14 few-shot tasks (Table 1) | average score: +1.0 average score | Improved |
| replace real demonstrations with Demo-tuning on Yahoo! Answers | LM-BFF · Yahoo! Answers | accuracy: 66.2 -> 67.9 | Improved |
| add Demo-tuning on multi-class tasks where demonstrations do not fit | LM-BFF · DBpedia | accuracy: 98.1 -> 98.3 | No clear effect |
| optimise virtual demonstration with contrastive learning instead of averaging same-label representations (ablation) | Virtual demonstration · SST-2, TREC, SNLI, MRPC | accuracy: SST-2 90.9 -> 93.2; TREC 85.9 -> 90.7; SNLI 75.3 -> 78.7; MRPC 66.4 -> 78.4 | Improved |
| use virtual demonstration (contrastive) instead of uniform random sampling (ablation) | LM-BFF · MRPC | F1: 70.9 -> 78.4 | Improved |
| use virtual demonstration instead of SBERT filter-based sampling (ablation) | LM-BFF · SNLI | accuracy: 79.7 -> 78.7 | Hurt |
| use virtual demonstration instead of SBERT filter-based sampling (ablation) | LM-BFF · TREC | accuracy: 87.5 -> 90.7 | Improved |
| optimise with in-batch negative pairs instead of no-negatives objective (ablation) | Demo-tuning · 3 tasks (Figure) | accuracy | Hurt |
| add contrastive learning to virtual demonstration (vs continual prompt) at various lengths (ablation) | Demo-tuning · QNLI and MR | accuracy | Improved |
| increase virtual demonstration length to 20 (ablation) | Demo-tuning · QNLI and MR | accuracy | Hurt |
| add Demo-tuning to LM-BFF on SST-5 | LM-BFF · SST-5 | accuracy: 50.6 -> 50.1 | Hurt |
Closest papers by meaning
- Large Language Models are Demonstration Pre-Selectors for Themselves (ICML 2025 · similarity 0.89)
- DePT: Decomposed Prompt Tuning for Parameter-Efficient Fine-tuning (ICLR 2024 · similarity 0.88)
- EPT: Efficient Prompt Tuning by Multi-Space Projection and Prompt Fusion (AAAI 2025 · similarity 0.88)
- Comparative Analysis of Demonstration Selection Algorithms for In-Context Learning in Large Language Models (Student Abstract) (AAAI 2025 · similarity 0.88)
- ADePT: Adaptive Decomposed Prompt Tuning for Parameter-Efficient Fine-tuning (ICLR 2025 · similarity 0.87)
- Customizing Language Model Responses with Contrastive In-Context Learning (AAAI 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.
