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

密集检索任务中的混合专家方法

Mixture of Experts Approaches in Dense Retrieval Tasks

University of Milano-Bicocca(米兰-比科卡大学)

Effrosyni Sokli, Pranav Kasela, Georgios Peikos, Gabriella Pasi

AI总结:

本文提出在密集检索模型最后一个Transformer层后添加单一MoE块(SB-MoE),以提升泛化能力并减少参数,实验表明对轻量模型效果显著。

摘要:

密集检索模型(DRMs)是信息检索(IR)领域的一项重要发展。这些基于神经Transformer的模型面临的一个关键挑战是,它们往往难以泛化到训练时所用的特定任务和领域之外。为应对这一挑战,先前IR领域的研究将混合专家(MoE)框架引入DRM的每个Transformer层中,虽然有效,但显著增加了额外参数的数量。在本文中,我们提出了一种更高效的设计,在最后一个Transformer层之后引入一个单一的MoE块(SB-MoE)。为评估SB-MoE的检索效果,我们在三个IR任务上进行了实证评估。我们的实验涉及两种评估设置,旨在评估领域内有效性和模型的零样本泛化能力。在第一种设置中,我们使用四种不同的底层DRM在七个IR基准上微调SB-MoE,并在各自的测试集上进行评估。在第二种设置中,我们在MSMARCO上微调SB-MoE,并在十三个BEIR数据集上进行零样本评估。此外,我们进行了进一步实验,以分析模型对其超参数(即使用和激活的专家数量)的依赖性,并研究这种变化如何影响SB-MoE的性能。获得的结果表明,SB-MoE对于具有轻量级基础模型的DRM(如TinyBERT和BERT-Small)特别有效,在基准测试中持续优于标准模型微调。对于参数较多的DRM(如BERT-Base和Contriever),我们的模型需要更多的训练样本才能实现改进的检索性能。我们的代码可在以下网址在线获取:https://github.com/FaySokli/SB-MoE。

英文摘要:

Dense Retrieval Models (DRMs) are a prominent development in Information Retrieval (IR). A key challenge with these neural Transformer-based models is that they often struggle to generalize beyond the specific tasks and domains they were trained on. To address this challenge, prior research in IR incorporated the Mixture-of-Experts (MoE) framework within each Transformer layer of a DRM, which, though effective, substantially increased the number of additional parameters. In this paper, we propose a more efficient design, which introduces a single MoE block (SB-MoE) after the final Transformer layer. To assess the retrieval effectiveness of SB-MoE, we perform an empirical evaluation across three IR tasks. Our experiments involve two evaluation setups, aiming to assess both in-domain effectiveness and the model's zero-shot generalizability. In the first setup, we fine-tune SB-MoE with four different underlying DRMs on seven IR benchmarks and evaluate them on their respective test sets. In the second setup, we fine-tune SB-MoE on MSMARCO and perform zero-shot evaluation on thirteen BEIR datasets. Additionally, we perform further experiments to analyze the model's dependency on its hyperparameters (i.e., the number of employed and activated experts) and investigate how this variation affects SB-MoE's performance. The obtained results show that SB-MoE is particularly effective for DRMs with lightweight base models, such as TinyBERT and BERT-Small, consistently exceeding standard model fine-tuning across benchmarks. For DRMs with more parameters, such as BERT-Base and Contriever, our model requires a larger number of training samples to achieve improved retrieval performance. Our code is available online at: https://github.com/FaySokli/SB-MoE.

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

↑