mlsanityData to 7 Oct 2026

Simple Techniques for Enhancing Sentence Embeddings in Generative Language Models

arXiv 2404.03921 ↗First posted 5 Apr 2024cs.CLcited by 26

Not on the map. Why?

Abstract (arXiv)

Sentence Embedding stands as a fundamental task within the realm of Natural Language Processing, finding extensive application in search engines, expert systems, and question-and-answer platforms. With the continuous evolution of large language models such as LLaMA and Mistral, research on sentence embedding has recently achieved notable breakthroughs. However, these advancements mainly pertain to fine-tuning scenarios, leaving explorations into computationally efficient direct inference methods for sentence representation in a nascent stage. This paper endeavors to bridge this research gap. Through comprehensive experimentation, we challenge the widely held belief in the necessity of an Explicit One-word Limitation for deriving sentence embeddings from Pre-trained Language Models (PLMs). We demonstrate that this approach, while beneficial for generative models under direct inference scenario, is not imperative for discriminative models or the fine-tuning of generative PLMs. This discovery sheds new light on the design of manual templates in future studies. Building upon this insight, we propose two innovative prompt engineering techniques capable of further enhancing the expressive power of PLMs' raw embeddings: Pretended Chain of Thought and Knowledge Enhancement. We confirm their effectiveness across various PLM types and provide a detailed exploration of the underlying factors contributing to their success.

Key facts. Cited by 26 papers in the map (data through 7 Oct 2026). Builds on 25 of its 35 references that are in the map. First posted on arXiv 5 Apr 2024.

Builds on

25 of 35 references.

References · 25

  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. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  5. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  6. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  7. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  8. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  9. 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
  10. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  11. 2023Mistral 7Bcited by 3,065
  12. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
13 more
  1. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
  2. 2015A large annotated corpus for learning natural language inferencecited by 1,837
  3. 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 998
  4. 2021Sentence-T5: Scalable Sentence Encoders from Pre-trained Text-to-Text Modelscited by 462
  5. 2018SentEval: An Evaluation Toolkit for Universal Sentence Representationscited by 294
  6. 2021Whitening Sentence Representations for Better Semantics and Faster Retrievalcited by 198
  7. 2023AnglE-optimized Text Embeddingscited by 98
  8. 2023Scaling Sentence Embeddings with Large Language Modelscited by 83
  9. 2022PromptBERT: Improving BERT Sentence Embeddings with Promptscited by 75
  10. 2021ESimCSE: Enhanced Sample Building Method for Contrastive Learning of Unsupervised Sentence Embeddingcited by 73
  11. 2023Alleviating Over-smoothing for Unsupervised Sentence Representationcited by 16
  12. 2024Meta-Task Prompting Elicits Embeddings from Large Language Modelscited by 15
  13. 2023CoT-BERT: Enhancing Unsupervised Sentence Representation through Chain-of-Thoughtcited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 10; 2025: 12; 2026: 4.

26 papers.

Sort:

By area:

  1. 2024LLMs are Also Effective Embedding Models: An In-depth Overviewcited by 32
  2. 2024Token Prepending: A Training-Free Approach for Eliciting Better Sentence Embeddings from LLMscited by 18
  3. 2025HomeBench: Evaluating LLMs in Smart Homes with Valid and Invalid Instructions Across Single and Multiple Devicescited by 15
  4. 2024GenEOL: Harnessing the Generative Power of LLMs for Training-Free Sentence Embeddingscited by 14
  5. 2025Contrastive Prompting Enhances Sentence Embeddings in LLMs through Inference-Time Steeringcited by 13
  6. 2024FLAME: Frozen Large Language Models Enable Data-Efficient Language-Image Pre-trainingcited by 12
  7. 2025FreeRet: MLLMs as Training-Free Retrieverscited by 7
  8. 2024Pcc-tuning: Breaking the Contrastive Learning Ceiling in Semantic Textual Similaritycited by 5
  9. 2024Enhancing Unsupervised Sentence Embeddings via Knowledge-Driven Data Augmentation and Gaussian-Decayed Contrastive Learningcited by 4
  10. 2024Instruction Embedding: Latent Representations of Instructions Towards Task Identificationcited by 4
  11. 2024Logistic Regression makes small LLMs strong and explainable "tens-of-shot" classifierscited by 3
  12. 2025CSE-SFP: Enabling Unsupervised Sentence Representation Learning via a Single Forward Passcited by 3
14 more
  1. 2025On The Role of Pretrained Language Models in General-Purpose Text Embeddings: A Surveycited by 3
  2. 2025Testing the assumptions about the geometry of sentence embedding spaces: the cosine measure need not applycited by 2
  3. 2025AttnCache: Accelerating Self-Attention Inference for LLM Prefill via Attention Cachecited by 2
  4. 2024GASE: Generatively Augmented Sentence Encodingcited by 1
  5. 2024HNCSE: Advancing Sentence Embeddings via Hybrid Contrastive Learning with Hard Negativescited by 1
  6. 2025Resource-Efficient Adaptation of Large Language Models for Text Embeddings via Prompt Engineering and Contrastive Fine-tuningcited by 1
  7. 2025Context-Adaptive Multi-Prompt Embedding with Large Language Models for Vision-Language Alignmentcited by 1
  8. 2025PoLi-RL: A Point-to-List Reinforcement Learning Framework for Conditional Semantic Textual Similaritycited by 1
  9. 2025GLOW: Graph-Language Co-Encoding for Agentic Workflow Performance Predictioncited by 1
  10. 2025Training-free Conditional Image Embedding Framework Leveraging Large Vision Language Modelscited by 1
  11. 2026Towards Improved Sentence Representations using Token Graphscited by 1
  12. 2026mEOL: Training-Free Instruction-Guided Multimodal Embedder for Vector Graphics and Image Retrievalcited by 1
  13. 2026Transforming OPACs into Intelligent Discovery Systems: An AI-Powered, Knowledge Graph-Driven Smart OPAC for Digital Librariescited by 0
  14. 2026Selecting What Matters: Semantic Compression-Guided Selective Pooling for Long-Context Embeddingscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2024Extracting Sentence Embeddings from Pretrained Transformer Models
  2. 2026SemPA: Improving Sentence Embeddings of Large Language Models through Semantic Preference Alignment
  3. 2025Let LLMs Speak Embedding Languages: Generative Text Embeddings via Iterative Contrastive Refinement
  4. 2025Latent Reasoning via Sentence Embedding Prediction
  5. 2026LLM2Vec-Gen: Generative Embeddings from Large Language Models
  6. 2022Reweighting Strategy based on Synthetic Data Identification for Sentence Similarity
  7. 2025GEM: Empowering LLM for both Embedding Generation and Language Understanding
  8. 2024Prompt Compression with Context-Aware Sentence Encoding for Fast and Improved LLM Inference