[1]王迪,李海生*,李勇,等.基于知识图谱的食品安全问答方法[J].计算机技术与发展,2024,34(06):118-124.[doi:10.20165/j.cnki.ISSN1673-629X.2024.0092]
 WANG Di,LI Hai-sheng*,LI Yong,et al.A Question Answering Method for Food Safety Based on Knowledge Graph[J].,2024,34(06):118-124.[doi:10.20165/j.cnki.ISSN1673-629X.2024.0092]
点击复制

基于知识图谱的食品安全问答方法()

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
34
期数:
2024年06期
页码:
118-124
栏目:
人工智能
出版日期:
2024-06-10

文章信息/Info

Title:
A Question Answering Method for Food Safety Based on Knowledge Graph
文章编号:
1673-629X(2024)06-0118-07
作者:
王迪123李海生123*李勇123李萌战4
1. 北京工商大学 计算机学院,北京 100048;2. 食品安全大数据技术北京市重点实验室,北京 100048;3. 农产品质量安全追溯技术及应用国家工程实验室,北京 100048;4. 北京理工大学 集成电路与电子学院,北京 100081
Author(s):
WANG Di123LI Hai-sheng123*LI Yong123LI Meng-zhan4
1. School of Computer Science and Engineering,Beijing Technology and Business University,Beijing 100048,China;2. Beijing Key Laboratory of Big Data Technology for Food Safety,Beijing 100048,China;3. National Engineering Laboratory for Agri-product Quality Traceability,Beijing 100048,China;4. School of Integrated Circuits and Electronics,Beijing Institute of Technology,Beijing 100081,China
关键词:
问答知识图谱食品安全语义相似度食品添加剂
Keywords:
question answeringknowledge graphfood safetysemantic similarityfood additives
分类号:
TP391
DOI:
10.20165/j.cnki.ISSN1673-629X.2024.0092
摘要:
食品安全与人民的生活息息相关,随着生活水平的提高,人们的食品安全意识也逐渐提升,提供可靠且有效的信息问答成为了社会的迫切需求。 该文针对由食品添加剂使用不当引起的食品安全问题,提出一种基于知识图谱的食品安全知识问答方法,并构建了一个食品安全知识问答系统。 首先,利用互联网中的开源数据构造了一个面向食品安全的知识图谱;然后,为了更好地对食品安全文本表征,该文通过收集食品安全语料库对词向量模型进行预训练;随后,设计了一种语义相似度匹配算法,通过计算问题文本的关键词向量与实体向量之间的重叠字得分和相似度得分,提取食品安全实体,实现对模糊问题语义的理解;最后,通过随机构建的食品安全知识问答库进行实验,以准确率、Hits@ 3 和 Hits@ 5 为评价指标进行消融实验,证明了所提方法的有效性。 基于知识图谱的食品安全问答方法可以有效地回答人们在食品安全和食品添加剂上的问题,在提高时间效率的同时节约了人力资源。
Abstract:
Food safety is closely bound up with people’s lives. With the improvement of living standards,people’s awareness of food safety has been gradually improved. It is an urgent need in society to provide trustworthy and effective question answering for information. To solve food safety problems caused by the improper use of food additives,we propose a method for food safety question answering based on knowledge graph and construct a question answering system for food safety knowledge. First of all,the open source data provided by the Internet is gained to construct the knowledge graph for food safety. Secondly,a food safety corpus is collected to pre-train the word vector model so that food safety text can be characterized preferably. Subsequently,in order to extract the food safety entities from the question texts,we design a semantic similarity matching algorithm by calculating the overlapping scores and similarity scores between the key word vectors of question and the entity vectors. Finally,the experiments are carried out by constructing the food safety knowledge question-and-answer database randomly. Accuracy,Hits@ 3 and Hits@ 5 are used as evaluation indicators to carry out ablation experiments,and the results of ablation experiments prove the effectiveness of the proposed method. The knowledge graph-based food safety question and answer method effectively addresses inquiries regarding food safety and additives,enhancing time efficiency and optimizing human resources utilization.

相似文献/References:

[1]孙艳,田丽梅. 基于多维尺度分析的舆情研究主题词知识图谱[J].计算机技术与发展,2016,26(04):187.
 SUN Yan,TIAN Li-mei. Mapping Knowledge Domain on Subject Headings of Public Sentiment Research Based on Multi-dimensional Scaling[J].,2016,26(06):187.
