| 注册
首页|期刊导航|农业工程学报|基于CNN-Transformer的农作物病虫害知识问答意图识别与槽位填充联合模型

基于CNN-Transformer的农作物病虫害知识问答意图识别与槽位填充联合模型

王鲁 刘瑞麟 黄敬中 郭旭超

农业工程学报2024,Vol.40Issue(13):156-162,7.
农业工程学报2024,Vol.40Issue(13):156-162,7.DOI:10.11975/j.issn.1002-6819.202403116

基于CNN-Transformer的农作物病虫害知识问答意图识别与槽位填充联合模型

Joint model of intent detection and slot filling of knowledge question for crop diseases and pests using CNN-Transformer

王鲁 1刘瑞麟 2黄敬中 2郭旭超2

作者信息

  • 1. 山东女子学院,济南 250300||山东农业大学信息科学与工程学院,泰安 271018
  • 2. 山东农业大学信息科学与工程学院,泰安 271018
  • 折叠

摘要

Abstract

Intent detection and slot filling have been two of the most vital tasks to question the crop diseases and pests using knowledge graph.Among them,intent detection is to determine the user's intention or purpose from the text entered by the user in the crop pest field.Slot filling is to identify and extract specific information from the user's text,especially for the slot,for example,"what is the control of tomato bacterial wilt?".The task identifies the semantic slot"tomato bacterial wilt"(head entity)and the intention"control"(relation)to form a triple(tomato bacterial wilt,control,-).Where"-"represents the semantic slot and the intention to find the answer from the knowledge graph.A graph convolution encoder has been proposed to capture the spatiotemporal semantic features of conversation discourse in recent years,in order to learn the co-occurrence relationship between intention detection and slot filling.The slot decoding context has improved the accuracy of intention detection.In turn,the target of intention detection can be optimized to further improve the performance of slot filling.The best performance has been achieved in the experiments on public data sets.Sub word attention adapter(SAA)has also been used to effectively extract the context features from complex tags,and then retain the overall discourse information.In addition,an intention attention adapter(IAA)has been proposed to obtain the comprehensive sentence features,in order to predict the users'intention.In experiments,the knowledge question and answer have been focused mainly on the pipeline in the existing agricultural research.The named entity recognition has been firstly used to identify the head entity in the question.The text classification can be then used to classify the question for the intention.However,such a pipeline can be vulnerable to error propagation that caused by word segmentation errors.It is very necessary to make full use of the correlation between intent detection and slot filling in the agricultural field.In this study,a joint model of intent detection and slot filling was proposed to fully utilize the semantic information using CNN-Transformer(CDPCT-IDSF).According to the semantic complexity of crop pest text,the CNN network and multi-layer Transformer were designed to emphasize the local useful information.The semantic loss was alleviated to introduce the alignment guarantee one-to-one relationship between input and output in the Transformer decoder.As such,the model was improved to identify the correct slot labels.In addition,a question-and-answer dataset was constructed for the agricultural pest knowledge,including 20 intention categories,12 slot categories,and 11242 labeled samples.Comparative experiments show that the slot-filling F1 value of the CDPCT-IDSF model on the corpus was 94.36%,the intent detection accuracy was 92.99%,and the overall recognition accuracy was 87.23%,which was better than other comparison models.The improved model was also performed better for the intent detection and slot filling in crop diseases and pests.The finding can provide the theoretical support to knowledge question and answer research on crop diseases and pests.Moreover,the experiments were also carried out on two public datasets.CDPCT-IDSF was also suitable for English corpus scenarios.On ATIS datasets,the slot filling F1 value was 95.43%,intent detection accuracy was 97.95%,and overall recognition accuracy was 87.68%.On SNIPS datasets,the slot filling F1 value,intent detection accuracy and overall recognition accuracy of CDPCT-IDSF were 95.70%,98.57%and 89.96%,respectively.At the same time,the better generalization and robustness were achieved in the rest corpus.

关键词

农作/物病虫害/CNN卷积网络/Transformer/意图识别/槽位填充

Key words

crop/diseases and pests/CNN network/Transformer/intent detection/slot filling

分类

农业科技

引用本文复制引用

王鲁,刘瑞麟,黄敬中,郭旭超..基于CNN-Transformer的农作物病虫害知识问答意图识别与槽位填充联合模型[J].农业工程学报,2024,40(13):156-162,7.

基金项目

国家科技创新2030-新一代人工智能重大项目(2021ZD0113702) (2021ZD0113702)

山东省自然科学基金青年项目(ZR2023QF016) (ZR2023QF016)

农业工程学报

OA北大核心CSTPCD

1002-6819

访问量0
|
下载量0
段落导航相关论文