arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.08275cs.IR
收藏

超越基准:评估检索增强生成系统中嵌入模型的相似性

Beyond Benchmarks: Evaluating Embedding Model Similarity for Retrieval Augmented Generation Systems

Laura Caspari, Kanishka Ghosh Dastidar, Saber Zerhoudi, Jelena Mitrovic, Michael Granitzer

AI总结:

本研究针对RAG系统嵌入模型选择难题,通过居中核对齐、Jaccard系数和排名相似性评估模型相似性,在BEIR的五个数据集上识别出系列内及跨系列聚类,发现低k值检索相似性方差高,并找到Mistral等开源替代方案。

摘要:

嵌入模型的选择是检索增强生成(Retrieval Augmented Generation, RAG)系统设计中的关键步骤。鉴于可选模型数量极多,识别相似模型的聚类可简化这一模型选择流程。仅依赖基准性能得分只能对模型相似性进行较弱的评估。因此,本研究在RAG系统的语境下评估嵌入模型的相似性。我们的评估分为两部分:采用居中核对齐(Centered Kernel Alignment)方法在成对层面比较嵌入。此外,由于该指标与RAG系统尤为相关,我们使用Jaccard系数和排名相似性评估这些模型之间检索结果的相似性。我们在来自流行的基准信息检索(Benchmark Information Retrieval, BEIR)的五个数据集上,比较了不同系列的嵌入模型,包括专有模型。通过实验,我们识别出与模型系列对应的聚类,但有趣的是,也存在一些跨系列的聚类。此外,我们对top-k检索相似性的分析显示,在k值较低时存在高方差。我们还识别出了专有模型的潜在开源替代方案,其中Mistral与OpenAI模型表现出最高的相似性。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