mlsanityData to 7 Oct 2026

Improved Universal Sentence Embeddings with Prompt-based Contrastive Learning and Energy-based Learning

arXiv 2203.06875 ↗First posted 14 Mar 2022cs.CLcited by 30

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  5. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  6. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  7. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  8. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  9. 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
  10. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  11. 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,833
  12. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
27 more
  1. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
  2. 2019Language Models as Knowledge Bases?cited by 1,922
  3. 2015A large annotated corpus for learning natural language inferencecited by 1,837
  4. 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,393
  5. 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 998
  6. 2018CosFace: Large Margin Cosine Loss for Deep Face Recognitioncited by 968
  7. 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 934
  8. 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
  9. 2021P-Tuning v2: Prompt Tuning Can Be Comparable to Fine-tuning Universally Across Scales and Taskscited by 686
  10. 2020It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learnerscited by 668
  11. 2015Deep Metric Learning via Lifted Structured Feature Embeddingcited by 449
  12. 2017Supervised Learning of Universal Sentence Representations from Natural Language Inference Datacited by 428
  13. 2020Understanding the Behaviour of Contrastive Losscited by 397
  14. 2015Skip-Thought Vectorscited by 321
  15. 2018SentEval: An Evaluation Toolkit for Universal Sentence Representationscited by 294
  16. 2021Factual Probing Is [MASK]: Learning vs. Learning to Recallcited by 291
  17. 2020DeCLUTR: Deep Contrastive Learning for Unsupervised Textual Representationscited by 249
  18. 2021ConSERT: A Contrastive Framework for Self-Supervised Sentence Representation Transfercited by 231
  19. 2021Whitening Sentence Representations for Better Semantics and Faster Retrievalcited by 198
  20. 2018An efficient framework for learning sentence representationscited by 197
  21. 2021Self-Guided Contrastive Learning for BERT Sentence Representationscited by 103
  22. 2020Residual Energy-Based Models for Text Generationcited by 95
  23. 2020An Unsupervised Sentence Embedding Method by Mutual Information Maximizationcited by 91
  24. 2016Learning Distributed Representations of Sentences from Unlabelled Datacited by 90
  25. 2021Fast, Effective, and Self-Supervised: Transforming Masked Language Models into Universal Lexical and Sentence Encoderscited by 88
  26. 2022PromptBERT: Improving BERT Sentence Embeddings with Promptscited by 75
  27. 2020Crisscrossed Captions: Extended Intramodal and Intermodal Semantic Similarity Judgments for MS-COCOcited by 46

Built on by

Cited by year

Citing papers per year: 2022: 2; 2023: 16; 2024: 9; 2025: 3.

30 papers.

Sort:

By area:

  1. 2023AnglE-optimized Text Embeddingscited by 98
  2. 2023Privacy in Large Language Models: Attacks, Defenses and Future Directionscited by 48
  3. 2023Lion: Adversarial Distillation of Proprietary Large Language Modelscited by 33
  4. 2023StoryAnalogy: Deriving Story-level Analogies from Large Language Models to Unlock Analogical Understandingcited by 26
  5. 2023Contrastive Learning of Sentence Embeddings from Scratchcited by 24
  6. 2024Measuring and Improving Persuasiveness of Large Language Modelscited by 18
  7. 2023Composition-contrastive Learning for Sentence Embeddingscited by 14
  8. 2023A Comprehensive Survey of Sentence Representations: From the BERT Epoch to the ChatGPT Era and Beyondcited by 11
  9. 2023CoT-BERT: Enhancing Unsupervised Sentence Representation through Chain-of-Thoughtcited by 8
  10. 20242D Matryoshka Sentence Embeddingscited by 8
  11. 2024ParaFusion: A Large-Scale LLM-Driven English Paraphrase Dataset Infused with High-Quality Lexical and Syntactic Diversitycited by 8
  12. 2022Global and Local Hierarchy-aware Contrastive Framework for Implicit Discourse Relation Recognitioncited by 7
18 more
  1. 2023CWTM: Leveraging Contextualized Word Embeddings from BERT for Neural Topic Modelingcited by 7
  2. 2023Efficient Domain Adaptation of Sentence Embeddings Using Adapterscited by 6
  3. 2022Global Contrastive Batch Sampling via Optimization on Sample Permutationscited by 5
  4. 2024Advancing Semantic Textual Similarity Modeling: A Regression Framework with Translated ReLU and Smooth K2 Losscited by 5
  5. 2024Emotion-Anchored Contrastive Learning Framework for Emotion Recognition in Conversationcited by 3
  6. 2024Parameter Efficient Diverse Paraphrase Generation Using Sequence-Level Knowledge Distillationcited by 3
  7. 2025On The Role of Pretrained Language Models in General-Purpose Text Embeddings: A Surveycited by 3
  8. 2023Weighted Sampling for Masked Language Modelingcited by 2
  9. 2023Sim-GPT: Text Similarity via GPT Annotated Datacited by 2
  10. 2024Space Decomposition for Sentence Embeddingcited by 1
  11. 2023AdaptiveRec: Adaptively Construct Pairs for Contrastive Learning in Sequential Recommendationcited by 0
  12. 2023Narrowing the Gap between Supervised and Unsupervised Sentence Representation Learning with Large Language Modelcited by 0
  13. 2023Topic-DPR: Topic-based Prompts for Dense Passage Retrievalcited by 0
  14. 2023Matching of Descriptive Labels to Glossary Descriptionscited by 0
  15. 2024UNSEE: Unsupervised Non-contrastive Sentence Embeddingscited by 0
  16. 2024Unveiling Key Aspects of Fine-Tuning in Sentence Embeddings: A Representation Rank Analysiscited by 0
  17. 2025Estimating Quality in Therapeutic Conversations: A Multi-Dimensional Natural Language Processing Frameworkcited by 0
  18. 2025SimDiffRec: Semantic Similarity-Guided Diffusion for Contrastive Sequential Recommendationcited by 0