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

基于句法信息的注意力改进基于检索的对话系统

Improve Retrieval-based Dialogue System via Syntax-Informed Attention

Peking University(北京大学)

Tengtao Song, Nuo Chen, Ji Jiang, Zhihong Zhu, Yuexian Zou

摘要:

多话轮响应选择是一项具有挑战性的任务,因为它对从上下文话语提供的丰富信息中有效地提取匹配特征有很高的要求。由于将句法信息(如依存结构)纳入神经模型可以促进对句子的更好理解,因此这种方法已被广泛用于NLP任务。虽然句法信息有助于模型取得令人满意的结果,但它在基于检索的对话系统中的应用还没有得到充分的探索。同时,以往的研究只关注句内句法,这对于多话轮反应任务来说是远远不够的,因为对话通常包含多个句子。为此,我们提出了SIA,句法通知注意,考虑到句内和句间的句法信息。前者将注意力范围限制在语法树中的标记和相应的依赖项之间,而后者允许对那些语法上重要的标记进行跨话语对的注意。我们评估我们的方法在三个广泛使用的基准和实验结果表明,我们的方法在对话响应选择的一般优势。

英文摘要:

Multi-turn response selection is a challenging task due to its high demands on efficient extraction of the matching features from abundant information provided by context utterances. Since incorporating syntactic information like dependency structures into neural models can promote a better understanding of the sentences, such a method has been widely used in NLP tasks. Though syntactic information helps models achieved pleasing results, its application in retrieval-based dialogue systems has not been fully explored. Meanwhile, previous works focus on intra-sentence syntax alone, which is far from satisfactory for the task of multi-turn response where dialogues usually contain multiple sentences. To this end, we propose SIA, Syntax-Informed Attention, considering both intra- and inter-sentence syntax information. While the former restricts attention scope to only between tokens and corresponding dependents in the syntax tree, the latter allows attention in cross-utterance pairs for those syntactically important tokens. We evaluate our method on three widely used benchmarks and experimental results demonstrate the general superiority of our method on dialogue response selection.

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

↑