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

用于高效神经检索的分布对齐微调

Distribution-Aligned Fine-Tuning for Efficient Neural Retrieval

Jurek Leonhardt, Marcel Jahnke, Avishek Anand

摘要:

基于双编码器的神经检索模型实现了可观的性能,并补充传统的词汇检索器,以及由于其语义匹配能力,这使得它们成为混合IR系统的常见选择。然而,这些模型在在线查询编码步骤中表现出性能瓶颈,因为相应的查询编码器通常是大型且复杂的Transformer模型。在本文中,我们研究异构双编码器模型,其中两个编码器是单独的模型,不共享参数或初始化。我们的经验表明,异构的双编码器容易崩溃的表示,使他们输出恒定的平凡表示时,他们使用一个标准的对比度损失,由于分布不匹配进行微调。我们提出了DAFT,一个简单的两阶段微调方法,对齐两个编码器,以防止它们崩溃。我们进一步演示了如何DAFT可以用来训练高效的异构双编码器模型,使用轻量级查询编码器。

英文摘要:

Dual-encoder-based neural retrieval models achieve appreciable performance and complement traditional lexical retrievers well due to their semantic matching capabilities, which makes them a common choice for hybrid IR systems. However, these models exhibit a performance bottleneck in the online query encoding step, as the corresponding query encoders are usually large and complex Transformer models. In this paper we investigate heterogeneous dual-encoder models, where the two encoders are separate models that do not share parameters or initializations. We empirically show that heterogeneous dual-encoders are susceptible to collapsing representations, causing them to output constant trivial representations when they are fine-tuned using a standard contrastive loss due to a distribution mismatch. We propose DAFT, a simple two-stage fine-tuning approach that aligns the two encoders in order to prevent them from collapsing. We further demonstrate how DAFT can be used to train efficient heterogeneous dual-encoder models using lightweight query encoders.

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

↑