通用嵌入模型在金融领域表现下降,说明需专用模型。
Do We Need Domain-Specific Embedding Models? An Empirical Investigation
- 构建金融领域专用评估集FinMTEB,对比通用模型表现。
- 7个先进模型在金融数据上性能显著低于通用基准。
- 通用模型在MTEB好不代表在金融领域好,需专用评测。
嵌入模型在各类NLP应用中扮演关键角色。近年来大语言模型的进展进一步提升了嵌入模型性能,这些模型通常在覆盖几乎所有领域的海量文本上训练。它们常在通用数据集MTEB上测试,表现优异。但核心问题浮现:当通用模型已涵盖大量专业文本时,是否仍需开发领域专用嵌入模型?本文以金融领域为例进行实证研究,提出金融版MTEB——FinMTEB,包含多个金融领域文本数据集。我们在该数据集上评估了7个最先进嵌入模型,发现其性能相比MTEB大幅下降。为排除数据复杂度影响,我们提出四项复杂度量化指标并加以控制。分析显示,当前主流嵌入模型难以捕捉领域特有的语言与语义模式。此外,通用模型在MTEB的表现与其在FinMTEB上的表现无相关性,表明需为领域专用模型建立独立评测基准。本研究为大模型时代领域专用嵌入模型的发展提供依据。FinMTEB代码开源:https://github.com/yixuantt/FinMTEB。
原文摘要 · Abstract (English)
Embedding models play a crucial role in representing and retrieving information across various NLP applications. Recent advancements in Large Language Models (LLMs) have further enhanced the performance of embedding models, which are trained on massive amounts of text covering almost every domain. These models are often benchmarked on general-purpose datasets like Massive Text Embedding Benchmark (MTEB), where they demonstrate superior performance. However, a critical question arises: Is the development of domain-specific embedding models necessary when general-purpose models are trained on vast corpora that already include specialized domain texts? In this paper, we empirically investigate this question, choosing the finance domain as an example. We introduce the Finance Massive Text Embedding Benchmark (FinMTEB), a counterpart to MTEB that consists of financial domain-specific text datasets. We evaluate the performance of seven state-of-the-art embedding models on FinMTEB and observe a significant performance drop compared to their performance on MTEB. To account for the possibility that this drop is driven by FinMTEB's higher complexity, we propose four measures to quantify dataset complexity and control for this factor in our analysis. Our analysis provides compelling evidence that state-of-the-art embedding models struggle to capture domain-specific linguistic and semantic patterns. Moreover, we find that the performance of general-purpose embedding models on MTEB is not correlated with their performance on FinMTEB, indicating the need for domain-specific embedding benchmarks for domain-specific embedding models. This study sheds light on developing domain-specific embedding models in the LLM era. FinMTEB comes with open-source code at https://github.com/yixuantt/FinMTEB
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。