journal article·2020-05-11Open access

Knowledge-Grounded Chatbot Based on Dual Wasserstein Generative Adversarial Networks with Effective Attention Mechanisms

Sihyung Kim, Oh-Woog Kwon, Harksoo Kim

Applied Sciences· Volume 10· Issue 9

Abstract

A conversation is based on internal knowledge that the participants already know or external knowledge that they have gained during the conversation. A chatbot that communicates with humans by using its internal and external knowledge is called a knowledge-grounded chatbot. Although previous studies on knowledge-grounded chatbots have achieved reasonable performance, they may still generate unsuitable responses that are not associated with the given knowledge. To address this problem, we propose a knowledge-grounded chatbot model that effectively reflects the dialogue context and given knowledge by using well-designed attention mechanisms. The proposed model uses three kinds of attention: Query-context attention, query-knowledge attention, and context-knowledge attention. In our experiments with the Wizard-of-Wikipedia dataset, the proposed model showed better performances than the state-of-the-art model in a variety of measures.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Topic Modeling · Multimodal Machine Learning Applications · Natural Language Processing Techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Computer and Communications Engineering, Kangwon National University, Chuncheon 24341, Korea

Language Intelligence Research Lab., Electronics and Telecommunications Research Institute, Daejeon 34129, Korea

Computer Science and Engineering, Konkuk University, Seoul 05029, Korea

Funding

Ministry of Science and ICT, South Korea

References (35)

