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

DREditor:一种构建领域特定密集检索模型的省时方法

DREditor: An Time-efficient Approach for Building a Domain-specific Dense Retrieval Model

College of Computer Science, Sichuan University(四川大学计算机学院);Engineering Research Center of Machine Learning and Industry Intelligence, Ministry of Education(教育部机器学习与工业智能工程研究中心)

Chen Huang, Duanyu Feng, Wenqiang Lei, Jiancheng Lv

AI总结:

本文提出 DREditor,通过线性映射与最小二乘编辑算子直接校准检索模型嵌入,实现100–300倍加速并保持或提升检索效果。

摘要:

高效部署密集检索模型在各行各业正变得愈发重要。对于企业搜索服务而言尤其如此,在该场景中,定制搜索引擎以满足不同领域中不同企业的时间需求至关重要。受此推动,我们开发了一种名为 DREditor 的省时方法,用于编辑现成密集检索模型的匹配规则,使其适配特定领域。该目标通过使用一种高效且有效的线性映射直接校准模型的输出嵌入来实现。该映射由一个编辑算子驱动,而该算子通过求解一个专门构造的最小二乘问题获得。与通过长时间微调进行隐式规则修改相比,我们的实验结果表明,DREditor 在不同的领域特定数据集、数据集来源、检索模型和计算设备上均展现出显著优势。它持续将时间效率提升100至300倍,同时保持相当甚至更优的检索性能。在更广泛的背景下,我们率先为检索任务引入了一种新颖的嵌入校准方法,填补了当前嵌入校准领域的技术空白。该方法也为高效、低成本地构建领域特定密集检索模型铺平了道路。

英文摘要:

Deploying dense retrieval models efficiently is becoming increasingly important across various industries. This is especially true for enterprise search services, where customizing search engines to meet the time demands of different enterprises in different domains is crucial. Motivated by this, we develop a time-efficient approach called DREditor to edit the matching rule of an off-the-shelf dense retrieval model to suit a specific domain. This is achieved by directly calibrating the output embeddings of the model using an efficient and effective linear mapping. This mapping is powered by an edit operator that is obtained by solving a specially constructed least squares problem. Compared to implicit rule modification via long-time finetuning, our experimental results show that DREditor provides significant advantages on different domain-specific datasets, dataset sources, retrieval models, and computing devices. It consistently enhances time efficiency by 100-300 times while maintaining comparable or even superior retrieval performance. In a broader context, we take the first step to introduce a novel embedding calibration approach for the retrieval task, filling the technical blank in the current field of embedding calibration. This approach also paves the way for building domain-specific dense retrieval models efficiently and inexpensively.

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

↑