欢迎您访问《智慧农业(中英文)》官方网站! English

Smart Agriculture

• •    

面向玉米精准施肥的知识增强决策智能体框架

杨永康1,3(), 黄馨瑶2(), 李国亮2, 李林1, 游良志3, 李万理2(), 冯在文2,3()   

  1. 1. 华中农业大学植物科学技术学院,湖北 武汉 430070,中国
    2. 华中农业大学信息学院,湖北 武汉 430070,中国
    3. 华中农业大学宏观农业研究院,湖北 武汉 430070,中国
  • 收稿日期:2026-04-17 出版日期:2026-07-08
  • 基金项目:
    国家重点研发计划(2023YFF1000100); 湖北省技术创新计划项目(2024BBB055;2024BAA008)
  • 作者简介:

    杨永康,硕士,研究方向为大模型在农业领域的应用,E-mail:

    YANG Yongkang, E-mail:

    黄馨瑶,本科生,研究方向为大模型在农业领域的应用,E-mail:

    (杨永康、黄馨瑶并列第一作者)

  • 通信作者:
    李万理,博士,讲师,研究方向为自然语言处理、知识图谱、元学习。E-mail:
    冯在文,博士,副教授,研究方向为农业AI大模型。E-mail:

Knowledge-Enhanced Decision Agent Framework for Maize Precision Fertilization

YANG Yongkang1,3(), HUANG Xinyao2(), LI Guoliang2, LI Lin1, YOU Liangzhi3, LI Wanli2(), FENG Zaiwen2,3()   

  1. 1. College of Plant Science and Technology, Huazhong Agricultural University, Wuhan 430070, China
    2. College of Informatics, Huazhong Agricultural University, Wuhan 430070, China
    3. Institute of Macro Agriculture, Huazhong Agricultural University, Wuhan 430070, China
  • Received:2026-04-17 Online:2026-07-08
  • Foundation items:National Key Research and Development Program of China(2023YFF1000100); Hubei Provincial Technological Innovation Program Projects(2024BBB055;2024BAA008)
  • Corresponding author:
    LI Wanli, E-mail: ;
    FENG Zaiwen, E-mail:

摘要:

【目的/意义】 针对玉米精准施肥中知识来源分散、区域差异明显、历史施肥经验利用不足和推荐依据不够清晰等问题,构建面向玉米精准施肥的知识增强决策智能体框架(Knowledge-enhanced decision agent framework,KEDAF),以提升施肥推荐的精细化水平、情境适配能力和结果可解释性。 【方法】 以玉米品种审定公告、省域施肥指导文件和历史施肥案例为主要数据来源,采用基于大语言模型微调的实体识别方法抽取品种、区域、产量表现、栽培管理和施肥策略等知识,并结合实体类型映射生成知识三元组,构建玉米施肥知识图谱。在决策阶段,将知识图谱、历史案例库和农学规则库作为外部知识记忆,通过地块状态解析、知识调用、案例修正和农学约束校验,形成氮、磷、钾总量及分期施肥推荐结果。 【结果和讨论】 基于玉米施肥历史案例的实验结果表明,KEDAF在养分总量预测上的平均绝对百分比误差为5.337 0%,决定系数R²为0.882 0;在分期施肥比例预测上的决定系数R²达到0.944 4。与规则方法,传统案例推理方法和案例推理与机器学习混合模型相比,该框架在总量预测和分期结构预测方面均取得更优表现,说明知识图谱先验、案例迁移修正和农学约束协同能够提高施肥决策的准确性与稳定性。 【结论】 KEDAF能够有效融合结构化知识、历史经验和农学规则,为玉米精准施肥提供具有依据支撑和可追溯性的决策方案,可为大语言模型在强知识约束农业数值决策任务中的应用提供参考。

关键词: 玉米, 精准施肥, 知识图谱, 大语言模型, 智能体

Abstract:

[Objective] Maize precision fertilization must consider target yield, soil nutrient supply, cultivar characteristics, regional conditions, and management practices. However, relevant knowledge is scattered across variety approval bulletins, technical guidelines, expert rules, and historical experiments. Data-driven models can estimate fertilizer rates, but they often lack explicit agronomic knowledge and traceable evidence. Traditional case-based reasoning can reuse similar cases, but its stability is limited when target fields differ from existing records. Therefore, this study aimed to construct a Knowledge-Enhanced Decision Agent Framework (KEDAF), integrating a knowledge graph, historical cases, and agronomic rules to improve the accuracy, adaptability, interpretability, and traceability of nitrogen (N), phosphorus (P), and potassium (K) recommendations. [Methods] Maize variety approval bulletins, provincial fertilization guidance documents, agronomic rules, expert experience, and historical fertilization cases were used as the main data sources. Historical cases were collected from public literature on maize fertilization experiments, nutrient management, soil testing, target-yield fertilization, and fertilizer treatment effects. After screening records with clear locations, cultivar information, soil indicators, yield information, and fertilizer application data, 815 cases covering the six major maize planting regions in China were retained. For knowledge graph construction, Qwen2.5-1.5B-Instruct was used as the base model, and Low-Rank Adaptation (LoRA) was adopted for entity extraction. Knowledge triples were generated through entity-type mapping. After cleaning, normalization, and fusion, the maize fertilization knowledge graph contained 63 096 nodes and 277 906 relations. In the decision stage, DeepSeek-V3.2 was used as the language reasoning and interaction engine. User input was parsed into a field state vector containing cultivar, province, ecological region, target yield, soil organic matter, alkali-hydrolysable nitrogen, available phosphorus, available potassium, and pH. Based on this state, KEDAF activated normative memory from the knowledge graph and regional rules, experiential memory from the historical case database, and safety memory from the agronomic rule base. Candidate schemes were generated from knowledge graph priors, adapted similar cases, and fused actions. Similar cases were retrieved by combining categorical semantic similarity and numerical similarity, and their fertilizer rates were revised according to differences in target yield, soil nutrients, organic matter, and pH. Candidate schemes were evaluated by an internal critic using knowledge consistency, case support, and agronomic risk. When fertilizer amounts or stage-wise ratios exceeded safe boundaries, projection-based correction was performed. Experiments used an 8:2 train-test split. Rule-based, traditional case-based reasoning (CBR), and CBR-ML methods were selected as baselines. [Results and Discussions] KEDAF achieved an overall MAPE of 5.337 0% and an R² of 0.882 0 for total N, P, and K prediction. For stage-wise allocation, the R² reached 0.944 4. At the nutrient level, phosphorus prediction was the most stable, with a MAPE of 4.046 9% and an R² of 0.888 8, followed by nitrogen with a MAPE of 4.203 4% and an R² of 0.882 4. Potassium prediction was relatively weaker, with a MAPE of 7.760 8% and an R² of 0.874 7. Compared with the rule-based method, KEDAF reduced the total MAPE from 9.957 0% to 5.337 0% and the stage-wise MAPE from 8.540 7% to 3.444 6%. Compared with traditional CBR and the CBR-ML hybrid model, KEDAF also performed better. Ablation experiments showed that the knowledge graph prior provided a stable decision anchor, case adaptation improved field-specific adjustment, and safety constraints enhanced recommendation feasibility. [Conclusions] KEDAF integrated structured knowledge, historical experience, and agronomic constraints into a traceable fertilization decision process. Offline experiments showed that it outperformed rule-based, CBR, and CBR-ML baselines. The framework provided evidence-supported recommendations for maize precision fertilization, but further field validation and integration of weather, soil monitoring, remote sensing, and management data are still needed.

Key words: maize, precision fertilization, knowledge graph, large language model, agent

中图分类号: