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

面向对话的局部与全局上下文

Local and Global Contexts for Conversation

Peking University(北京大学)

Zuoquan Lin, Xinyi Shen

AI总结:

针对多轮对话中预训练transformer难以兼顾局部与全局上下文关联的问题,提出局部-全局分层对话模型LGCM,通过双编码器融合两类上下文,在开放领域对话任务上性能显著优于现有模型。

摘要:

对话中的上下文即对话历史,对多轮对话至关重要。从对话历史的相关上下文中学习以实现有依据的对话生成是一个具有挑战性的问题。局部上下文是最邻近的上下文,对后续回复更敏感;全局上下文则与整个对话相关,范围远不止邻近的话语。目前,用于对话的预训练transformer模型在捕捉局部与全局上下文之间的关联和联系方面存在困难。我们提出了一种面向开放领域通用对话的局部-全局对话模型(LGCM)。这是一种局部-全局分层transformer模型,擅长准确识别并吸收生成回复所需的相关上下文。它采用局部编码器在单条话语层面捕捉局部上下文,采用全局编码器在对话层面理解更广泛的上下文。这些局部和全局上下文化编码的无缝融合确保了对对话的全面理解。在主流数据集上的实验表明,LGCM在自动指标性能上以显著优势优于现有对话模型。

英文摘要:

The context in conversation is the dialog history crucial for multi-turn dialogue. Learning from the relevant contexts in dialog history for grounded conversation is a challenging problem. Local context is the most neighbor and more sensitive to the subsequent response, and global context is relevant to a whole conversation far beyond neighboring utterances. Currently, pretrained transformer models for conversation challenge capturing the correlation and connection between local and global contexts. We introduce a local and global conversation model (LGCM) for general-purpose conversation in open domain. It is a local-global hierarchical transformer model that excels at accurately discerning and assimilating the relevant contexts necessary for generating responses. It employs a local encoder to grasp the local context at the level of individual utterances and a global encoder to understand the broader context at the dialogue level. The seamless fusion of these locally and globally contextualized encodings ensures a comprehensive comprehension of the conversation. Experiments on popular datasets show that LGCM outperforms the existing conversation models on the performance of automatic metrics with significant margins.

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

↑