Scaling Sentence Embeddings with Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) have recently garnered significant interest. With in-context learning, LLMs achieve impressive results in various natural language tasks. However, the application of LLMs to sentence embeddings remains an area of ongoing research. In this work, we propose an in-context learning-based method aimed at improving sentence embeddings performance. Our approach involves adapting the previous prompt-based representation method for autoregressive models, constructing a demonstration set that enables LLMs to perform in-context learning, and scaling up the LLMs to different model sizes. Through extensive experiments, in-context learning enables LLMs to generate high-quality sentence embeddings without any fine-tuning. It helps LLMs achieve performance comparable to current contrastive learning methods. By scaling model size, we find scaling to more than tens of billion parameters harms the performance on semantic textual similarity (STS) tasks. However, the largest model outperforms other counterparts and achieves the new state-of-the-art result on transfer tasks. We also fine-tune LLMs with current contrastive learning approach, and the 2.7B OPT model, incorporating our prompt-based method, surpasses the performance of 4.8B ST5, achieving the new state-of-the-art results on STS tasks. Our code is available at https://github.com/kongds/scaling_sentemb.
Key facts. Cited by 83 papers in the map (data through 7 Oct 2026). Builds on 32 of its 53 references that are in the map. First posted on arXiv 31 Jul 2023.
Builds on
32 of 53 references.
References · 32
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
20 more
- 2022Training Compute-Optimal Large Language Modelscited by 2,927
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,838
- 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 998
- 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
- 2021Sentence-T5: Scalable Sentence Encoders from Pre-trained Text-to-Text Modelscited by 462
- 2017Supervised Learning of Universal Sentence Representations from Natural Language Inference Datacited by 428
- 2018SentEval: An Evaluation Toolkit for Universal Sentence Representationscited by 294
- 2022SGPT: GPT Sentence Embeddings for Semantic Searchcited by 204
- 2021Whitening Sentence Representations for Better Semantics and Faster Retrievalcited by 198
- 2022DiffCSE: Difference-based Contrastive Learning for Sentence Embeddingscited by 131
- 2022PromptBERT: Improving BERT Sentence Embeddings with Promptscited by 75
- 2022PCL: Peer-Contrastive Learning with Diverse Augmentations for Unsupervised Sentence Embeddingscited by 29
- 2023Improving Contrastive Learning of Sentence Embeddings from AI Feedbackcited by 29
- 2022InfoCSE: Information-aggregated Contrastive Learning of Sentence Embeddingscited by 25
- 2023Contrastive Learning of Sentence Embeddings from Scratchcited by 24
- 2021DefSent: Sentence Embeddings using Definition Sentencescited by 20
Built on by
Citing papers per year: 2023: 3; 2024: 25; 2025: 33; 2026: 22.
83 papers.
Sort:
By area:
- 2024LLM2Vec: Large Language Models Are Secretly Powerful Text Encoderscited by 396
- 2023Large Language Models for Information Retrieval: A Surveycited by 331
- 2024Generative Representational Instruction Tuningcited by 227
- 2024jina-embeddings-v3: Multilingual Embeddings With Task LoRAcited by 138
- 2024E5-V: Universal Embeddings with Multimodal Large Language Modelscited by 123
- 2024LamRA: Large Multimodal Model as Your Advanced Retrieval Assistantcited by 106
- 2023AnglE-optimized Text Embeddingscited by 98
- 2024Repetition Improves Language Model Embeddingscited by 70
- 2025DeSTA2.5-Audio: Toward General-Purpose Large Audio Language Model with Self-Generated Cross-Modal Alignmentcited by 47
- 2024Your Mixture-of-Experts LLM Is Secretly an Embedding Model For Freecited by 37
- 2024LLMs are Also Effective Embedding Models: An In-depth Overviewcited by 32
- 2025CAFe: Unifying Representation and Generation with Contrastive-Autoregressive Finetuningcited by 31
38 more
- 2024Simple Techniques for Enhancing Sentence Embeddings in Generative Language Modelscited by 26
- 2025Modality Curation: Building Universal Embeddings for Advanced Multimodal Information Retrievalcited by 26
- 2024MEXA: Multilingual Evaluation of English-Centric LLMs via Cross-Lingual Alignmentcited by 25
- 2025Division-of-Thoughts: Harnessing Hybrid Language Model Synergy for Efficient On-Device Agentscited by 24
- 2023Meaning Representations from Trajectories in Autoregressive Modelscited by 18
- 2024CaReBench: A Fine-Grained Benchmark for Video Captioning and Retrievalcited by 18
- 2024Causal Inference with Generative Artificial Intelligence: Application to Texts as Treatmentscited by 16
- 2024VladVA: Discriminative Fine-tuning of LVLMscited by 15
- 2024OneGen: Efficient One-Pass Unified Generation and Retrieval for LLMscited by 14
- 2025Following the Autoregressive Nature of LLM Embeddings via Compression and Alignmentcited by 14
- 2024Efficient Universal Goal Hijacking with Semantics-guided Prompt Organizationcited by 13
- 2024FLAME: Frozen Large Language Models Enable Data-Efficient Language-Image Pre-trainingcited by 12
- 2024Enhancing Few-Shot Vision-Language Classification with Large Multimodal Model Featurescited by 11
- 2025LLM Embeddings for Deep Learning on Tabular Datacited by 11
- 2025UniECS: Unified Multimodal E-Commerce Search Framework with Gated Cross-modal Fusioncited by 10
- 2025IDMR: Towards Instance-Driven Precise Visual Correspondence in Multimodal Retrievalcited by 8
- 2025F2LLM Technical Report: Matching SOTA Embedding Performance with 6 Million Open-Source Datacited by 8
- 2025CoPT: Unsupervised Domain Adaptive Segmentation using Domain-Agnostic Text Embeddingscited by 7
- 2025FreeRet: MLLMs as Training-Free Retrieverscited by 7
- 2024GLOV: Guided Large Language Models as Implicit Optimizers for Vision Language Modelscited by 6
- 2026ELVA: Exploring Ranking-Driven Universal Multimodal Retrievalcited by 5
- 2024Interpretable Measures of Conceptual Similarity by Complexity-Constrained Descriptive Auto-Encodingcited by 4
- 2024Editing Knowledge Representation of Language Model via Rephrased Prefix Promptscited by 4
- 2024REAL: Response Embedding-based Alignment for LLMscited by 4
- 2026The Embedder's Dilemma: LLMs Are Better, but at What Cost?cited by 4
- 2024Linearly-Interpretable Concept Embedding Models for Text Analysiscited by 3
- 2024Logistic Regression makes small LLMs strong and explainable "tens-of-shot" classifierscited by 3
- 2025Analyzing Similarity Metrics for Data Selection for Language Model Pretrainingcited by 3
- 2025CSE-SFP: Enabling Unsupervised Sentence Representation Learning via a Single Forward Passcited by 3
- 2025ExLM: Rethinking the Impact of [MASK] Tokens in Masked Language Modelscited by 2
- 2025DEUCE: Dual-diversity Enhancement and Uncertainty-awareness for Cold-start Active Learningcited by 2
- 2025Histopathology Multi-modal Embedding for Pathology Composed Retrievalcited by 2
- 2025Retrieval Capabilities of Large Language Models Scale with Pretraining FLOPscited by 2
- 2025Exploring Reasoning-Infused Text Embedding with Large Language Models for Zero-Shot Dense Retrievalcited by 2
- 2025AttnCache: Accelerating Self-Attention Inference for LLM Prefill via Attention Cachecited by 2
- 2026RETLLM: Training and Data-Free MLLMs for Multimodal Information Retrievalcited by 2
- 2026LLM2Vec-Gen: Generative Embeddings from Large Language Modelscited by 2
- 2026The Truth Lies Somewhere in the Middle (of the Generated Tokens)cited by 2
50 most cited of 83 All 83 (JSON)
- 2026Selecting What Matters: Semantic Compression-Guided Selective Pooling for Long-Context Embeddings29 Sep 2026
- 2026Do LLMs Really Forget? Hidden-State Leakage in Model Unlearning and How to Fix it29 Sep 2026
- 2026Coherence-Aware Distributional Evaluation of Open-Ended Text Generation28 Sep 2026
- 2026INSPIRE: A Benchmark for Instruction-Aware Speech Retrieval17 Aug 2026
- 2026Measuring Fairness in Large Audio Language Models via Semantic-Aware Bias Estimation13 Aug 2026
- 2026The Embedder's Dilemma: LLMs Are Better, but at What Cost?13 Aug 2026
- 2026Training-Free versus Training-Based Intent Classification in LLMs: Accuracy, Robustness, and Failure Modes3 Aug 2026
- 2026Lens: Bringing the Right Semantic Perspective into Focus for Training-Free Multimodal Representation Learning28 Jul 2026
- 2026ELVA: Exploring Ranking-Driven Universal Multimodal Retrieval18 Jun 2026
- 2026Your UnEmbedding Matrix is Secretly a Feature Lens for Text Embeddings5 Jun 2026
- 2026Eigenvectors of Experts are Training-free Non-collapsing Routers29 May 2026
- 2026COPRA: Conditional Parameter Adaptation with Reinforcement Learning for Video Anomaly Detection14 May 2026
38 more
- 2026The Truth Lies Somewhere in the Middle (of the Generated Tokens)11 May 2026
- 2026Is Textual Similarity Invariant under Machine Translation? Evidence Based on the Political Manifesto Corpus1 May 2026
- 2026Combating Visual Neglect and Semantic Drift in Large Multimodal Models for Enhanced Cross-Modal Retrieval28 Apr 2026
- 2026mEOL: Training-Free Instruction-Guided Multimodal Embedder for Vector Graphics and Image Retrieval18 Apr 2026
- 2026PMIScore: An Unsupervised Approach to Quantify Dialogue Engagement14 Mar 2026
- 2026LLM2Vec-Gen: Generative Embeddings from Large Language Models11 Mar 2026
- 2026Towards Improved Sentence Representations using Token Graphs3 Mar 2026
- 2026Reconstructing Content with Collaborative Attention for Universal Multimodal Representation Learning2 Mar 2026
- 2026RETLLM: Training and Data-Free MLLMs for Multimodal Information Retrieval25 Feb 2026
- 2026Query as Anchor: Scenario-Adaptive User Representation via Large Language Model16 Feb 2026
- 2025Training-free Conditional Image Embedding Framework Leveraging Large Vision Language Models26 Dec 2025
- 2025Advances and Challenges in Semantic Textual Similarity: A Comprehensive Survey19 Dec 2025
- 2025Adapting MLLMs for Nuanced Video Retrieval15 Dec 2025
- 2025GLOW: Graph-Language Co-Encoding for Agentic Workflow Performance Prediction11 Dec 2025
- 2025TransactionGPT12 Nov 2025
- 2025AttnCache: Accelerating Self-Attention Inference for LLM Prefill via Attention Cache29 Oct 2025
- 2025F2LLM Technical Report: Matching SOTA Embedding Performance with 6 Million Open-Source Data2 Oct 2025
- 2025GRAD: Generative Retrieval-Aligned Demonstration Sampler for Efficient Few-Shot Reasoning1 Oct 2025
- 2025FreeRet: MLLMs as Training-Free Retrievers29 Sep 2025
- 2025ALIGNS: Unlocking nomological networks in psychological measurement through a large language model10 Sep 2025
- 2025Exploring Reasoning-Infused Text Embedding with Large Language Models for Zero-Shot Dense Retrieval29 Aug 2025
- 2025Retrieval Capabilities of Large Language Models Scale with Pretraining FLOPs24 Aug 2025
- 2025UniECS: Unified Multimodal E-Commerce Search Framework with Gated Cross-modal Fusion19 Aug 2025
- 2025Context-Adaptive Multi-Prompt Embedding with Large Language Models for Vision-Language Alignment3 Aug 2025
- 2025Resource-Efficient Adaptation of Large Language Models for Text Embeddings via Prompt Engineering and Contrastive Fine-tuning30 Jul 2025
- 2025CoPT: Unsupervised Domain Adaptive Segmentation using Domain-Agnostic Text Embeddings8 Jul 2025
- 2025Leveraging Generative Artificial Intelligence for Causal Inference with Unstructured Data5 Jul 2025
- 2025DeSTA2.5-Audio: Toward General-Purpose Large Audio Language Model with Self-Generated Cross-Modal Alignment3 Jul 2025
- 2025SORCE: Small Object Retrieval in Complex Environments30 May 2025
- 2025Modality Curation: Building Universal Embeddings for Advanced Multimodal Information Retrieval26 May 2025
- 2025CSE-SFP: Enabling Unsupervised Sentence Representation Learning via a Single Forward Pass1 May 2025
- 2025IDMR: Towards Instance-Driven Precise Visual Correspondence in Multimodal Retrieval1 Apr 2025
- 2025Rethinking Sparse Mixture of Experts from a Unified Perspective29 Mar 2025
- 2025CAFe: Unifying Representation and Generation with Contrastive-Autoregressive Finetuning25 Mar 2025
- 2025Retrieval Backward Attention without Additional Training: Enhance Embeddings of Large Language Models via Repetition28 Feb 2025
- 2025LLM Embeddings for Deep Learning on Tabular Data17 Feb 2025
- 2025Following the Autoregressive Nature of LLM Embeddings via Compression and Alignment17 Feb 2025
- 2025Histopathology Multi-modal Embedding for Pathology Composed Retrieval11 Feb 2025
50 newest of 83 All 83 (JSON)
- 2024E5-V: Universal Embeddings with Multimodal Large Language Modelscited by 123
- 2024LamRA: Large Multimodal Model as Your Advanced Retrieval Assistantcited by 106
- 2025CAFe: Unifying Representation and Generation with Contrastive-Autoregressive Finetuningcited by 31
- 2024VladVA: Discriminative Fine-tuning of LVLMscited by 15
- 2024Enhancing Few-Shot Vision-Language Classification with Large Multimodal Model Featurescited by 11
- 2025FreeRet: MLLMs as Training-Free Retrieverscited by 7
- 2024GLOV: Guided Large Language Models as Implicit Optimizers for Vision Language Modelscited by 6
- 2026ELVA: Exploring Ranking-Driven Universal Multimodal Retrievalcited by 5
- 2025Training-free Conditional Image Embedding Framework Leveraging Large Vision Language Modelscited by 1
- 2026Reconstructing Content with Collaborative Attention for Universal Multimodal Representation Learningcited by 1
- 2026COPRA: Conditional Parameter Adaptation with Reinforcement Learning for Video Anomaly Detectioncited by 1
- 2026Combating Visual Neglect and Semantic Drift in Large Multimodal Models for Enhanced Cross-Modal Retrievalcited by 0
- 2026ELVA: Exploring Ranking-Driven Universal Multimodal Retrieval18 Jun 2026
- 2026COPRA: Conditional Parameter Adaptation with Reinforcement Learning for Video Anomaly Detection14 May 2026
- 2026Combating Visual Neglect and Semantic Drift in Large Multimodal Models for Enhanced Cross-Modal Retrieval28 Apr 2026
- 2026Reconstructing Content with Collaborative Attention for Universal Multimodal Representation Learning2 Mar 2026
- 2025Training-free Conditional Image Embedding Framework Leveraging Large Vision Language Models26 Dec 2025
- 2025FreeRet: MLLMs as Training-Free Retrievers29 Sep 2025
- 2025CAFe: Unifying Representation and Generation with Contrastive-Autoregressive Finetuning25 Mar 2025
- 2024VladVA: Discriminative Fine-tuning of LVLMs5 Dec 2024
- 2024LamRA: Large Multimodal Model as Your Advanced Retrieval Assistant2 Dec 2024
- 2024Enhancing Few-Shot Vision-Language Classification with Large Multimodal Model Features28 Nov 2024
- 2024GLOV: Guided Large Language Models as Implicit Optimizers for Vision Language Models8 Oct 2024
- 2024E5-V: Universal Embeddings with Multimodal Large Language Models17 Jul 2024
- 2025Division-of-Thoughts: Harnessing Hybrid Language Model Synergy for Efficient On-Device Agentscited by 24
- 2026The Embedder's Dilemma: LLMs Are Better, but at What Cost?cited by 4
- 2025ExLM: Rethinking the Impact of [MASK] Tokens in Masked Language Modelscited by 2
- 2025Exploring Reasoning-Infused Text Embedding with Large Language Models for Zero-Shot Dense Retrievalcited by 2
- 2025GRAD: Generative Retrieval-Aligned Demonstration Sampler for Efficient Few-Shot Reasoningcited by 0
- 2026The Embedder's Dilemma: LLMs Are Better, but at What Cost?13 Aug 2026
- 2025GRAD: Generative Retrieval-Aligned Demonstration Sampler for Efficient Few-Shot Reasoning1 Oct 2025
- 2025Exploring Reasoning-Infused Text Embedding with Large Language Models for Zero-Shot Dense Retrieval29 Aug 2025
- 2025Division-of-Thoughts: Harnessing Hybrid Language Model Synergy for Efficient On-Device Agents6 Feb 2025
- 2025ExLM: Rethinking the Impact of [MASK] Tokens in Masked Language Models23 Jan 2025
- 2024REAL: Response Embedding-based Alignment for LLMscited by 4
- 2024NIFTY Financial News Headlines Datasetcited by 1
- 2024REAL: Response Embedding-based Alignment for LLMs17 Sep 2024
- 2024NIFTY Financial News Headlines Dataset16 May 2024
- 2024LLM2Vec: Large Language Models Are Secretly Powerful Text Encoderscited by 396
- 2023Large Language Models for Information Retrieval: A Surveycited by 331
- 2024Generative Representational Instruction Tuningcited by 227
- 2024jina-embeddings-v3: Multilingual Embeddings With Task LoRAcited by 138
- 2023AnglE-optimized Text Embeddingscited by 98
- 2024Repetition Improves Language Model Embeddingscited by 70
- 2024LLMs are Also Effective Embedding Models: An In-depth Overviewcited by 32
- 2024Simple Techniques for Enhancing Sentence Embeddings in Generative Language Modelscited by 26
- 2025Modality Curation: Building Universal Embeddings for Advanced Multimodal Information Retrievalcited by 26
- 2024MEXA: Multilingual Evaluation of English-Centric LLMs via Cross-Lingual Alignmentcited by 25
- 2023Meaning Representations from Trajectories in Autoregressive Modelscited by 18
- 2024CaReBench: A Fine-Grained Benchmark for Video Captioning and Retrievalcited by 18
12 most cited of 56 All 56 (JSON)
- 2026Selecting What Matters: Semantic Compression-Guided Selective Pooling for Long-Context Embeddings29 Sep 2026
- 2026Coherence-Aware Distributional Evaluation of Open-Ended Text Generation28 Sep 2026
- 2026INSPIRE: A Benchmark for Instruction-Aware Speech Retrieval17 Aug 2026
- 2026Measuring Fairness in Large Audio Language Models via Semantic-Aware Bias Estimation13 Aug 2026
- 2026Training-Free versus Training-Based Intent Classification in LLMs: Accuracy, Robustness, and Failure Modes3 Aug 2026
- 2026Lens: Bringing the Right Semantic Perspective into Focus for Training-Free Multimodal Representation Learning28 Jul 2026
- 2026Your UnEmbedding Matrix is Secretly a Feature Lens for Text Embeddings5 Jun 2026
- 2026The Truth Lies Somewhere in the Middle (of the Generated Tokens)11 May 2026
- 2026Is Textual Similarity Invariant under Machine Translation? Evidence Based on the Political Manifesto Corpus1 May 2026
- 2026mEOL: Training-Free Instruction-Guided Multimodal Embedder for Vector Graphics and Image Retrieval18 Apr 2026
- 2026PMIScore: An Unsupervised Approach to Quantify Dialogue Engagement14 Mar 2026
- 2026Towards Improved Sentence Representations using Token Graphs3 Mar 2026
12 newest of 56 All 56 (JSON)