引用本文:臧伟烨,曹隽隽,陶建斌,于雷,胡琼,陈淑敏.融合大语言模型与提示学习的土壤分类知识图谱构建[J].中国农业信息,2025,37(4):78-90
【打印本页】   【HTML】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 121次   下载 8 本文二维码信息
码上扫一扫!
融合大语言模型与提示学习的土壤分类知识图谱构建
臧伟烨1,曹隽隽1,2,陶建斌1,2,于雷1,2,胡琼1,2,陈淑敏3
1华中师范大学华中数字乡村研究院,湖北武汉430079;2华中师范大学城市与环境科学学院,湖北武汉430079;3武汉大数智汇科技有限公司,湖北武汉430205
摘要:
【目的】 针对土壤数据异构分散、分类知识界定模糊、层级逻辑脱节以及通用大模型本土化语义理解不足等问题,构建专业土壤分类知识图谱,并开发SoilGraphRAG系统,实现知识的深度关联与精准推理。【方法】 文章采用“文档智能解析+专家规则注入”的双重策略,结合MinerU解析与滑动窗口策略,从标准文档中自动化抽取“实体—关系—属性”三元组,构建包含6级分类体系的土壤知识图谱并存入Neo4j。并基于LangGraph设计ReAct智能体,构建“语义向量+Cypher结构化”双通道检索机制。【结果】 (1)成功构建了覆盖全量土壤分类单元的高质量图谱。基座模型QwenLong-L1-32B的检索召回率达89.65%,复杂推理能力得分为87.5,均优于DeepSeek-R1-Distill-Qwen-7B等对比模型。(2)得益于图谱结构化约束,系统的幻觉抑制能力评分高达86.8,验证了该框架在保障知识精确度方面的优势。(3)“向量语义检索+Cypher结构化查询”的双通道机制在不同题型下表现互补,结合ReAct智能体调度后显著提升了模糊语义与复杂逻辑问题的综合响应能力。【结论】 该研究提出的框架成功实现了土壤分类标准知识的结构化重组与智能问答,为土壤分类体系的深度挖掘提供了路径,也为其他垂直领域知识图谱的构建提供了新范式。
关键词:  土壤分类  知识图谱  大语言模型  智能问答  提示学习
DOI:10.12105/j.issn.1672-0423.20250406
分类号:
基金项目:国家重点研发项目课题“大兴安岭南麓丘陵漫岗区旱地高标准农田建设关键技术集成与示范”(2024YFD1500205);中央高校基本科研业务费“江汉平原高标准农田利用方式智能监管”(CCNU25JCPT037)
Construction of soil classification knowledge graph integrating LLM and prompt learning
Zang Weiye1, Cao Junjun1,2, Tao Jianbin1,2, Yu Lei1,2, Hu Qiong1,2, Chen Shumin3
1Central China Digital Rural Research Institute,Central China Normal University,Wuhan 430079,Hubei,China;2College of Urban and Environmental Sciences,Central China Normal University,Wuhan 430079,Hubei,China;3Wuhan Dashu Zhihui Technology Co.,Ltd.,Wuhan 430205,Hubei,China
Abstract:
[Purpose] To address issues of heterogeneous and fragmented soil data,ambiguous classification knowledge boundaries,disconnected hierarchical logic,and insufficient localized semantic understanding of general-purpose large language models,this study develops a domain-specific soil classification knowledge graph and the SoilGraphRAG system to enable deep knowledge association and precise reasoning.[Method] A dual strategy combining intelligent document parsing and expert rule injection was adopted. By integrating MinerU parsing with a sliding window approach,entity-relation-attribute triples were automatically extracted from standard documents to construct a six-level soil classification knowledge graph stored in Neo4j. A LangGraph-based ReAct agent was designed to support a dual-channel retrieval framework integrating vector-based semantic retrieval with Cypher-based structured querying.[Result] (1)A high-quality knowledge graph covering the full set of soil classification units was successfully constructed. Using QwenLong-L1-32B as the backbone model,the retrieval recall reached 89.65% and the complex reasoning score was 87.5,both outperforming baseline models such as DeepSeek-R1-Distill-Qwen-7B. (2)Benefiting from the structural constraints of the knowledge graph,the system achieved a hallucination-resistance score of 86.8,demonstrating its advantage in ensuring knowledge accuracy. (3)The dual-channel mechanism combining vector-based semantic retrieval and Cypher-based structured querying exhibited complementary strengths across different question types;when coupled with ReAct agent scheduling,it significantly improved the overall response capability for ambiguous semantic queries and complex logical reasoning tasks.[Conclusion] This framework effectively organizes soil classification standards and supports precise semantic retrieval and reasoning,providing a reliable approach for intelligent data mining and a reference for knowledge graph construction in specialized domains.
Key words:  soil classification  knowledge graph  LLM  intelligent QA  prompt learning