Applied Sciences (Sep 2019)

Multi-Turn Chatbot Based on Query-Context Attentions and Dual Wasserstein Generative Adversarial Networks

  • Jintae Kim,
  • Shinhyeok Oh,
  • Oh-Woog Kwon,
  • Harksoo Kim

DOI
https://doi.org/10.3390/app9183908
Journal volume & issue
Vol. 9, no. 18
p. 3908

Abstract

Read online

To generate proper responses to user queries, multi-turn chatbot models should selectively consider dialogue histories. However, previous chatbot models have simply concatenated or averaged vector representations of all previous utterances without considering contextual importance. To mitigate this problem, we propose a multi-turn chatbot model in which previous utterances participate in response generation using different weights. The proposed model calculates the contextual importance of previous utterances by using an attention mechanism. In addition, we propose a training method that uses two types of Wasserstein generative adversarial networks to improve the quality of responses. In experiments with the DailyDialog dataset, the proposed model outperformed the previous state-of-the-art models based on various performance measures.

Keywords