Knowledge-enhanced large language model construction for garlic cultivation using GraphRAG.
Kai Zhou, Mengyao Dong, Xinkai Meng, Jiacheng Lv, Xiaojun Long, Rui Hou, Yuhua Li, Jialin Hou
College of Mechanical and Electronic Engineering, Shandong Agricultural University, Tai'an, China. · School of Artificial Intelligence, Beijing University of Posts and Telecommunications, Beijing, China.
Key points
From the paper's conclusion- Experimental results demonstrate absolute improvements of 13.0, 37.0, and 28.2 percentage points in precision, recall, and F1-score, respectively, for triple extraction compared with the baseline LLM, along with a 37.5 percentage point increase in retrieval-based question-answering accuracy.
Abstract
INTRODUCTION: Rapid advances in smart agriculture have highlighted the potential of large language models (LLMs), while practical applications remain limited by privacy risks, high training costs, and hallucinations. Focusing on garlic cultivation, this study proposes a knowledge-graph-enhanced framework that improves domain-specific LLMs through graph-based retrieval. METHODS: A hybrid clustering algorithm with intra-cluster multidimensional ranking is employed to identify ten core entity types from garlic-related corpora. Few-shot learning and chain-of-thought prompting are further integrated to optimize entity and relation extraction using Qwen 2.5:32B, leading to the construction of a structured garlic cultivation knowledge graph. The knowledge graph is integrated with LLMs via GraphRAG, while prompt reconstruction strategies are adopted to enrich contextual information and constrain generation, thereby improving domain grounding and reducing hallucinations. RESULTS: Experimental results demonstrate absolute improvements of 13.0, 37.0, and 28.2 percentage points in precision, recall, and F1-score, respectively, for triple extraction compared with the baseline LLM, along with a 37.5 percentage point increase in retrieval-based question-answering accuracy. DISCUSSION: The proposed approach is interpretable and locally deployable without dependence on commercial APIs, offering a transferable methodological reference for domain-specific knowledge graph construction and intelligent question answering across diverse crop systems.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Crop GraphRAG: pest and disease knowledge base Q&A system for sustainable crop protection.Frontiers in plant science · 2025
- Graph retrieval-augmented generation for legal academic viewpoint question answering: knowledge-graph retrieval, evaluation, and hallucination analysis.Frontiers in artificial intelligence · 2026
- A Survey of Large Language Models on Generative Graph Analytics: Query, Learning, and ApplicationsIEEE Transactions on Knowledge and Data Engineering · 2025
- IMoKGNN: Dual-Stream Fusion of Generic and Task-Specific Language Model Features for Graph Neural NetworksACM Transactions on Intelligent Systems and Technology · 2026
- AgroLLM: Connecting Farmers and Agricultural Practices Through Large Language Models for Enhanced Knowledge Transfer and Practical ApplicationAgriEngineering · 2026
- Graph Retrieval-Augmented Generation: A SurveyACM Transactions on Information Systems · 2025