journal article·2020-08-22Open access

Memory-Based Deep Neural Attention (mDNA) for Cognitive Multi-Turn Response Retrieval in Task-Oriented Chatbots

Jenhui Chen, Obinna Agbodike, Lei Wang

Applied Sciences· Volume 10· Issue 17

Abstract

One of the important criteria used in judging the performance of a chatbot is the ability to provide meaningful and informative responses that correspond with the context of a user’s utterance. Nowadays, the number of enterprises adopting and relying on task-oriented chatbots for profit is increasing. Dialog errors and inappropriate response to user queries by chatbots can result in huge cost implications. To achieve high performance, recent AI chatbot models are increasingly adopting the Transformer positional encoding and the attention-based architecture. While the transformer performs optimally in sequential generative chatbot models, recent studies has pointed out the occurrence of logical inconsistency and fuzzy error problems when the Transformer technique is adopted in retrieval-based chatbot models. Our investigation discovers that the encountered errors are caused by information losses. Therefore, in this paper, we address this problem by augmenting the Transformer-based retrieval chatbot architecture with a memory-based deep neural attention (mDNA) model by using an approach similar to late data fusion. The mDNA is a simple encoder-decoder neural architecture that comprises of bidirectional long short-term memory (Bi-LSTM), attention mechanism, and a memory for information retention in the encoder. In our experiments, we trained the model extensively on a large Ubuntu dialog corpus, and the results from recall evaluation scores show that the mDNA augmentation approach slightly outperforms selected state-of-the-art retrieval chatbot models. The results from the mDNA augmentation approach are quite impressive.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Topic Modeling · AI in Service Interactions · Speech and dialogue systems

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

Affiliations

Department of Computer Science and Information Engineering, Chang Gung University, Kweishan, Taoyuan 33302, Taiwan

Artificial Intelligence Research Center, Chang Gung University, Kweishan, Taoyuan 33302, Taiwan

Center for Artificial Intelligence in Medicine, Chang Gung Memorial Hospital, Kweishan, Taoyuan 33375, Taiwan

Department of Electronic Engineering, Ming Chi University of Technology, Taishan District, New Taipei City 24301, Taiwan

Department of Electrical Engineering, Chang Gung University, Kweishan, Taoyuan 33302, Taiwan

School of Software, Dalian University of Technology, Dalian 116024, China

Funding

Ministry of Science and Technology, Taiwan · Chang Gung Memorial Hospital, Kweishan, Taoyuan, Taiwan

References (29)

