Utterance-to-Utterance Interactive Matching Network for Multi-Turn Response Selection in Retrieval-Based Chatbots

Jia-Chen Gu, Zhen-Hua Ling, Quan Liu
11/16/2019
cs.CL
transformer-attention

Official code: JasonForJoy/U2U-IMN (7 stars, Python, last commit 2019-12-22).

Abstract

This paper proposes an utterance-to-utterance interactive matching network (U2U-IMN) for multi-turn response selection in retrieval-based chatbots. Different from previous methods following context-to-response matching or utterance-to-response matching frameworks, this model treats both contexts and responses as sequences of utterances when calculating the matching degrees between them.

Show full abstract

For a context-response pair, the U2U-IMN model first encodes each utterance separately using recurrent and self-attention layers. Then, a global and bidirectional interaction between the context and the response is conducted using the attention mechanism to collect the matching information between them. The distances between context and response utterances are employed as a prior component when calculating the attention weights. Finally, sentence-level aggregation and context-response-level aggregation are executed in turn to obtain the feature vector for matching degree prediction. Experiments on four public datasets showed that our proposed method outperformed baseline methods on all metrics, achieving a new state-of-the-art performance and demonstrating compatibility across domains for multi-turn response selection.

View on arXivView PDF

Code Implementations(1)

TASLP: Utterance-to-Utterance Interactive Matching Network for Multi-Turn Response Selection in Retrieval-Based Chatbots

71Python, ShellNov 19, 20196 years ago
chatbotmulti-turn-dialogueresponse-selection

Similar Papers

Cite this paper

@article{gu2019utterancetoutterance,
  title  = {Utterance-to-Utterance Interactive Matching Network for Multi-Turn Response Selection in Retrieval-Based Chatbots},
  author = {Jia-Chen Gu and Zhen-Hua Ling and Quan Liu},
  year   = {2019},
  eprint = {1911.06940},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1911.06940}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1911.06940.svg)](https://codeofpaper.com/paper/1911.06940)

Discussion