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

PTEB: 通过在评估时利用大语言模型进行随机改写实现稳健的文本嵌入评估

PTEB: Towards Robust Text Embedding Evaluation via Stochastic Paraphrasing at Evaluation Time with LLMs

Department of Computer Science Munster Technological University(计算机科学系穆斯特技术大学)

Manuel Frank, Haithem Afli

AI总结:

PTEB通过在评估时利用大语言模型进行随机改写,提出了一种动态评估方法,以评估文本嵌入的鲁棒性。

摘要:

当前的句子嵌入评估通常依赖于静态测试环境,如大规模文本嵌入基准(MTEB)。虽然很有价值,但反复在固定套件上调整可能会夸大报告的分数并掩盖现实中的鲁棒性。我们介绍了改写文本嵌入基准(PTEB),一种动态协议,在评估时随机生成意义保持的改写,并在多个运行中汇总结果。使用一种成本效益高的基于LLM的方法,该方法基于黄金评级和人工验证,我们证明LLM生成的改写在令牌多样性但语义保持。在7个MTEB任务中,我们验证了我们的假设,即句子编码器的性能对令牌空间的变化敏感,即使语义保持不变。我们还观察到较小的模型相对于较大的模型并不受到不成比例的影响。我们的结果在多个运行中统计上稳健,覆盖20个数据集和25种语言。更广泛地说,我们旨在提出一种新的NLP评估范式,其依赖较少静态、预定义的基准,而转向动态、随机的评估,利用评估时的计算资源。我们公开了运行PTEB的代码。

英文摘要:

Current sentence embedding evaluations typically rely on static test beds like the Massive Text Embedding Benchmark (MTEB). While invaluable, repeated tuning on a fixed suite can inflate reported scores and obscure real-world robustness. We introduce the Paraphrasing Text Embedding Benchmark (PTEB), a dynamic protocol that stochastically generates meaning-preserving paraphrases at evaluation time and aggregates results across multiple runs. Using a cost-efficient LLM-based method grounded in gold ratings and human validation, we show that LLMs generate token-diverse but semantically preserving paraphrases. Across 7 MTEB tasks, we validate our hypothesis that the performance of sentence encoders is sensitive to changes in token space even when semantics remain fixed. We also observe that smaller models are not disproportionately affected relative to larger ones. Our results are statistically robust over multiple runs spanning 20 datasets and 25 languages. More generally, we aim to propose a new evaluation paradigm in NLP that relies less on static, pre-defined benchmarks but shifts towards dynamic, stochastic evaluation leveraging eval-time compute. We make the code to run PTEB publicly available.

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

↑