Show source-provided references
1. Zhou, X., Li, L., Dong, D., Liu, Y., Chen, Y., Zhao, W.X., Yu, D., and Wu, H. (2018, January 15–20). Multi-Turn Response Selection for Chatbots with Deep Attention Matching Network. Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics, Melbourne, Australia.10.18653/v1/P18-1103 ↗
2. Wu, Y., Wu, W., Xing, C., Li, Z., and Zhou, M. (August, January 30). Sequential Matching Network: A New Architecture for Multi-turn Response Selection in Retrieval-based Chatbots. Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics, Vancouver, BC, Canada.
3. NPCEditor: Creating Virtual Human Dialogue Using Information Retrieval Techniques
4. Wang, H., Lu, Z., Li, H., and Chen, E. (2013, January 18–21). A Dataset for Research on Short-Text Conversation. Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing, Seattle, WA, USA.
5. Hu, B., Lu, Z., Li, H., and Chen, Q. (2014, January 8–13). Convolutional neural network architectures for matching natural language sentences. Proceedings of the 27th Conference Advances in Neural Information Processing Systems, Montreal, QC, Canada.
6. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, L., and Polosukhin, I. (2017, January 4–9). Attention Is All You Need. Proceedings of the 31st Conference Neural Information Processing Systems, Long Beach, CA, USA.
7. Medina, J.R., and Kalita, J. (2018, January 17–20). Parallel Attention Mechanisms in Neural Machine Translation. Proceedings of the 17th IEEE International Conference on Machine Learning and Applications, Orlando, FL, USA.10.1109/ICMLA.2018.00088 ↗
8. Zhang, Z., Li, J., Zhu, P., Zhao, H., and Liu, G. (2018, January 21–25). Modeling Multi-turn Conversation with Deep Utterance Aggregation. Proceedings of the 27th International Conference Computational Linguistics, Santa Fe, NM, USA.
9. Liu, K., Li, Y., Xu, N., and Natarajan, P. (2018). Learn to combine modalities in multimodal deep learning. arXiv.
10. Henderson, M., Vulic, I., Gerz, D., Casanueva, I., Budzianowski, P., Coope, S., Spithourakis, G., Wen, T., Mrkšic, N., and Su, P. (August, January 28). Training Neural Response Selection for Task-Oriented Dialogue Systems. Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, Florence, Italy.
11. Zhao, X., Tao, C., Wu, W., Xu, C., Zhao, D., and Yan, R. (2019, January 10–16). A Document-grounded Matching Network for Response Selection in Retrieval-based Chatbots. Proceedings of the 28th IJCAI Conference on AI, Macao, China.10.24963/ijcai.2019/756 ↗
12. Yang, L., Ai, Q., Guo, J., and Croft, W.B. (2016, January 24–28). aNMM: Ranking Short Answer Texts with Attention-Based Neural Matching Model. Proceedings of the 25th ACM International Conference Information and Knowledge, Indianapolis, IN, USA.10.1145/2983323.2983818 ↗
13. Lakew, S.M., Cettolo, M., and Federico, M. (2018, January 20–25). A Comparison of Transformer and Recurrent Neural Networks on Multilingual Neural Machine Translation. Proceedings of the of 27th International Conference Computational Linguistics, Santa Fe, NM, USA.10.4000/ijcol.531 ↗
14. Wang, Z., Ma, Y., Liu, Z., and Tang, J. (2019). R-transformer: Recurrent Neural Network Enhanced Transformer. arXiv.
15. Sukhbaatar, S., Szlam, A., Weston, J., and Fergus, R. (2015, January 7–12). End-to-end Memory Networks. Proceedings of the Conference on Advances in Neural Information Processing Systems, Montreal, QC, Canada.
16. Kaiser, Ł., and Bengio, S. (2016, January 5–10). Can Active Memory Replace Attention?. Proceedings of the 30th Conference Neural Information Processing Systems (NIPS 2016), Barcelona, Spain.
17. An Improved End-to-End Memory Network for QA Tasks
18. Domhan, T. (2018, January 15–20). How Much Attention Do You Need? A Granular Analysis of Neural Machine Translation Architectures. Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics, Melbourne, Australia.10.18653/v1/P18-1167 ↗
19. Zhou, Q., and Wu, H. (2018, January 31). NLP at IEST 2018: BiLSTM-Attention and LSTM-Attention via Soft Voting in Emotion Classification. Proceedings of the 9th ACM Workshop on Computational Approaches to Subjectivity, Sentiment and Social Media Analysis, Brussels, Belgium.10.18653/v1/W18-6226 ↗
20. Vakili, A., and Shakery, A. (2019). Enriching Conversation Context in Retrieval-based Chatbots. arXiv.
21. A Session-based Customer Preference Learning Method by Using the Gated Recurrent Units with Attention Function10.1109/ACCESS.2019.2895647 ↗
22. Are GRU Cells More Specific and LSTM Cells More Sensitive in Motive Classification of Text?
23. Lowe, R., Pow, N., Serban, I., and Pineau, J. (2015, January 2–4). The ubuntu dialogue corpus: A large dataset for research in unstructured multi-turn dialogue systems. Proceedings of the of 16th Annual Meeting of the Special Interest Group on Discourse and Dialogue, Prague, Czech Republic.10.18653/v1/W15-4640 ↗
24. Mikolov, T., Sutskever, I., Chen, K., Corrado, G., and Dean, J. (2013, January 5–10). Distributed representations of words and phrases and their compositionality. Proceedings of the 27th Annual Conference Neural Information Processing Systems 2013, Lake Tahoe, NV, USA.
25. Kingma, D.P., and Ba, J. (2015, January 7–9). Adam: A method for stochastic optimization. Proceedings of the 3rd International Conference Learning Representations, San Diego, CA, USA.
26. Pang, L., Lan, Y., Guo, J., Xu, J., Wan, S., and Cheng, X. (2016, January 12–17). Text matching as image recognition. Proceedings of the 30th AAAI Conference Artificial Intelligence, Phoenix, AZ, USA.10.1609/aaai.v30i1.10341 ↗
27. Wang, S., and Jiang, J. (2017, January 24–26). Machine Comprehension using Match-LSTM and Answer Pointer. Proceedings of the International Conference Learning Representations, Palais des Congrès Neptune, Toulon, France.
28. Zhou, X., Dong, D., Wu, H., Zhao, S., Yu, D., Tian, H., Liu, X., and Yan, R. (2016, January 1–5). Multi-view response selection for human-computer conversation. Proceedings of the EMNLP 2016, Austin, TX, USA.10.18653/v1/D16-1036 ↗
29. Yan, R., Song, Y., and Wu, H. (2016, January 17–21). Learning to respond with deep neural networks for retrievalbased human-computer conversation system. Proceedings of the SIGIR 2016, Pisa, Italy.10.1145/2911451.2911542 ↗