Beyond Benchmarks: Evaluating Embedding Model Similarity for Retrieval Augmented Generation Systems
Preprint
Abstract
The choice of embedding model is a crucial step in the design of Retrieval Augmented Generation (RAG) systems. Given the sheer volume of available options, identifying clusters of similar models streamlines this model selection process. Relying solely on benchmark performance scores only allows for a weak assessment of model similarity. Thus, in this study, we evaluate the similarity of embedding models within the context of RAG systems. Our assessment is two-fold: We use Centered Kernel Alignment to compare embeddings on a pair-wise level. Additionally, as it is especially pertinent to RAG systems, we evaluate the similarity of retrieval results between these models using Jaccard and rank similarity. We compare different families of embedding models, including proprietary ones, across five datasets from the popular Benchmark Information Retrieval (BEIR). Through our experiments we identify clusters of models corresponding to model families, but interestingly, also some inter-family clusters. Furthermore, our analysis of top-k retrieval similarity reveals high-variance at low k values. We also identify possible open-source alternatives to proprietary models, with Mistral exhibiting the highest similarity to OpenAI models.Keywords
All Related Versions
This publication has 12 references indexed in Scilit:
- Similarity of Neural Network Models: A Survey of Functional and Representational MeasuresACM Computing Surveys, 2025
- Blended RAG: Improving RAG (Retriever-Augmented Generation) Accuracy with Semantic Search and Hybrid Query-Based Retrievers2024
- RAGAs: Automated Evaluation of Retrieval Augmented Generation2024
- Survey of Hallucination in Natural Language GenerationACM Computing Surveys, 2023
- Understanding the Inner-workings of Language Models Through Representation Dissimilarity2023
- Large Dual Encoders Are Generalizable Retrievers2022
- Sentence-T5: Scalable Sentence Encoders from Pre-trained Text-to-Text Models2022
- ModelDiff: testing-based DNN similarity comparison for model reuse detection2021
- Towards Understanding the Instability of Network EmbeddingIEEE Transactions on Knowledge and Data Engineering, 2020
- Similarity Analysis of Contextual Word Representation Models2020