Adapting General-Purpose Embedding Models to Private Datasets Using Keyword-based Retrieval
On the map: Retrieval-augmented generation → Generation and context integration
Abstract (arXiv)
Text embedding models play a cornerstone role in AI applications, such as retrieval-augmented generation (RAG). While general-purpose text embedding models demonstrate strong performance on generic retrieval benchmarks, their effectiveness diminishes when applied to private datasets (e.g., company-specific proprietary data), which often contain specialized terminology and lingo. In this work, we introduce BMEmbed, a novel method for adapting general-purpose text embedding models to private datasets. By leveraging the well-established keyword-based retrieval technique (BM25), we construct supervisory signals from the ranking of keyword-based retrieval results to facilitate model adaptation. We evaluate BMEmbed across a range of domains, datasets, and models, showing consistent improvements in retrieval performance. Moreover, we provide empirical insights into how BM25-based signals contribute to improving embeddings by fostering alignment and uniformity, highlighting the value of this approach in adapting models to domain-specific data. We release the source code available at https://github.com/BaileyWei/BMEmbed for the research community.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Generation and context integration, one of 15 directions in Retrieval-augmented generation. Builds on 29 of its 34 references that are in the map. First posted on arXiv 31 May 2025.
Builds on
29 of 34 references.
Closest ancestors · 1
Same direction, newest first
Other references · 28
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
- 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,212
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,173
- 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,405
- 2018Learning deep representations by mutual information estimation and maximizationcited by 1,273
- 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,253
- 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,216
16 more
- 2024M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillationcited by 1,073
- 2019Learning Representations by Maximizing Mutual Information Across Viewscited by 734
- 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 723
- 2024NV-Embed: Improved Techniques for Training LLMs as Generalist Embedding Modelscited by 472
- 2021Sentence-T5: Scalable Sentence Encoders from Pre-trained Text-to-Text Modelscited by 463
- 2024LLM2Vec: Large Language Models Are Secretly Powerful Text Encoderscited by 404
- 2024LegalBench-RAG: A Benchmark for Retrieval-Augmented Generation in the Legal Domaincited by 118
- 2017Neural Ranking Models with Weak Supervisioncited by 61
- 2022Debiased Contrastive Learning of Unsupervised Sentence Representationscited by 56
- 2021Zero-Shot Dense Retrieval with Momentum Adversarial Domain Invariant Representationscited by 27
- 2024Pooling And Attention: What Are Effective Designs For LLM-Based Embedding Models?cited by 19
- 2024Beyond Surface Similarity: Detecting Subtle Semantic Shifts in Financial Narrativescited by 13
- 2024Do We Need Domain-Specific Embedding Models? An Empirical Investigationcited by 12
- 2024Greenback Bears and Fiscal Hawks: Finance is a Jungle and Text Embeddings Must Adaptcited by 12
- 2022A Sentence is Worth 128 Pseudo Tokens: A Semantic-Aware Contrastive Learning Framework for Sentence Embeddingscited by 9
- 2019Learning More From Less: Towards Strengthening Weak Supervision for Ad-Hoc Retrievalcited by 2
Built on by
Citing papers per year: 2025: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2024Beyond Benchmarks: Evaluating Embedding Model Similarity for Retrieval Augmented Generation Systems
- 2024Understanding Privacy Risks of Embeddings Induced by Large Language Models
- 2025Rethinking the Privacy of Text Embeddings: A Reproducibility Study of "Text Embeddings Reveal (Almost) As Much As Text"
- 2025ELITE: Embedding-Less retrieval with Iterative Text Exploration
- 2024Recent advances in text embedding: A Comprehensive Review of Top-Performing Methods on the MTEB Benchmark
- 2023Don't forget private retrieval: distributed private similarity search for large language models
- 2024REFINE on Scarce Data: Retrieval Enhancement through Fine-Tuning via Model Fusion of Embedding Models
- 2025Granite Embedding Models