Vol.128, No.1, 2021, pp.403-426, doi:10.32604/cmes.2021.016729
A Knowledge-Enhanced Dialogue Model Based on Multi-Hop Information with Graph Attention
  • Zhongqin Bi1, Shiyang Wang1, Yan Chen2,*, Yongbin Li1, Jung Yoon Kim3,*
1 College of Computer Science and Technology, Shanghai University of Electric Power, Shanghai, 201306, China
2 Department of Computer Science and Engineering, Guilin University of Aerospace Technology, Guilin, 541004, China
3 Department of Game Media, College of Future Industry, Gachon University, Seongnam-si, Gyeonggi-do, 13120, Korea
* Corresponding Author: Yan Chen. Email: ; Jung Yoon Kim. Email:
Received 30 March 2021; Accepted 19 April 2021; Issue published 13 August 2021
With the continuous improvement of the e-commerce ecosystem and the rapid growth of e-commerce data, in the context of the e-commerce ecosystem, consumers ask hundreds of millions of questions every day. In order to improve the timeliness of customer service responses, many systems have begun to use customer service robots to respond to consumer questions, but the current customer service robots tend to respond to specific questions. For many questions that lack background knowledge, they can generate only responses that are biased towards generality and repetitiveness. To better promote the understanding of dialogue and generate more meaningful responses, this paper introduces knowledge information into the research of question answering system by using a knowledge graph. The unique structured knowledge base of the knowledge graph is convenient for knowledge query, can acquire knowledge faster, and improves the background information needed for answering questions. To avoid the lack of information in the dialogue process, this paper proposes the Multi-hop Knowledge Information Enhanced Dialogue-Graph Attention (MKIED-GA) model. The model first retrieves the problem subgraph directly related to the input information from the entire knowledge base and then uses the graph neural network as the knowledge inference module on the subgraph to encode the subgraph. The graph attention mechanism is used to determine the one-hop and two-hop entities that are more relevant to the problem to achieve the aggregation of highly relevant neighbor information. This further enriches the semantic information to provide a better understanding of the meaning of the input question and generate appropriate response information. In the process of generating a response, a multi-attention flow mechanism is used to focus on different information to promote the generation of better responses. Experiments have proved that the model presented in this article can generate more meaningful responses than other models.
E-commerce ecosystem; conversation generation; knowledge graph; graph neural network; graph attention
Cite This Article
Bi, Z., Wang, S., Chen, Y., Li, Y., Kim, J. Y. (2021). A Knowledge-Enhanced Dialogue Model Based on Multi-Hop Information with Graph Attention. CMES-Computer Modeling in Engineering & Sciences, 128(1), 403–426.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.