摘要
针对心理医学领域文本段落冗长、数据稀疏、知识散乱且规范性差的问题,提出一种基于多层级特征抽取能力预训练模型(MFE-BERT)与前向神经网络注意力机制(FNNAttention)的心理医学知识图谱构建方法.MFE-BERT在BERT模型基础上将其内部所有Encoder层特征进行合并输出,以获取包含更多语义的特征向量,同时对两复合模型采用FNNAttention机制强化词级关系,解决长文本段落语义稀释问题.在自建的心理医学数据集中,设计MFE-BERT-BiLSTM-FNNAttention-CRF和MFE-BERT-CNN-FNNAttention复合神经网络模型分别进行心理医学实体识别和实体关系抽取,实体识别F1值达到93.91%,实体关系抽精确率达到了89.29%,通过融合文本相似度与语义相似度方法进行实体对齐,将所整理的数据存储在Neo4j图数据库中,构建出一个含有3652个实体,2396条关系的心理医学知识图谱.实验结果表明,在MFE-BERT模型与FNNAttention机制的基础上构建心理医学知识图谱切实可行,提出的改进模型所搭建的心理医学知识图谱可以更好地应用于心理医学信息管理中,为心理医学数据分析提供参考.
To solve the problems of lengthy paragraphs,sparse data,scattered knowledge,and poor specification of text data in psychological medicine,a method based on the pre-trained model of multi-level feature extraction capability(MFE-BERT)and forward neural network attention(FNNAttention)mechanism is proposed for the construction of psychomedical knowledge graphs.Based on the BERT model,MFE-BERT merges and outputs all the internal encoder layer features to obtain feature vectors with more semantics.At the same time,the FNNAttention mechanism is applied to the two composite models to strengthen the word-level relationship and solve the semantic dilution of long text paragraphs.In the self-created psychomedical datasets,the compound neural network models of MFE-BERT-BiLSTM-FNNAttention-CRF and MFE-BERT-CNN-FNNAttention are designed for psychomedical entity recognition and entity relationship extraction respectively.The entity recognition F1 value reaches 93.91%and the entity relation extraction precision rate reaches 89.29%.The entity alignment is carried out by merging text similarity and semantic similarity.The collated data are stored in a Neo4j graph database,and a psychomedical knowledge graph containing 3652 entities and 2396 relationships is constructed.The experimental results show that it is practical and feasible to construct a psychomedical knowledge graph based on the MFE-BERT model and the FNNAttention mechanism,and the psychomedical knowledge graph built by the proposed improved models can be better applied in psychomedical information management,providing a reference for psychomedical data analysis.
作者
刘子轩
申艳光
李焰
苏文婷
LIU Zi-Xuan;SHEN Yan-Guang;LI Yan;SU Wen-Ting(School of Information and Electrical Engineering,Hebei University of Engineering,Handan 056038,China;Department of Emergency,Affiliated Hospital of Hebei Engineering University,Handan 056038,China;Hebei Key Laboratory of Security and Protection Information Sensing and Processing,Hebei University of Engineering,Handan 056038,China)
出处
《计算机系统应用》
2023年第11期108-119,共12页
Computer Systems & Applications
基金
国家自然科学基金(61802107)
河北省医学科学研究课题(20220037)
国家重点研发计划(2018YFF0301004)。