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

用于响应生成的层次递归注意网络

Hierarchical Recurrent Attention Network for Response Generation

Microsoft Research Asia(微软亚洲研究院);Microsoft Research(微软研究院);Beihang University(北京航空航天大学);Nankai University(南开大学)

Chen Xing, Wei Wu, Yu Wu, Ming Zhou, Yalou Huang, Wei-Ying Ma

摘要:

我们研究了聊天机器人中的多轮响应生成,其中响应是根据会话上下文生成的。现有的工作已经模拟了上下文的层次结构,但没有足够的注意到这样一个事实,即在上下文中的单词和话语是不同的重要性。因此,他们可能会在上下文中丢失重要信息,并产生不相关的反应。我们提出了一个层次的递归注意力网络(HRAN)模型在一个统一的框架中的这两个方面。在HRAN中,一个层次化的注意力机制分别用词级注意和话语级注意来关注话语内和话语间的重要部分。利用单词级注意力,单词级编码器的隐藏向量被合成为话语向量,并被馈送到话语级编码器以构造上下文的隐藏表示。然后,由话语级注意力处理上下文的隐藏向量,并将其形成为用于解码响应的上下文向量。对自动评估和人类判断的实证研究表明,HRAN可以显着优于国家的最先进的多回合响应生成模型。

英文摘要:

We study multi-turn response generation in chatbots where a response is generated according to a conversation context. Existing work has modeled the hierarchy of the context, but does not pay enough attention to the fact that words and utterances in the context are differentially important. As a result, they may lose important information in context and generate irrelevant responses. We propose a hierarchical recurrent attention network (HRAN) to model both aspects in a unified framework. In HRAN, a hierarchical attention mechanism attends to important parts within and among utterances with word level attention and utterance level attention respectively. With the word level attention, hidden vectors of a word level encoder are synthesized as utterance vectors and fed to an utterance level encoder to construct hidden representations of the context. The hidden vectors of the context are then processed by the utterance level attention and formed as context vectors for decoding the response. Empirical studies on both automatic evaluation and human judgment show that HRAN can significantly outperform state-of-the-art models for multi-turn response generation.

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

↑