AgroLLM: Connecting Farmers and Agricultural Practices Through Large Language Models for Enhanced Knowledge Transfer and Practical Application
R. Dinesh Jackson Samuel, Inna Skarga-Bandurova, Sivakumar V, Muhammad Awais, Mithra S
Pittsburg State University · Oxford Brookes University
Key points
From the paper's conclusion- The study demonstrates that embedding structured domain knowledge into the RAG pipeline significantly improves factual consistency and produces reliable, context-aware agricultural recommendations.
Abstract
Large language models (LLMs) offer new opportunities for agricultural education and decision support, yet their adoption is limited by domain-specific terminology, ambiguous retrieval, and factual inconsistencies. This work presents AgroLLM, a domain-governed agricultural knowledge system that integrates structured textbook-derived knowledge with Retrieval-Augmented Generation (RAG) and a Domain Knowledge Processing Layer (DKPL). The DKPL contributes symbolic domain concepts, causal rules, and agronomic thresholds that guide retrieval and validate model outputs. A curated corpus of nineteen agricultural textbooks was converted into semantically annotated chunks and embedded using Gemini, OpenAI, and Mistral models. Performance was evaluated using a 504-question benchmark aligned with four FAO/USDA domain categories. Three LLMs (Mistral-7B, Gemini 1.5 Flash, and ChatGPT-4o Mini) were assessed for retrieval quality, reasoning accuracy, and DKPL consistency. Results show that ChatGPT-4o Mini with DKPL-constrained RAG achieved the highest accuracy (95.2%), with substantial reductions in hallucinations and numerical violations. The study demonstrates that embedding structured domain knowledge into the RAG pipeline significantly improves factual consistency and produces reliable, context-aware agricultural recommendations. AgroLLM offers a reproducible foundation for developing trustworthy AI-assisted learning and advisory tools in agriculture.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- The development and evaluation of agricultural question-answering systems based on large language modelsScientific Reports · 2026
- Future-proofing agricultural research: FAIR principles for agriculture AI agents (FAIR4AG2).Frontiers in artificial intelligence · 2026
- Bridging agronomic science and context specific farm-level advisory through generative AI for rice systems in India.Frontiers in artificial intelligence · 2026
- Agentic AI with Large Language Models for Precision Farming: Advancing Sustainable Resource Optimization in Smart AgritechJournal of Recent Innovations in Computer Science and Technology · 2026
- Agri-MRAG: Parameter-Enhanced Multimodal Retrieval-Augmented Generation for Agricultural Visual Question AnsweringApplied Sciences · 2026
- Leveraging large language models (LLMs) for GeoAI-enabled digital agro-advisoryFrontiers in Remote Sensing · 2026