Skip to main content
QUICK REVIEW

[Paper 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 Science15 references3 citations
TL;DR

RAP-Net is a novel dialogue response selection framework that uses multi-cast attention networks (MCAN) and dynamic pooling recurrent layers to model context-response relevance, achieving state-of-the-art performance on the DSTC7 benchmark across diverse settings including large candidate sets and knowledge-grounded dialogues.

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.

Motivation & Objective

  • Address the challenge of selecting appropriate responses in real-world dialogue systems with high lexical diversity and complex candidate sets.
  • Improve response selection performance in low-resource and open-vocabulary settings where correct responses may not exist.
  • Integrate knowledge-grounded features to enhance relevance modeling in domain-specific dialogues.
  • Develop a generalizable framework effective across diverse dialogue datasets, including technical (Ubuntu IRC) and casual (course advising) dialogues.
  • Demonstrate the effectiveness of attention mechanisms and dynamic pooling in capturing context-response interactions for retrieval-based dialogue systems.

Proposed method

  • Apply a multi-cast attention network (MCAN) to extract multiple attention-based features from dialogue contexts and response candidates using intra- and inter-attention mechanisms.
  • Use a highway network to refine word representations before attention computation, enabling better feature learning.
  • Integrate domain-specific knowledge-grounded features with MCAN outputs in a feature-fusion layer to enrich semantic representation.
  • Employ a bi-directional LSTM layer to encode utterance-level representations, followed by a dynamic pooling layer that groups outputs by utterance boundaries.
  • Use the final hidden state of the second bi-LSTM as the sentence-level representation for computing response relevance scores.
  • Train the model end-to-end using a contrastive loss or cross-entropy to optimize ranking performance on candidate responses.
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

Experimental results

Research questions

  • RQ1Can a unified deep learning framework effectively handle diverse response selection scenarios, including large candidate sets and no-correct-answer settings?
  • RQ2How do different attention mechanisms (inter-, intra-, and alignment-based) contribute to modeling context-response relevance?
  • RQ3To what extent do knowledge-grounded features improve response selection in domain-specific dialogues?
  • RQ4Does dynamic pooling improve performance over fixed pooling or last hidden state aggregation in dialogue modeling?
  • RQ5Can the proposed model generalize across distinct dialogue datasets with different linguistic and structural properties?

Key findings

  • RAP-Net achieved an R@10 of 76.7% and MRR of 56.18% on the Ubuntu subtask 1, outperforming baseline models including DP-LSTM and MV-LSTM.
  • The ablation study showed that inter-attention is the most critical component, with performance dropping by nearly 10 points in average score when removed.
  • Dynamic pooling and the highway encoder each contributed modestly, improving the average score by approximately 1 point compared to the baseline.
  • Visualization of attention scores confirmed that MCAN effectively identifies word-level relevance between context and response, even for semantically related but non-overlapping terms.
  • The model demonstrated strong generalization across two distinct datasets—Ubuntu IRC (technical) and course advising (casual)—indicating robustness to domain shifts.
  • The subtraction-based attention dimension primarily activated on function words and <unk> tokens, suggesting a role in filtering out unimportant words.
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

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.