scimeatlas

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

ACL 2025Large language models › Language, safety and interpretabilityapproach: Linguistic encoding in LLM representationsopen problems in this approach20 citations (OpenAlex)

Nanjing University

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

11measured effects
7improved
1no clear effect
2hurt
1mixed

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

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 Contrastive Prompting (norm scaling)PromptEOL · STS averageSpearman: 70.03 -> 75.27Improved
add Contrastive Prompting (norm scaling)Pretended CoT · STS averageSpearman: 76.86 -> 77.45Improved
add Contrastive Prompting (norm scaling)Knowledge · STS averageSpearman: 77.14 -> 77.56Improved
add Contrastive Prompting (norm scaling)CK (multi-prompt) · STS averageSpearman: 78.23 -> 78.68Improved
use norm recovering instead of norm scaling (ablation)CP · STSSpearman: 75.27 vs 75.20 (PromptEOL)No clear effect
add CP to Pretended CoTLLaMA2-7B · STS12Spearman: -0.75 (second run), STS12 Table 2Mixed
add CP across backbonesPretended CoT · LLaMA2-13B and LLaMA3.1-8BSTS average: 73.34 -> 73.91; 74.07 -> 75.22Improved
add CP to PromptEOLLLaMA2-7B · SentEval transfer averageaccuracy: 90.94 -> 91.73Improved
use sentiment-focused auxiliary prompt instead of irrelevant-information prompt (ablation)Knowledge+CP-NS · STS-B devSpearman: 82.26 -> 77.17Hurt
intervene at FFN output instead of multi-head attention (ablation)Knowledge+CP-NS · STS-B devSpearman: 82.61 -> 81.93Hurt
add CP to in-context learning promptPromptEOL+ICL, OPT-6.7B · STS averageSpearman: 79.08 -> 79.38Improved

Open problems this paper states

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?

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