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

UniRetriever:面向多种上下文自适应对话检索的多任务候选选择

UniRetriever: Multi-task Candidates Selection for Various Context-Adaptive Conversational Retrieval

The Chinese University of Hong Kong(香港中文大学);Nankai University(南开大学);Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳));Huawei Noah’s Ark Lab(华为诺亚方舟实验室)

Hongru Wang, Boyang Xue, Baohang Zhou, Rui Wang, Fei Mi, Weichao Wang, Yasheng Wang, Kam-Fai Wong

AI总结:

本文提出UniRetriever多任务双编码器框架,利用上下文自适应编码、点积匹配及历史候选难负例约束,统一完成角色、知识与回复选择,并在域内外取得SOTA效果。

摘要:

对话检索是指以迭代和交互方式运行的信息检索系统,需要检索各种外部资源,例如角色设定、知识乃至回复,以有效地与用户互动并成功完成对话。然而,以往大多数工作针对每种特定资源训练独立的检索器,导致性能次优且效率较低。因此,我们提出一个多任务框架,作为对话过程中三类主要检索任务的通用检索器:角色设定选择、知识选择和回复选择。为此,我们设计了一种双编码器架构,由一个上下文自适应对话编码器和一个候选编码器组成,旨在关注长对话中的相关上下文,并仅通过点积检索合适的候选。此外,我们引入两种损失约束,通过将历史选择的候选视为难负例,捕捉对话上下文与不同候选之间的细微关系。大量实验和分析表明,该模型在训练域内和域外均取得了最先进的检索质量,揭示了其作为通用检索器同时服务于不同候选选择任务的良好潜力和泛化能力。

英文摘要:

Conversational retrieval refers to an information retrieval system that operates in an iterative and interactive manner, requiring the retrieval of various external resources, such as persona, knowledge, and even response, to effectively engage with the user and successfully complete the dialogue. However, most previous work trained independent retrievers for each specific resource, resulting in sub-optimal performance and low efficiency. Thus, we propose a multi-task framework function as a universal retriever for three dominant retrieval tasks during the conversation: persona selection, knowledge selection, and response selection. To this end, we design a dual-encoder architecture consisting of a context-adaptive dialogue encoder and a candidate encoder, aiming to attention to the relevant context from the long dialogue and retrieve suitable candidates by simply a dot product. Furthermore, we introduce two loss constraints to capture the subtle relationship between dialogue context and different candidates by regarding historically selected candidates as hard negatives. Extensive experiments and analysis establish state-of-the-art retrieval quality both within and outside its training domain, revealing the promising potential and generalization capability of our model to serve as a universal retriever for different candidate selection tasks simultaneously.

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

↑