HHH: An Online Medical Chatbot System based on Knowledge Graph and Hierarchical Bi-Directional Attention

Qiming Bao,Lin Ni,Jiamou Liu
DOI: https://doi.org/10.1145/3373017.3373049
2020-02-08
Abstract:This paper proposes a chatbot framework that adopts a hybrid model which consists of a knowledge graph and a text similarity model. Based on this chatbot framework, we build HHH, an online question-and-answer (QA) Healthcare Helper system for answering complex medical questions. HHH maintains a knowledge graph constructed from medical data collected from the Internet. HHH also implements a novel text representation and similarity deep learning model, Hierarchical BiLSTM Attention Model (HBAM), to find the most similar question from a large QA dataset. We compare HBAM with other state-of-the-art language models such as bidirectional encoder representation from transformers (BERT) and Manhattan LSTM Model (MaLSTM). We train and test the models with a subset of the Quora duplicate questions dataset in the medical area. The experimental results show that our model is able to achieve a superior performance than these existing methods.
Computation and Language
What problem does this paper attempt to address?
The problems that this paper attempts to solve mainly focus on two aspects: 1. **Natural Language Understanding (NLU)**: - The paper aims to develop a mechanism that enables software systems to understand and process natural language questions like humans. This involves performing intent detection on user input, that is, identifying the specific intent or purpose of the user's question. For example, a user may inquire about the symptoms, treatment methods, or other relevant information of a certain disease. 2. **Knowledge Base Storage and Retrieval**: - Another core problem is to construct a domain - specific knowledge database that can store and query medical - related questions and answers. This knowledge base needs to be able to store a large amount of medical data efficiently and provide relevant information quickly and accurately when the user asks a question. To achieve the above goals, the paper proposes an online medical chatbot system (HHH) based on the knowledge graph and the Hierarchical Bi - directional Long Short - Term Memory (BiLSTM) Attention Model (HBAM). Specifically, the HHH system solves the problems in the following ways: - **Knowledge Graph**: It is used to store and manage medical data, including information related to diseases, symptoms, etc. When the user asks a question, the system first tries to directly retrieve the answer from the knowledge graph. - **HBAM Model**: If the knowledge graph cannot provide an answer, the system will use the HBAM model to find the question most similar to the user's question and return the corresponding answer from the large - scale medical question - and - answer dataset. By combining BiLSTM and the attention mechanism, the HBAM model can capture the semantic information of sentences more accurately, thereby improving the accuracy of question matching. In this way, the HHH system can provide high - quality natural language understanding and knowledge retrieval services in the medical field, helping users quickly obtain the required medical information.