Show source-provided references
1. Dinan, E., Roller, S., Shuster, K., Fan, A., Auli, M., and Weston, J. (May, January 30). Wizard of Wikipedia: Knowledge-Powered Conversational Agents. Proceedings of the International Conference on Learning Representations, Vancouver, BC, Canada.
2. Qiu, M., Li, F.-L., Wang, S., Gao, X., Chen, Y., Zhao, W., Chen, H., Huang, J., and Chu, W. (August, January 30). Alime chat: A sequence to sequence and rerank based chatbot engine. Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), Vancouver, BC, Canada.
3. Yan, Z., Duan, N., Bao, J., Chen, P., Zhou, M., Li, Z., and Zhou, J. (2016, January 7–12). Docchat: An information retrieval approach for chatbot engines using unstructured documents. Proceedings of the Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), Berlin, Germany.10.18653/v1/P16-1049 ↗
4. Kim, J., Oh, S., Kwon, O.-W., and Kim, H. (2019). Multi-Turn Chatbot Based on Query-Context Attentions and Dual Wasserstein Generative Adversarial Networks. Appl. Sci., 9.10.3390/app9183908 ↗
5. Vinyals, O., and Le, Q.V. (2015, January 10–11). A Neural Conversational Model. Proceedings of the ICML Deep Learning Workshop, Lille, France.
6. Li, J., Galley, M., Brockett, C., Gao, J., and Dolan, B. (2016, January 12–17). A Diversity-Promoting Objective Function for Neural Conversation Models. Proceedings of the Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, San Diego, CA, USA.10.18653/v1/N16-1014 ↗
7. Sato, S., Yoshinaga, N., Toyoda, M., and Kitsuregawa, M. (August, January 30). Modeling Situations in Neural Chat Bots. Proceedings of the Proceedings of ACL 2017, Student Research Workshop, Vancouver, BC, Canada.10.18653/v1/P17-3020 ↗
8. Zhao, T., Zhao, R., and Eskenazi, M. (August, January 30). Learning Discourse-level Diversity for Neural Dialog Models using Conditional Variational Autoencoders. Proceedings of the Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), Vancouver, BC, Canada.
9. Shen, X., Su, H., Niu, S., and Demberg, V. (2018, January 2–7). Improving variational encoder-decoders in dialogue generation. Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, New Orleans, LA, USA.10.1609/aaai.v32i1.11960 ↗
10. Goyal, P., Hu, Z., Liang, X., Wang, C., Xing, E.P., and Mellon, C. (2017, January 22–29). Nonparametric Variational Auto-Encoders for Hierarchical Representation Learning. Proceedings of the 2017 IEEE International Conference on Computer Vision (ICCV), Venice, Italy.10.1109/ICCV.2017.545 ↗
11. Gu, X., Cho, K., Ha, J.W., and Kim, S. (2019, January 6–9). Dialogwae: Multimodal response generation with conditional Wasserstein auto-encoder. Proceedings of the 7th International Conference on Learning Representations, ICLR 2019, New Orleans, LA, USA.
12. Li, J., Monroe, W., Shi, T., Jean, S., Ritter, A., and Jurafsky, D. (2017, January 9–11). Adversarial Learning for Neural Dialogue Generation. Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, Copenhagen, Denmark.10.18653/v1/D17-1230 ↗
13. Yu, L., Zhang, W., Wang, J., and Yu, Y. (2017, January 4–9). Seqgan: Sequence generative adversarial nets with policy gradient. Proceedings of the Thirty-First AAAI Conference on Artificial Intelligence, San Francisco, CA, USA.10.1609/aaai.v31i1.10804 ↗
14. Madotto, A., Wu, C.-S., and Fung, P. (2018, January 15–20). Mem2Seq: Effectively Incorporating Knowledge Bases into End-to-End Task-Oriented Dialog Systems. Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), Melbourne, Australia.10.18653/v1/P18-1136 ↗
15. Liu, S., Chen, H., Ren, Z., Feng, Y., Liu, Q., and Yin, D. (2018, January 15–20). Knowledge Diffusion for Neural Dialogue Generation. Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), Melbourne, Australia.10.18653/v1/P18-1138 ↗
16. Kim, S., Kim, H., Kwon, O.-W., and Kim, Y.-G. (March, January 27). Improving Response Quality in a Knowledge-Grounded Chat System Based on a Sequence-to-Sequence Neural Network. Proceedings of the 2019 IEEE International Conference on Big Data and Smart Computing (BigComp), Kyoto, Japan.10.1109/BIGCOMP.2019.8679339 ↗
17. He, S., Liu, C., Liu, K., and Zhao, J. (August, January 30). Generating Natural Answers by Incorporating Copying and Retrieving Mechanisms in Sequence-to-Sequence Learning. Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), Vancouver, BC, Canada.
18. Parthasarathi, P., and Pineau, J. (November, January 31). Extending Neural Generative Conversational Model using External Knowledge Sources. Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, Brussels, Belgium.10.18653/v1/D18-1073 ↗
19. Yavuz, S., Rastogi, A., Chao, G.-L., and Hakkani-Tur, D. (2019, January 11–13). DeepCopy: Grounded Response Generation with Hierarchical Pointer Networks. Proceedings of the 20th Annual SIGdial Meeting on Discourse and Dialogue, Stockholm, Sweden.10.18653/v1/W19-5917 ↗
20. Ghazvininejad, M., Brockett, C., Chang, M.-W., Dolan, B., Gao, J., Yih, W., and Galley, M. (2018, January 2–7). A Knowledge-Grounded Neural Conversation Model. Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, New Orleans, LA, USA.10.1609/aaai.v32i1.11977 ↗
21. Knowledge-grounded response generation with deep attentional latent-variable model10.1016/j.csl.2020.101069 ↗
22. Guyon, I., Luxburg, U.V., Bengio, S., Wallach, H., Fergus, R., Vishwanathan, S., and Garnett, R. (2017). Attention is All You Need. Advances in Neural Information Processing Systems 30, Curran Associates, Inc.
23. Arjovsky, M., Chintala, S., and Bottou, L. (2017, January 6–11). Wasserstein generative adversarial networks. Proceedings of the 34th International Conference on Machine Learning-Volume 70, Sydney, Australia.
24. Bidirectional recurrent neural networks10.1109/78.650093 ↗
25. Cho, K., van Merriënboer, B., Gulcehre, C., Bahdanau, D., Bougares, F., Schwenk, H., and Bengio, Y. (2014, January 25–29). Learning Phrase Representations using RNN Encoder–Decoder for Statistical Machine Translation. Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), Doha, Qatar.10.3115/v1/D14-1179 ↗
26. Gulrajani, I., Ahmed, F., Arjovsky, M., Dumoulin, V., and Courville, A.C. (2017, January 4–9). Improved training of wasserstein gans. Proceedings of the Advances in Neural Information Processing Systems, Long Beach, CA, USA.
27. Abadi, M., Barham, P., Chen, J., Chen, Z., Davis, A., Dean, J., Devin, M., Ghemawat, S., Irving, G., and Isard, M. (2016, January 2–4). TensorFlow: A system for large-scale machine learning. Proceedings of the 12th USENIX Conference on Operating Systems Design and Implementation, Savannah, GA, USA.
28. Nair, V., and Hinton, G.E. (2010, January 21–24). Rectified linear units improve restricted boltzmann machines. Proceedings of the 27th International Conference on Machine Learning (ICML-10), Haifa, Israel.
29. Papineni, K., Roukos, S., Ward, T., and Zhu, W.-J. (2002, January 7–12). BLEU: A Method for Automatic Evaluation of Machine Translation. Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics, Philadelphia, PA, USA.10.3115/1073083.1073135 ↗
30. Chen, B., and Cherry, C. (2014, January 26–27). A Systematic Comparison of Smoothing Techniques for Sentence-Level BLEU. Proceedings of the Ninth Workshop on Statistical Machine Translation, Baltimore, MD, USA.10.3115/v1/W14-3346 ↗
31. Li, Z., Niu, C., Meng, F., Feng, Y., Li, Q., and Zhou, J. (August, January 28). Incremental Transformer with Deliberation Decoder for Document Grounded Conversations. Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, Florence, Italy.
32. Liu, C.W., Lowe, R., Serban, I.V., Noseworthy, M., Charlin, L., and Pineau, J. (2016, January 1–5). How NOT To Evaluate Your Dialogue System: An Empirical Study of Unsupervised Evaluation Metrics for Dialogue Response Generation. Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, Austin, TX, USA.10.18653/v1/D16-1230 ↗
33. Rus, V., and Lintean, M. (2012, January 7). A Comparison of Greedy and Optimal Assessment of Natural Language Student Input Using Word-to-Word Similarity Metrics. Proceedings of the Seventh Workshop on Building Educational Applications Using NLP, Montréal, QC, Canada.10.1007/978-3-642-30950-2_116 ↗
34. Mitchell, J., and Lapata, M. (2008, January 15–20). Vector-based Models of Semantic Composition. Proceedings of the ACL-08: HLT, Columbus, OH, USA.
35. Forgues, G., Pineau, J., Larchevêque, J.-M., and Tremblay, R. (2014, January 12). Bootstrapping dialog systems with word embeddings. Proceedings of the Nips, Modern Machine Learning and Natural Language ProcessingWorkshop, Geneva, Switzerland.