Improved Universal Sentence Embeddings with Prompt-based Contrastive Learning and Energy-based Learning
Not on the map. Why?
Abstract (arXiv)
Contrastive learning has been demonstrated to be effective in enhancing pre-trained language models (PLMs) to derive superior universal sentence embeddings. However, existing contrastive methods still have two limitations. Firstly, previous works may acquire poor performance under domain shift settings, thus hindering the application of sentence representations in practice. We attribute this low performance to the over-parameterization of PLMs with millions of parameters. To alleviate it, we propose PromCSE (Prompt-based Contrastive Learning for Sentence Embeddings), which only trains small-scale Soft Prompt (i.e., a set of trainable vectors) while keeping PLMs fixed. Secondly, the commonly used NT-Xent loss function of contrastive learning does not fully exploit hard negatives in supervised learning settings. To this end, we propose to integrate an Energy-based Hinge loss to enhance the pairwise discriminative power, inspired by the connection between the NT-Xent loss and the Energy-based Learning paradigm. Empirical results on seven standard semantic textual similarity (STS) tasks and a domain-shifted STS task both show the effectiveness of our method compared with the current state-of-the-art sentence embedding models. Our code is publicly avaliable at https://github.com/YJiangcm/PromCSE
Key facts. Cited by 30 papers in the map (data through 7 Oct 2026). Builds on 39 of its 76 references that are in the map. First posted on arXiv 14 Mar 2022.
Builds on
39 of 76 references.
References · 39
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,833
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
27 more
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2015A large annotated corpus for learning natural language inferencecited by 1,837
- 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,393
- 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 998
- 2018CosFace: Large Margin Cosine Loss for Deep Face Recognitioncited by 968
- 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 934
- 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
- 2021P-Tuning v2: Prompt Tuning Can Be Comparable to Fine-tuning Universally Across Scales and Taskscited by 686
- 2020It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learnerscited by 668
- 2015Deep Metric Learning via Lifted Structured Feature Embeddingcited by 449
- 2017Supervised Learning of Universal Sentence Representations from Natural Language Inference Datacited by 428
- 2020Understanding the Behaviour of Contrastive Losscited by 397
- 2015Skip-Thought Vectorscited by 321
- 2018SentEval: An Evaluation Toolkit for Universal Sentence Representationscited by 294
- 2021Factual Probing Is [MASK]: Learning vs. Learning to Recallcited by 291
- 2020DeCLUTR: Deep Contrastive Learning for Unsupervised Textual Representationscited by 249
- 2021ConSERT: A Contrastive Framework for Self-Supervised Sentence Representation Transfercited by 231
- 2021Whitening Sentence Representations for Better Semantics and Faster Retrievalcited by 198
- 2018An efficient framework for learning sentence representationscited by 197
- 2021Self-Guided Contrastive Learning for BERT Sentence Representationscited by 103
- 2020Residual Energy-Based Models for Text Generationcited by 95
- 2020An Unsupervised Sentence Embedding Method by Mutual Information Maximizationcited by 91
- 2016Learning Distributed Representations of Sentences from Unlabelled Datacited by 90
- 2021Fast, Effective, and Self-Supervised: Transforming Masked Language Models into Universal Lexical and Sentence Encoderscited by 88
- 2022PromptBERT: Improving BERT Sentence Embeddings with Promptscited by 75
- 2020Crisscrossed Captions: Extended Intramodal and Intermodal Semantic Similarity Judgments for MS-COCOcited by 46
Built on by
Citing papers per year: 2022: 2; 2023: 16; 2024: 9; 2025: 3.
30 papers.
Sort:
By area:
- 2023AnglE-optimized Text Embeddingscited by 98
- 2023Privacy in Large Language Models: Attacks, Defenses and Future Directionscited by 48
- 2023Lion: Adversarial Distillation of Proprietary Large Language Modelscited by 33
- 2023StoryAnalogy: Deriving Story-level Analogies from Large Language Models to Unlock Analogical Understandingcited by 26
- 2023Contrastive Learning of Sentence Embeddings from Scratchcited by 24
- 2024Measuring and Improving Persuasiveness of Large Language Modelscited by 18
- 2023Composition-contrastive Learning for Sentence Embeddingscited by 14
- 2023A Comprehensive Survey of Sentence Representations: From the BERT Epoch to the ChatGPT Era and Beyondcited by 11
- 2023CoT-BERT: Enhancing Unsupervised Sentence Representation through Chain-of-Thoughtcited by 8
- 20242D Matryoshka Sentence Embeddingscited by 8
- 2024ParaFusion: A Large-Scale LLM-Driven English Paraphrase Dataset Infused with High-Quality Lexical and Syntactic Diversitycited by 8
- 2022Global and Local Hierarchy-aware Contrastive Framework for Implicit Discourse Relation Recognitioncited by 7
18 more
- 2023CWTM: Leveraging Contextualized Word Embeddings from BERT for Neural Topic Modelingcited by 7
- 2023Efficient Domain Adaptation of Sentence Embeddings Using Adapterscited by 6
- 2022Global Contrastive Batch Sampling via Optimization on Sample Permutationscited by 5
- 2024Advancing Semantic Textual Similarity Modeling: A Regression Framework with Translated ReLU and Smooth K2 Losscited by 5
- 2024Emotion-Anchored Contrastive Learning Framework for Emotion Recognition in Conversationcited by 3
- 2024Parameter Efficient Diverse Paraphrase Generation Using Sequence-Level Knowledge Distillationcited by 3
- 2025On The Role of Pretrained Language Models in General-Purpose Text Embeddings: A Surveycited by 3
- 2023Weighted Sampling for Masked Language Modelingcited by 2
- 2023Sim-GPT: Text Similarity via GPT Annotated Datacited by 2
- 2024Space Decomposition for Sentence Embeddingcited by 1
- 2023AdaptiveRec: Adaptively Construct Pairs for Contrastive Learning in Sequential Recommendationcited by 0
- 2023Narrowing the Gap between Supervised and Unsupervised Sentence Representation Learning with Large Language Modelcited by 0
- 2023Topic-DPR: Topic-based Prompts for Dense Passage Retrievalcited by 0
- 2023Matching of Descriptive Labels to Glossary Descriptionscited by 0
- 2024UNSEE: Unsupervised Non-contrastive Sentence Embeddingscited by 0
- 2024Unveiling Key Aspects of Fine-Tuning in Sentence Embeddings: A Representation Rank Analysiscited by 0
- 2025Estimating Quality in Therapeutic Conversations: A Multi-Dimensional Natural Language Processing Frameworkcited by 0
- 2025SimDiffRec: Semantic Similarity-Guided Diffusion for Contrastive Sequential Recommendationcited by 0
- 2025On The Role of Pretrained Language Models in General-Purpose Text Embeddings: A Survey28 Jul 2025
- 2025SimDiffRec: Semantic Similarity-Guided Diffusion for Contrastive Sequential Recommendation16 Jul 2025
- 2025Estimating Quality in Therapeutic Conversations: A Multi-Dimensional Natural Language Processing Framework9 May 2025
- 2024Measuring and Improving Persuasiveness of Large Language Models3 Oct 2024
- 2024Advancing Semantic Textual Similarity Modeling: A Regression Framework with Translated ReLU and Smooth K2 Loss8 Jun 2024
- 2024Space Decomposition for Sentence Embedding5 Jun 2024
- 2024Unveiling Key Aspects of Fine-Tuning in Sentence Embeddings: A Representation Rank Analysis18 May 2024
- 2024Parameter Efficient Diverse Paraphrase Generation Using Sequence-Level Knowledge Distillation19 Apr 2024
- 2024ParaFusion: A Large-Scale LLM-Driven English Paraphrase Dataset Infused with High-Quality Lexical and Syntactic Diversity18 Apr 2024
- 2024Emotion-Anchored Contrastive Learning Framework for Emotion Recognition in Conversation29 Mar 2024
- 20242D Matryoshka Sentence Embeddings22 Feb 2024
- 2024UNSEE: Unsupervised Non-contrastive Sentence Embeddings27 Jan 2024
18 more
- 2023Sim-GPT: Text Similarity via GPT Annotated Data9 Dec 2023
- 2023Matching of Descriptive Labels to Glossary Descriptions27 Oct 2023
- 2023StoryAnalogy: Deriving Story-level Analogies from Large Language Models to Unlock Analogical Understanding19 Oct 2023
- 2023Privacy in Large Language Models: Attacks, Defenses and Future Directions16 Oct 2023
- 2023Topic-DPR: Topic-based Prompts for Dense Passage Retrieval10 Oct 2023
- 2023AnglE-optimized Text Embeddings22 Sep 2023
- 2023CoT-BERT: Enhancing Unsupervised Sentence Representation through Chain-of-Thought20 Sep 2023
- 2023Narrowing the Gap between Supervised and Unsupervised Sentence Representation Learning with Large Language Model12 Sep 2023
- 2023Composition-contrastive Learning for Sentence Embeddings14 Jul 2023
- 2023AdaptiveRec: Adaptively Construct Pairs for Contrastive Learning in Sequential Recommendation7 Jul 2023
- 2023Efficient Domain Adaptation of Sentence Embeddings Using Adapters6 Jul 2023
- 2023Contrastive Learning of Sentence Embeddings from Scratch24 May 2023
- 2023Lion: Adversarial Distillation of Proprietary Large Language Models22 May 2023
- 2023A Comprehensive Survey of Sentence Representations: From the BERT Epoch to the ChatGPT Era and Beyond22 May 2023
- 2023CWTM: Leveraging Contextualized Word Embeddings from BERT for Neural Topic Modeling16 May 2023
- 2023Weighted Sampling for Masked Language Modeling28 Feb 2023
- 2022Global and Local Hierarchy-aware Contrastive Framework for Implicit Discourse Relation Recognition25 Nov 2022
- 2022Global Contrastive Batch Sampling via Optimization on Sample Permutations23 Oct 2022
- 2023AnglE-optimized Text Embeddingscited by 98
- 2023Privacy in Large Language Models: Attacks, Defenses and Future Directionscited by 48
- 2023Lion: Adversarial Distillation of Proprietary Large Language Modelscited by 33
- 2023StoryAnalogy: Deriving Story-level Analogies from Large Language Models to Unlock Analogical Understandingcited by 26
- 2023Contrastive Learning of Sentence Embeddings from Scratchcited by 24
- 2024Measuring and Improving Persuasiveness of Large Language Modelscited by 18
- 2023Composition-contrastive Learning for Sentence Embeddingscited by 14
- 2023A Comprehensive Survey of Sentence Representations: From the BERT Epoch to the ChatGPT Era and Beyondcited by 11
- 20242D Matryoshka Sentence Embeddingscited by 8
- 2024ParaFusion: A Large-Scale LLM-Driven English Paraphrase Dataset Infused with High-Quality Lexical and Syntactic Diversitycited by 8
- 2022Global and Local Hierarchy-aware Contrastive Framework for Implicit Discourse Relation Recognitioncited by 7
- 2023CWTM: Leveraging Contextualized Word Embeddings from BERT for Neural Topic Modelingcited by 7
12 most cited of 28 All 28 (JSON)
- 2025On The Role of Pretrained Language Models in General-Purpose Text Embeddings: A Survey28 Jul 2025
- 2025Estimating Quality in Therapeutic Conversations: A Multi-Dimensional Natural Language Processing Framework9 May 2025
- 2024Measuring and Improving Persuasiveness of Large Language Models3 Oct 2024
- 2024Advancing Semantic Textual Similarity Modeling: A Regression Framework with Translated ReLU and Smooth K2 Loss8 Jun 2024
- 2024Space Decomposition for Sentence Embedding5 Jun 2024
- 2024Unveiling Key Aspects of Fine-Tuning in Sentence Embeddings: A Representation Rank Analysis18 May 2024
- 2024Parameter Efficient Diverse Paraphrase Generation Using Sequence-Level Knowledge Distillation19 Apr 2024
- 2024ParaFusion: A Large-Scale LLM-Driven English Paraphrase Dataset Infused with High-Quality Lexical and Syntactic Diversity18 Apr 2024
- 2024Emotion-Anchored Contrastive Learning Framework for Emotion Recognition in Conversation29 Mar 2024
- 20242D Matryoshka Sentence Embeddings22 Feb 2024
- 2024UNSEE: Unsupervised Non-contrastive Sentence Embeddings27 Jan 2024
- 2023Sim-GPT: Text Similarity via GPT Annotated Data9 Dec 2023
12 newest of 28 All 28 (JSON)