AMC-NLI: 基于实体识别的农业测控领域自然语言接口
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

TP391

基金项目:

安徽省高校自然科学研究重点项目(KJ2020A0106);安徽省大学生创新创业计划资助项目(S202310364126)


AMC-NLI: A natural language interface for agricultural measurement and control based on entity recognition
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    农业测控系统的用户交互性存在改进空间,随着自然语言语义处理技术的不断进步,提升农业测控领域中复杂的控制和查询操作的用户友好性变得至关重要,这有助于降低用户的操作成本。本文提出了一种面向农业测控领域的自然语言接口(Agricultural Measurement and Control Natural Language Interface,AMC-NLI),旨在改进农业测控平台的用户体验。通过BERT-BiLSTM-ATT-CRF-OPO(Bidirectional Encoder Representations from Transformers-Bi-directional Long Short-Term Memory- Attention-Conditional Random Field)的语义解析模型,识别并提取农业指令中的实体,并进行操作-地点-对象三元组语句(operate-place-object,OPO)的槽填充。使得用户的自然语言输入能够被转化为结构化的三元组语句,实现用户输入的指令转换为相应的参数,并通过物联网网关发送到相应的设备。试验结果表明在AMC-NLI农业测控指令交互方面,该模型表现出色,准确率,精确率、召回率,F值和平均最大响应时间分别达到了91.63%、92.77%、92.48%、91.74%和2.45 s,为农业信息化管控提供了更为便捷的互动方式。

    Abstract:

    User interactivity can be enhanced in agricultural measurement and control systems, especially with the continuous advancements in natural language semantic processing. It is necessary to improve user-friendliness in control and query operations within the agricultural measurement and control field, in order to reduce the user operating costs. Firstly, a precise interface of human-computer interaction can be constructed to tailor for the agricultural domain, in order to efficiently translate the user's natural language input into understandable commands for the computer system. The current agricultural field has relied mainly on graphical user interfaces to meet human-computer interaction. But some limitations still remained over time, e.g., the high complexity of human-computer interaction and the low efficiency. Therefore, natural language interface (NLI) has been designed to establish the mapping between natural language from the nature of human-computer interaction. Agricultural measurement and control systems have been considered as the efficient strategy. Among them, the primary task of natural language understanding (NLU) is often used to transform the human language into computer-understandable structured expressions, in order to accurately capture the user's intention and semantics. Deep learning has been utilized to name entity recognition tasks in recent years. Relational components of sentences can be extracted to identify the sentence actions, and then incorporate the annotations of semantic roles, in order to understand the utterances for the computers. Entity recognition has distinctly realized the entity features in the specific domains. Commonly-named entities are usually characterized by fuzzy boundaries in the field of agricultural measurement and control systems. Some challenges remain in the quality of data and the accuracy of annotations, due to the relatively scarce data. It is important to directly apply to the agricultural measurement and control system. In this study, the agricultural measurement and control natural language interface (AMC-NLI) was presented to serve as the natural language interface for the agricultural measurement and control. The users were allowed to operate and control systems using natural language commands. These commands were interpreted using OPERATE, PLACE, and OBJECT attributes within the operate-place-object (OPO) ternary structure, and then transmitted to the gateways, nodes, or devices. Significant semantic information was previously lost using conventional methods when extracting entities from natural language commands, particularly when the commands contained multiple entities of the same type. Additionally, the entity order was confounded on the semantic relationships. A semantic parsing model called BERT-BiLSTM-ATT-CRF-OPO was proposed for the recognition tasks of the named entity in the command parsing of the measurement and control system. BERT pre-trained language models were utilized for the word embedding to enhance contextual understanding. The bidirectional long short-term memory networks (BiLSTM) were employed to capture the semantic features of long sentences and long-distance dependent information. An attention mechanism was incorporated to prioritize the features related to named entities for better local feature extraction. Conditional Random Field (CRF) was utilized to learn the labeling constraints and output globally optimal labeled sequences. The experimental results show that the BERT-BiLSTM-ATT-CRF-OPO model achieved a recognition accuracy of 92.13%, a recall of 93.12%, and an F1 score of 92.76% for the three types of entities. The improved model performed well in the AMC-NLI agricultural measurement and control command interaction, with the accuracy, precision, recall, F-value, and average maximum response time reaching 91.63%, 92.77%, 92.48%, 91.74%, and 2.45s, respectively. The human-computer interaction was enhanced in the agricultural measurement and control system, in order to improve the recognition accuracy of command entity. The finding can offer novel insights into Chinese command parsing, indicating the potential application of natural language processing in agriculture. A more user-friendly and efficient human-computer interaction was provided for future agricultural measurement and control systems.

    参考文献
    相似文献
    引证文献
引用本文

袁伟皓,齐海燕,杨梦道,许高建. AMC-NLI: 基于实体识别的农业测控领域自然语言接口[J].农业工程学报,2024,40(19):114-123. DOI:10.11975/j. issn.1002-6819.202311026

YUAN Weihao, QI Haiyan, YANG Mengdao, XU Gaojian. AMC-NLI: A natural language interface for agricultural measurement and control based on entity recognition[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE),2024,40(19):114-123. DOI:10.11975/j. issn.1002-6819.202311026

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2023-11-03
  • 最后修改日期:2024-07-15
  • 录用日期:
  • 在线发布日期: 2024-09-29
  • 出版日期:
文章二维码
您是第位访问者
ICP:京ICP备06025802号-3
农业工程学报 ® 2024 版权所有
技术支持:北京勤云科技发展有限公司