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

面向信息检索的二维套娃训练

2D Matryoshka Training for Information Retrieval

The University of Queensland(昆士兰大学);CSIRO(联邦科学与工业研究组织)

Shuai Wang, Shengyao Zhuang, Bevan Koopman, Guido Zuccon

AI总结:

针对二维套娃训练两种实现存在差异的问题,本研究复现并评估其在STS和检索任务上的表现,发现其在子维度上优于传统方法但不及特定设置单独训练模型,还探索了更适合检索任务的实现方式并提供复现代码。

摘要:

二维套娃训练(2D Matryoshka Training)是一种先进的嵌入表示训练方法,旨在同时跨多种层-维度设置训练编码器模型。在使用子层生成嵌入时,该方法在语义文本相似度(STS)任务上表现出比传统训练方法更高的有效性。尽管取得了成功,但已发表的两种实现之间存在差异,导致与基线模型的对比结果各不相同。在这项可复现性研究中,我们在STS任务上实现并评估了二维套娃训练的两个版本,并将分析扩展到检索任务。研究结果表明,虽然两个版本在子维度上的有效性均高于传统套娃训练和传统全尺寸模型训练方法,但它们并未优于在特定子层和子维度设置上单独训练的模型。此外,这些结果在监督(MSMARCO)和零样本(BEIR)设置下的检索任务中具有良好的泛化性。对不同损失计算的进一步探索揭示了更适合检索任务的实现方式,例如纳入全维度损失和在更广泛的目标维度上训练。相反,一些直观的方法(如将文档编码器固定为全模型输出)并未带来改进。我们的复现代码可在https://github.com/ielab/2DMSE-Reproduce获取。

英文摘要:

2D Matryoshka Training is an advanced embedding representation training approach designed to train an encoder model simultaneously across various layer-dimension setups. This method has demonstrated higher effectiveness in Semantic Text Similarity (STS) tasks over traditional training approaches when using sub-layers for embeddings. Despite its success, discrepancies exist between two published implementations, leading to varied comparative results with baseline models. In this reproducibility study, we implement and evaluate both versions of 2D Matryoshka Training on STS tasks and extend our analysis to retrieval tasks. Our findings indicate that while both versions achieve higher effectiveness than traditional Matryoshka training on sub-dimensions, and traditional full-sized model training approaches, they do not outperform models trained separately on specific sub-layer and sub-dimension setups. Moreover, these results generalize well to retrieval tasks, both in supervised (MSMARCO) and zero-shot (BEIR) settings. Further explorations of different loss computations reveals more suitable implementations for retrieval tasks, such as incorporating full-dimension loss and training on a broader range of target dimensions. Conversely, some intuitive approaches, such as fixing document encoders to full model outputs, do not yield improvements. Our reproduction code is available at https://github.com/ielab/2DMSE-Reproduce.

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

↑