mlsanityData to 14 Oct 2026

Adapting General-Purpose Embedding Models to Private Datasets Using Keyword-based Retrieval

arXiv 2506.00363 ↗First posted 31 May 2025cs.IR cs.CLcited by 2

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

  1. 2024NV-Retriever: Improving text embedding models with effective hard-negative mining22 Jul

Other references · 28

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  3. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  4. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  5. 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
  6. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
  7. 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,212
  8. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,173
  9. 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,405
  10. 2018Learning deep representations by mutual information estimation and maximizationcited by 1,273
  11. 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,253
  12. 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,216
16 more
  1. 2024M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillationcited by 1,073
  2. 2019Learning Representations by Maximizing Mutual Information Across Viewscited by 734
  3. 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 723
  4. 2024NV-Embed: Improved Techniques for Training LLMs as Generalist Embedding Modelscited by 472
  5. 2021Sentence-T5: Scalable Sentence Encoders from Pre-trained Text-to-Text Modelscited by 463
  6. 2024LLM2Vec: Large Language Models Are Secretly Powerful Text Encoderscited by 404
  7. 2024LegalBench-RAG: A Benchmark for Retrieval-Augmented Generation in the Legal Domaincited by 118
  8. 2017Neural Ranking Models with Weak Supervisioncited by 61
  9. 2022Debiased Contrastive Learning of Unsupervised Sentence Representationscited by 56
  10. 2021Zero-Shot Dense Retrieval with Momentum Adversarial Domain Invariant Representationscited by 27
  11. 2024Pooling And Attention: What Are Effective Designs For LLM-Based Embedding Models?cited by 19
  12. 2024Beyond Surface Similarity: Detecting Subtle Semantic Shifts in Financial Narrativescited by 13
  13. 2024Do We Need Domain-Specific Embedding Models? An Empirical Investigationcited by 12
  14. 2024Greenback Bears and Fiscal Hawks: Finance is a Jungle and Text Embeddings Must Adaptcited by 12
  15. 2022A Sentence is Worth 128 Pseudo Tokens: A Semantic-Aware Contrastive Learning Framework for Sentence Embeddingscited by 9
  16. 2019Learning More From Less: Towards Strengthening Weak Supervision for Ad-Hoc Retrievalcited by 2

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Beyond Benchmarks: Evaluating Embedding Model Similarity for Retrieval Augmented Generation Systems
  2. 2024Understanding Privacy Risks of Embeddings Induced by Large Language Models
  3. 2025Rethinking the Privacy of Text Embeddings: A Reproducibility Study of "Text Embeddings Reveal (Almost) As Much As Text"
  4. 2025ELITE: Embedding-Less retrieval with Iterative Text Exploration
  5. 2024Recent advances in text embedding: A Comprehensive Review of Top-Performing Methods on the MTEB Benchmark
  6. 2023Don't forget private retrieval: distributed private similarity search for large language models
  7. 2024REFINE on Scarce Data: Retrieval Enhancement through Fine-Tuning via Model Fusion of Embedding Models
  8. 2025Granite Embedding Models