Research map / Large language models / Language, safety and interpretability
Contrastive Prompting Enhances Sentence Embeddings in LLMs through Inference-Time Steering
Zifeng Cheng, Zhonghui Wang, Yuchen Fu, Zhiwei Jiang, Yafeng Yin, Cong Wang, Qing Gu
Nanjing 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: Chain-of-thought prompting
add CP to Pretended CoT · STS12 · Spearman: -0.75 (second run), STS12 Table 2 Mixed
What 2,675 accepted papers report for this change
- 1,683 improved
- 270 no clear effect
- 109 mixed
- 613 hurt
- AudioChat: Unified Audio Storytelling, Editing, and Understanding with Transfusion Forcing ICML 2026 · add structured chain-of-thought reasoning to the diffusion LLM · StoryGen-Eval editing · delta multiFLAM: 27.8 -> 11.7Improved
- Vision Language Models Cannot Reason About Physical Transformation ICML 2026 · add CoT prompt instead of Direct prompt · Number & Length · accuracy: F(3, 333) = 18.28Hurt
- VideoSEG-O3: A Multi-turn Reinforcement Learning Framework for Reasoning Video Object Segmentation ICML 2026 · Add CoT cold-start stage on top of SFT · Long-RVOS · J&F: 47.12 -> 51.82Improved
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 Contrastive Prompting (norm scaling) | PromptEOL · STS average | Spearman: 70.03 -> 75.27 | Improved |
| add Contrastive Prompting (norm scaling) | Pretended CoT · STS average | Spearman: 76.86 -> 77.45 | Improved |
| add Contrastive Prompting (norm scaling) | Knowledge · STS average | Spearman: 77.14 -> 77.56 | Improved |
| add Contrastive Prompting (norm scaling) | CK (multi-prompt) · STS average | Spearman: 78.23 -> 78.68 | Improved |
| use norm recovering instead of norm scaling (ablation) | CP · STS | Spearman: 75.27 vs 75.20 (PromptEOL) | No clear effect |
| add CP to Pretended CoT | LLaMA2-7B · STS12 | Spearman: -0.75 (second run), STS12 Table 2 | Mixed |
| add CP across backbones | Pretended CoT · LLaMA2-13B and LLaMA3.1-8B | STS average: 73.34 -> 73.91; 74.07 -> 75.22 | Improved |
| add CP to PromptEOL | LLaMA2-7B · SentEval transfer average | accuracy: 90.94 -> 91.73 | Improved |
| use sentiment-focused auxiliary prompt instead of irrelevant-information prompt (ablation) | Knowledge+CP-NS · STS-B dev | Spearman: 82.26 -> 77.17 | Hurt |
| intervene at FFN output instead of multi-head attention (ablation) | Knowledge+CP-NS · STS-B dev | Spearman: 82.61 -> 81.93 | Hurt |
| add CP to in-context learning prompt | PromptEOL+ICL, OPT-6.7B · STS average | Spearman: 79.08 -> 79.38 | Improved |
Open problems this paper states
- “Experiments use only an English dataset.” → Evaluated on English only, so other languages are untested. (an open problem in linguistic encoding in LLM representations)
Open problems in linguistic encoding in LLM representations
Do the linguistic signals found in LLM representations play a causal role, and do they hold across languages and model scales?
- Evaluated on English only, so other languages are untested. · 21 papers state it
- Only small models were studied, and larger ones are untested. · 21 papers state it
- Links to model behaviour are correlational, with no causal test. · 14 papers state it
Closest papers by meaning
- Token Prepending: A Training-Free Approach for Eliciting Better Sentence Embeddings from LLMs (ACL 2025 · similarity 0.92)
- Contrastive Learning with Prompt-derived Virtual Semantic Prototypes for Unsupervised Sentence Embedding (EMNLP 2022 · similarity 0.90)
- A Survey of LLM Prompt Datasets: Taxonomy, Linguistic Patterns, and Practical Uses (EMNLP 2026 · similarity 0.90)
- Meta-Task Prompting Elicits Embeddings from Large Language Models (ACL 2024 · similarity 0.90)
- Scaling Sentence Embeddings with Large Language Models (EMNLP 2024 · similarity 0.90)
- Improved Universal Sentence Embeddings with Prompt-based Contrastive Learning and Energy-based Learning (EMNLP 2022 · similarity 0.90)
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.