[2]刘申凯,周霁婷,朱永华,等.融合知识图谱和 ESA 方法的网络新词识别[J].计算机技术与发展,2019,29(03):12.[doi:10.3969/ j. issn.1673-629X.2019.03.003]
 LIU Shen-kai,ZHOU Ji-ting,ZHU Yong-hua,et al.Network New Word Recognition Based on Fusion of Knowledge Graph and ESA[J].,2019,29(06):12.[doi:10.3969/ j. issn.1673-629X.2019.03.003]
[3]戈其平,钟艳如.基于数学教学的知识图谱构建[J].计算机技术与发展,2019,29(03):187.[doi:10.3969/ j. issn.1673-629X.2019.03.039]
 GE Qi-ping,ZHONG Yan-ru.Construction of Knowledge Atlas Based on Mathematics Teaching[J].,2019,29(06):187.[doi:10.3969/ j. issn.1673-629X.2019.03.039]
[4]魏 瑾,李伟华,潘 炜.基于知识图谱的智能决策支持技术及应用研究[J].计算机技术与发展,2020,30(01):1.[doi:10. 3969 / j. issn. 1673-629X. 2020. 01. 001]
 WEI Jin,LI Wei-hua,PAN Wei.Research on Intelligent Decision Support Technology and Application Based on Knowledge Graph[J].,2020,30(06):1.[doi:10. 3969 / j. issn. 1673-629X. 2020. 01. 001]
[5]项 威,王 邦.中文事件抽取研究综述[J].计算机技术与发展,2020,30(02):1.[doi:10. 3969 / j. issn. 1673-629X. 2020. 02. 001]
 XIANG Wei,WANG Bang.Survey of Chinese Event Extraction Research[J].,2020,30(06):1.[doi:10. 3969 / j. issn. 1673-629X. 2020. 02. 001]
[6]刘家祝,郭 强,吴碧伟,等.基于子图相交的社交账号与知识图谱实体对齐[J].计算机技术与发展,2020,30(05):10.[doi:10. 3969 / j. issn. 1673-629X. 2020. 05. 003]
 LIU Jia-zhu,GUO Qiang,WU Bi-wei,et al.Subgraph Intersection Based Alignment between Social Media Account and Knowledge Graph Entity[J].,2020,30(06):10.[doi:10. 3969 / j. issn. 1673-629X. 2020. 05. 003]
[7]陆菁宇,张绍阳,黄文旎.学科发展状态的知识图谱构建[J].计算机技术与发展,2020,30(06):145.[doi:10. 3969 / j. issn. 1673-629X. 2020. 06. 028]
 LU Jing-yu,ZHANG Shao-yang,HUANG Wen-ni.Analysis of Development Status of Discipline Based on Knowledge Graph[J].,2020,30(06):145.[doi:10. 3969 / j. issn. 1673-629X. 2020. 06. 028]
[8]黄东晋,秦 汉,郭 昊.基于 BERT-CNN 的电影原声智能问答系统[J].计算机技术与发展,2020,30(11):158.[doi:10. 3969 / j. issn. 1673-629X. 2020. 11. 029]
 HUANG Dong-jin,QIN Han,GUO Hao.Movie Soundtrack Intelligent Question and Answer System Based on BERT-CNN[J].,2020,30(06):158.[doi:10. 3969 / j. issn. 1673-629X. 2020. 11. 029]
[9]任佳妮,杨 阳.全球医疗机器人技术领域创新态势分析[J].计算机技术与发展,2021,31(04):158.[doi:10. 3969 / j. issn. 1673-629X. 2021. 04. 027]
 REN Jia-ni,YANG Yang.Analysis of Innovation Situation in Field of Global MedicalRobot Technology[J].,2021,31(06):158.[doi:10. 3969 / j. issn. 1673-629X. 2021. 04. 027]
[10]卢 琪,谢艺菲,谢 钧,等.知识图谱在智能问答中的应用研究[J].计算机技术与发展,2021,31(07):13.[doi:10. 3969 / j. issn. 1673-629X. 2021. 07. 003]
 LU Qi,XIE Yi-fei,XIE Jun,et al.Research on Application of Knowledge Graphs in Intelligent Question Answering[J].,2021,31(06):13.[doi:10. 3969 / j. issn. 1673-629X. 2021. 07. 003]

更新日期/Last Update: 2024-06-10