A Sentence is Worth 128 Pseudo Tokens: A Semantic-Aware Contrastive Learning Framework for Sentence Embeddings
Not on the map. Why?
Abstract (arXiv)
Contrastive learning has shown great potential in unsupervised sentence embedding tasks, e.g., SimCSE. However, We find that these existing solutions are heavily affected by superficial features like the length of sentences or syntactic structures. In this paper, we propose a semantics-aware contrastive learning framework for sentence embeddings, termed Pseudo-Token BERT (PT-BERT), which is able to exploit the pseudo-token space (i.e., latent semantic space) representation of a sentence while eliminating the impact of superficial features such as sentence length and syntax. Specifically, we introduce an additional pseudo token embedding layer independent of the BERT encoder to map each sentence into a sequence of pseudo tokens in a fixed length. Leveraging these pseudo sequences, we are able to construct same-length positive and negative pairs based on the attention mechanism to perform contrastive learning. In addition, we utilize both the gradient-updating and momentum-updating encoders to encode instances while dynamically maintaining an additional queue to store the representation of sentence embeddings, enhancing the encoder's learning performance for negative examples. Experiments show that our model outperforms the state-of-the-art baselines on six standard semantic textual similarity (STS) tasks. Furthermore, experiments on alignments and uniformity losses, as well as hard examples with different sentence lengths and syntax, consistently verify the effectiveness of our method.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 33 of its 54 references that are in the map. First posted on arXiv 11 Mar 2022.
Builds on
33 of 54 references.
References · 33
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2019Invariant Risk Minimizationcited by 1,832
21 more
- 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,393
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
- 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 998
- 2019How Can We Know What Language Models Know?cited by 953
- 2021GPT Understands, Toocited by 715
- 2018Wizard of Wikipedia: Knowledge-Powered Conversational agentscited by 530
- 2017Supervised Learning of Universal Sentence Representations from Natural Language Inference Datacited by 428
- 2021Learning How to Ask: Querying LMs with Mixtures of Soft Promptscited by 376
- 2015Skip-Thought Vectorscited by 321
- 2018An efficient framework for learning sentence representationscited by 197
- 2019Commonsense Knowledge Mining from Pretrained Modelscited by 189
- 2019TransferTransfo: A Transfer Learning Approach for Neural Network Based Conversational Agentscited by 188
- 2020CLEAR: Contrastive Learning for Sentence Representationcited by 186
- 2019Poly-encoders: Transformer Architectures and Pre-training Strategies for Fast and Accurate Multi-sentence Scoringcited by 164
- 2020Learning from Failure: Training Debiased Classifier from Biased Classifiercited by 133
- 2018Training Millions of Personalized Dialogue Agentscited by 126
- 2021COCO-LM: Correcting and Contrasting Text Sequences for Language Model Pretrainingcited by 126
- 2019Pretrained Encyclopedia: Weakly Supervised Knowledge-Pretrained Language Modelcited by 102
- 2020An Unsupervised Sentence Embedding Method by Mutual Information Maximizationcited by 91
- 2021PADA: Example-based Prompt Learning for on-the-fly Adaptation to Unseen Domainscited by 61
- 2020Contrastive Self-Supervised Learning for Commonsense Reasoningcited by 25
Built on by
Citing papers per year: 2023: 7; 2024: 0; 2025: 2.
9 papers.
- 2023Nugget: Neural Agglomerative Embeddings of Textcited by 19
- 2023SimCSE++: Improving Contrastive Learning for Sentence Embeddings from Two Perspectivescited by 15
- 2023A Comprehensive Survey of Sentence Representations: From the BERT Epoch to the ChatGPT Era and Beyondcited by 11
- 2023Medical Question Summarization with Entity-driven Contrastive Learningcited by 5
- 2023Large Language Models can Contrastively Refine their Generation for Better Sentence Representation Learningcited by 3
- 2025CSE-SFP: Enabling Unsupervised Sentence Representation Learning via a Single Forward Passcited by 3
- 2023Unsupervised Sentence Representation Learning with Frequency-induced Adversarial Tuning and Incomplete Sentence Filteringcited by 2
- 2023Identical and Fraternal Twins: Fine-Grained Semantic Contrastive Learning of Sentence Representationscited by 2
- 2025Adapting General-Purpose Embedding Models to Private Datasets Using Keyword-based Retrievalcited by 2
- 2025Adapting General-Purpose Embedding Models to Private Datasets Using Keyword-based Retrieval31 May 2025
- 2025CSE-SFP: Enabling Unsupervised Sentence Representation Learning via a Single Forward Pass1 May 2025
- 2023Large Language Models can Contrastively Refine their Generation for Better Sentence Representation Learning17 Oct 2023
- 2023Nugget: Neural Agglomerative Embeddings of Text3 Oct 2023
- 2023Identical and Fraternal Twins: Fine-Grained Semantic Contrastive Learning of Sentence Representations20 Jul 2023
- 2023SimCSE++: Improving Contrastive Learning for Sentence Embeddings from Two Perspectives22 May 2023
- 2023A Comprehensive Survey of Sentence Representations: From the BERT Epoch to the ChatGPT Era and Beyond22 May 2023
- 2023Unsupervised Sentence Representation Learning with Frequency-induced Adversarial Tuning and Incomplete Sentence Filtering15 May 2023
- 2023Medical Question Summarization with Entity-driven Contrastive Learning15 Apr 2023