Mental Health Question and Answering System Based on Bert Model and Knowledge Graph Technology

Chaohui Guo, Shaofu Lin, Zhisheng Huang, Yahong Yao
{"title":"Mental Health Question and Answering System Based on Bert Model and Knowledge Graph Technology","authors":"Chaohui Guo, Shaofu Lin, Zhisheng Huang, Yahong Yao","doi":"10.1145/3500931.3501011","DOIUrl":null,"url":null,"abstract":"With the development and progress of society, people are facing increasing pressure. The emergence of this phenomenon has led to a rapid increase in the incidence of mental illness. In order to deal with this phenomenon, this paper proposes a system of question and answering on the basic knowledge of mental health (MHQ&A) by using deep learning retrieval technology and knowledge graph technology. The system MHQ&A is designed mainly for the general public, to answer the basic knowledge of mental health, especially the field of depression. First of all, the basic and the professional question and answer data about mental health were respectively obtained by the reptilian bot from the \"IASK\" website knowledge and the \"Dr. Dingxiang\" website. Then, the questions and answers obtained through the crawler are made into a Question and Answering Knowledge Graph of Basic Health Knowledge in the mental health field, which is combined with semantic data of antidepressants and the semantic data of depression papers. Finally, a set of template matching rules is designed to determine the type of problem of users. If the questions are about the professional knowledge of medicine or thesis, the reasoning template will be used to reason and search the answer in the \"Question and Answering Knowledge Graph of Basic Health Knowledge in the Mental Health Field\". If the questions are about other basic knowledge in the field of mental health, the BERT model is used to vectorize the questions of users, and the matching questions and corresponding answers in the MHQ&A are found through cosine similarity calculation. Through the test of system accuracy, it is proved that the system can effectively combine deep learning technology and knowledge.","PeriodicalId":364880,"journal":{"name":"Proceedings of the 2nd International Symposium on Artificial Intelligence for Medicine Sciences","volume":"40 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-10-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 2nd International Symposium on Artificial Intelligence for Medicine Sciences","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3500931.3501011","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

With the development and progress of society, people are facing increasing pressure. The emergence of this phenomenon has led to a rapid increase in the incidence of mental illness. In order to deal with this phenomenon, this paper proposes a system of question and answering on the basic knowledge of mental health (MHQ&A) by using deep learning retrieval technology and knowledge graph technology. The system MHQ&A is designed mainly for the general public, to answer the basic knowledge of mental health, especially the field of depression. First of all, the basic and the professional question and answer data about mental health were respectively obtained by the reptilian bot from the "IASK" website knowledge and the "Dr. Dingxiang" website. Then, the questions and answers obtained through the crawler are made into a Question and Answering Knowledge Graph of Basic Health Knowledge in the mental health field, which is combined with semantic data of antidepressants and the semantic data of depression papers. Finally, a set of template matching rules is designed to determine the type of problem of users. If the questions are about the professional knowledge of medicine or thesis, the reasoning template will be used to reason and search the answer in the "Question and Answering Knowledge Graph of Basic Health Knowledge in the Mental Health Field". If the questions are about other basic knowledge in the field of mental health, the BERT model is used to vectorize the questions of users, and the matching questions and corresponding answers in the MHQ&A are found through cosine similarity calculation. Through the test of system accuracy, it is proved that the system can effectively combine deep learning technology and knowledge.
基于Bert模型和知识图技术的心理健康问答系统
随着社会的发展和进步,人们面临着越来越大的压力。这一现象的出现导致了精神疾病发病率的迅速增加。针对这一现象,本文采用深度学习检索技术和知识图谱技术,提出了一种心理健康基础知识问答系统(MHQ&A)。该系统MHQ&A主要是针对普通大众设计的,回答心理健康,特别是抑郁症领域的基本知识。首先,爬虫机器人分别从“艾问”网站知识和“丁祥博士”网站获取心理健康的基础和专业问答数据。然后,将爬虫获取的问答信息与抗抑郁药物的语义数据和抑郁症论文的语义数据相结合,形成心理健康领域基础健康知识问答知识图谱。最后,设计了一套模板匹配规则来确定用户的问题类型。如果问题涉及医学专业知识或论文,则使用推理模板在“心理健康领域基础健康知识问答知识图谱”中进行推理和搜索。如果问题涉及心理健康领域的其他基础知识,则使用BERT模型对用户的问题进行矢量化,并通过余弦相似度计算找到MHQ&A中的匹配问题和对应答案。通过对系统精度的测试,证明该系统能够有效地将深度学习技术与知识相结合。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信