Skip to main content
QUICK REVIEW

[论文解读] MTEB: Massive Text Embedding Benchmark

Niklas Muennighoff, Nouamane Tazi|arXiv (Cornell University)|Oct 13, 2022
Topic Modeling被引用 62
一句话总结

MTEB 基准测试覆盖 58 个数据集,跨 8 个嵌入任务涵盖 112 种语言,评估 33 个模型,以绘制优势/劣势并显示在所有任务中不存在普遍最优。

ABSTRACT

Text embeddings are commonly evaluated on a small set of datasets from a single task not covering their possible applications to other tasks. It is unclear whether state-of-the-art embeddings on semantic textual similarity (STS) can be equally well applied to other tasks like clustering or reranking. This makes progress in the field difficult to track, as various models are constantly being proposed without proper evaluation. To solve this problem, we introduce the Massive Text Embedding Benchmark (MTEB). MTEB spans 8 embedding tasks covering a total of 58 datasets and 112 languages. Through the benchmarking of 33 models on MTEB, we establish the most comprehensive benchmark of text embeddings to date. We find that no particular text embedding method dominates across all tasks. This suggests that the field has yet to converge on a universal text embedding method and scale it up sufficiently to provide state-of-the-art results on all embedding tasks. MTEB comes with open-source code and a public leaderboard at https://github.com/embeddings-benchmark/mteb.

研究动机与目标

  • 为跨越多样任务和语言的文本嵌入提供广泛、标准化的评估框架。
  • 评估自监督和有监督嵌入模型的迁移性与普遍适用性。
  • 量化性能、效率和多语言性,以指导不同嵌入使用场景的模型选择。

提出的方法

  • 定义 8 种嵌入任务类型(双语文本挖掘、分类、聚类、对比分类、重排序、检索、STS、摘要)。
  • 在统一评估流程中聚合 112 种语言和 58 个数据集,使用固定嵌入的余弦相似度。
  • 以一致的预处理和评估器对 33 个模型(开源与 API 基础)进行基准测试;比较准确度、相关性、MRR、MAP、nDCG 等。
  • 提供开源工具和公开排行榜,便于最少代码量(不到 10 行)新增新模型/数据集。
  • 分析规模(模型大小)、效率(延迟/吞吐量)以及跨任务的多语言性能。

实验结果

研究问题

  • RQ1在 MTEB 中哪些嵌入模型在哪些任务上表现最佳?
  • RQ2自监督模型是否在所有任务上缩小与有监督模型的差距?
  • RQ3模型大小如何影响不同任务的性能与效率?
  • RQ4多语言预训练对跨语言与多语言任务的影响如何?
  • RQ5是否存在在大多数嵌入任务上占优的通用嵌入模型?

主要发现

分类聚类对配对分类重排检索STS摘要平均
ST5-Base69.8140.2185.1753.0933.6381.1431.3955.27
ST5-Large72.3141.6584.9754.0036.7181.8329.6457.06
ST5-XL72.8442.3486.0654.7138.4781.6629.9157.87
ST5-XXL73.4243.7185.0656.4342.2482.6330.0859.51
GTR-XXL67.4142.4286.1256.6548.4878.3830.6458.97
GTR-Large67.1441.6085.3355.3647.4277.8029.5058.28
GTR-XL67.1141.5186.1355.9647.9677.8030.2158.42
MPNet65.0743.6983.0459.3643.8180.2827.4957.78
MPNet-multilingual67.9138.4080.8153.8035.3480.7331.5754.71
OpenAI Ada Similarity70.4437.5276.8649.0218.3678.6026.9449.52
  • 没有单一嵌入方法在所有任务中占主导;性能因任务和数据集而异。
  • 模型大小通常与性能相关;具有数十亿参数的模型在许多英语任务中占优,但成本更高。
  • 检索任务偏好为针对不对称文本(查询与文档)进行训练或微调的模型,而 STS 类任务偏好对称嵌入;为一个任务优化的模型并不能保证其他任务的表现。
  • ST5-XXL 拥有最高的英文平均分,但 GTR-XXL 和 MPNet 变体在特定任务中也表现出色;效率与任务适配仍然是模型选择的关键。
  • 双语文本挖掘被 LaBSE 主导;聚类在像 MPNet 这样的较小模型也具有竞争力;多语言表现因语言和数据集而异。
  • 多语言 MPNet 常提供强大的多语言/分类/STS 结果,而 SGPT-BLOOM-7B1-msmarco 在预训练阶段见到的语言上表现出色。

更好的研究,从现在开始

从论文设计到论文写作,大幅缩短您的研究时间。

无需绑定信用卡

本解读由 AI 生成,并经人工编辑审核。