Skip to main content
QUICK REVIEW

[论文解读] RAP-Net: Recurrent Attention Pooling Networks for Dialogue Response Selection

Chao-Wei Huang, Ting-Rui Chiang|arXiv (Cornell University)|Mar 21, 2019
Topic ModelingComputer Science参考文献 15被引用 3
一句话总结

RAP-Net 是一种新颖的对话回复选择框架,采用多播注意力网络(MCAN)和动态池化循环层来建模上下文-回复相关性,在 DSTC7 基准测试中,无论是在大规模候选集还是知识增强对话的多种设置下,均实现了最先进性能。

ABSTRACT

The response selection has been an emerging research topic due to the growing interest in dialogue modeling, where the goal of the task is to select an appropriate response for continuing dialogues. To further push the end-to-end dialogue model toward real-world scenarios, the seventh Dialog System Technology Challenge (DSTC7) proposed a challenging track based on real chatlog datasets. The competition focuses on dialogue modeling with several advanced characteristics: (1) natural language diversity, (2) capability of precisely selecting a proper response from a large set of candidates or the scenario without any correct answer, and (3) knowledge grounding. This paper introduces recurrent attention pooling networks (RAP-Net), a novel framework for response selection, which can well estimate the relevance between the dialogue contexts and the candidates. The proposed RAP-Net is shown to be effective and can be generalized across different datasets and settings in the DSTC7 experiments.

研究动机与目标

  • 解决在高词汇多样性与复杂候选集条件下,真实对话系统中选择合适回复的挑战。
  • 提升在低资源和开放词汇设置下的回复选择性能,其中正确回复可能不存在。
  • 整合知识增强特征,以提升领域特定对话中的相关性建模能力。
  • 开发一种可泛化的框架,适用于多种对话数据集,包括技术性(Ubuntu IRC)和非正式性(课程咨询)对话。
  • 证明注意力机制与动态池化在捕捉检索式对话系统中上下文-回复交互方面的有效性。

提出的方法

  • 应用多播注意力网络(MCAN)通过内部注意力和跨注意力机制,从对话上下文和回复候选中提取多种基于注意力的特征。
  • 使用高速公路网络在注意力计算前优化词表示,以实现更优的特征学习。
  • 在特征融合层中将领域特定的知识增强特征与 MCAN 输出结合,以丰富语义表示。
  • 采用双向 LSTM 层编码话语级表示,随后使用动态池化层按话语边界对输出进行分组。
  • 使用第二个双向 LSTM 的最终隐藏状态作为句子级表示,以计算回复相关性得分。
  • 采用对比损失或交叉熵进行端到端训练,以优化候选回复的排序性能。
Figure 1: The architecture of the whole proposed model. (A) is the word embedding of utterances (light green and light blue color denotes words spoken by different speakers) and candidate (light red color). (B) is the MCAN. (C) Word embeddings along with extra features, which include knowledge groun
Figure 1: The architecture of the whole proposed model. (A) is the word embedding of utterances (light green and light blue color denotes words spoken by different speakers) and candidate (light red color). (B) is the MCAN. (C) Word embeddings along with extra features, which include knowledge groun

实验结果

研究问题

  • RQ1统一的深度学习框架能否有效应对多样化回复选择场景,包括大规模候选集和无正确答案的情形?
  • RQ2不同的注意力机制(跨注意力、内部注意力和对齐注意力)在建模上下文-回复相关性方面分别起到何种作用?
  • RQ3知识增强特征在领域特定对话中能在多大程度上提升回复选择性能?
  • RQ4与固定池化或最后隐藏状态聚合相比,动态池化是否能提升对话建模性能?
  • RQ5所提出的模型能否在具有不同语言和结构特性的不同对话数据集上实现良好泛化?

主要发现

  • RAP-Net 在 Ubuntu 子任务 1 上取得了 76.7% 的 R@10 和 56.18% 的 MRR,优于包括 DP-LSTM 和 MV-LSTM 在内的基线模型。
  • 消融实验表明,跨注意力是最重要的组件,当其被移除时,平均得分下降近 10 分。
  • 动态池化和高速公路编码器各自贡献适中,与基线相比,平均得分分别提升约 1 分。
  • 注意力得分的可视化结果证实,MCAN 能够有效识别上下文与回复之间在词级别上的相关性,即使在语义相关但无词汇重叠的词对之间亦然。
  • 该模型在两个不同数据集(Ubuntu IRC,技术性;课程咨询,非正式性)上均表现出强泛化能力,表明对领域分布变化具有鲁棒性。
  • 基于减法的注意力维度主要激活在功能词和 <unk> 标记上,表明其在过滤无关词汇方面具有潜在作用。
Figure 2: Illustrator of inter-attention with mean and max pooling. The brown and violet color arrows are column-wise max and mean operation respectively. The output vectors are the summation of utterances word embeddings weighted by the mean and max values. The dotted lines at the top of the figure
Figure 2: Illustrator of inter-attention with mean and max pooling. The brown and violet color arrows are column-wise max and mean operation respectively. The output vectors are the summation of utterances word embeddings weighted by the mean and max values. The dotted lines at the top of the figure

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。