Source-linked AI summary

AgriRegion: Region-Aware Retrieval for High-Fidelity Agricultural Advice

Mesafint Fanuel, Mahmoud Nabil Mahmoud, Crystal Cook Marshal, Vishal Lakhotia, Biswanath Dari, Kaushik Roy, Shaohu Zhang

arXiv:2512.10114v1cs.AI

TL;DR

Agricultural LLMs can give inaccurate or regionally inappropriate advice amid specialized knowledge needs and wide variation in farming conditions. AgriRegion retrieves verified agricultural sources using geospatial information, and its evaluation reports significant gains over non-retrieval baselines, including higher human truthfulness and completeness ratings.

  • Problem

    Agricultural LLM advice must handle specialized knowledge and regional variation, while generic models can struggle with niche queries and up-to-date regional information.

    Source: §1 · p. 2
  • Method

    AgriRegion retrieves verified agricultural extension documents and filters and re-ranks evidence using geospatial metadata and the user's location.

    Source: §1 · pp. 2–3, §3.1.2 · p. 6, §4.1 · p. 7
  • Results

    Across 160 questions, AgriRegion significantly improved lexical and semantic metrics over non-retrieval baselines, including F1 0.12 and BERTScore 0.08 gains over GPT-4-Turbo, and highest human truthfulness and completeness ratings.

    Source: §5 · p. 12
  • Takeaways & Limitations

    The results support retrieval augmentation as a practical, computationally efficient path to domain adaptation and more factual, trusted agricultural AI advice grounded in verifiable documents.

    Source: §5 · p. 13

    The conclusion notes that several research extensions remain open.

    Source: §5 · p. 13

Abstract

from arXiv · show

Large Language Models (LLMs) have demonstrated significant potential in democratizing access to information. However, in the domain of agriculture, general-purpose models frequently suffer from contextual hallucination, which provides non-factual advice or answers are scientifically sound in one region but disastrous in another due to variations in soil, climate, and local regulations. We introduce AgriRegion, a Retrieval-Augmented Generation (RAG) framework designed specifically for high-fidelity, region-aware agricultural advisory. Unlike standard RAG approaches that rely solely on semantic similarity, AgriRegion incorporates a geospatial metadata injection layer and a region-prioritized re-ranking mechanism. By restricting the knowledge base to verified local agricultural extension services and enforcing geo-spatial constraints during retrieval, AgriRegion ensures that the advice regarding planting schedules, pest control, and fertilization is locally accurate. We create a novel benchmark dataset, AgriRegion-Eval, which comprises 160 domain-specific questions across 12 agricultural subfields. Experiments demonstrate that AgriRegion reduces hallucinations by 10-20% compared to state-of-the-art LLMs systems and significantly improves trust scores according to a comprehensive evaluation.

1 Introduction

Agricultural LLM advice must account for specialized knowledge and regional variation, while generic models and simple retrieval often miss those needs. AgriRegion combines verified extension documents with geospatially informed retrieval to return locally aligned advice.

1 Introduction

  • Agricultural RAG combines LLMs with external document collections to support factual, contextually appropriate responses and reduce hallucination risk.The introduction frames agricultural QA as spanning crop management, pest control, and sustainable farming practices.Source: §1 · p. 2
  • Regional variation, specialized agricultural knowledge, and uneven data quality complicate reliable LLM advice, with errors risking poor crop management and resource waste.Generic advice can also seem impractical to farmers and create skepticism.Source: §1 · p. 2
  • AgriRegion addresses gaps in prior agricultural QA systems by retrieving verified extension documents and filtering and re-ranking evidence using the user's geolocation.The approach goes beyond semantic relevance to target actionable, high-fidelity advice.Source: §1 · pp. 2–3
  • The framework is designed to move beyond standard semantic search and handle complex, domain-specific agricultural queries.It targets limitations of generic LLMs and simple retrieval mechanisms.Source: §1 · p. 3
  • Regional constraints during retrieval aim to make advice both semantically relevant and accurate for local practices and conditions.The stated goal is practical actionability for farmers in their specific environments.Source: §1 · p. 3

2 Related Work

Related work covers foundation models and agricultural QA, RAG for domain knowledge, and existing agricultural language-model ecosystems. The paper positions AgriRegion's region-aware retrieval against these approaches.

2.1 Foundation Models and LLMs in Agriculture

  • Foundation-model research adapts general LLMs to agronomic corpora; related systems include AGXQA, AgriBench, AgMMU, and AgEval, while AgriRegion-Eval spans 160 questions across 12 subfields.Prior work also identifies shortcomings in GPT-style models and the need for human-in-the-loop refinement.Source: §2.1 · p. 3

2.2 Retrieval-Augmented Generation

  • Agricultural RAG retrieves external, up-to-date documents to address frozen model knowledge, with dedicated survey and case-study work on agricultural decision-making and optimization chatbots.The cited case studies compare RAG pipelines against fine-tuning [4].Source: §2.2 · pp. 3–4
  • AgriGPT is an agricultural language-model ecosystem with datasets, Tri-RAG, and benchmarks; AgriRegion adds region-aware retrieval to address generic models and simple retrieval's limits.AgriGPT-VL extends the ecosystem to vision-language tasks such as crop-disease identification [39] [40].Source: §2.2 · p. 4

3 System Design

AgriRegion grounds answers in a vector database of agricultural knowledge, using semantic retrieval and spatial re-ranking before generation. Its retrieval combines Ada embeddings, chunk-level indexing, and Chroma, while LLaMA 3 generation uses retrieved evidence and agricultural instruction tuning.

3 System Design

  • AgriRegion grounds answers in curated agricultural knowledge stored in a vector database, then retrieves relevant material for a regional query and generates an answer.The system description includes publications, reports, geo-labeled data, and datasets as seed knowledge.Source: §3 · p. 4

3.1 Knowledge Retrieval

  • The retrieval module integrates Ada embeddings, chunk-level indexing, and Chroma to supply semantically aligned, contextually grounded content.The passage characterizes this as reducing hallucinations and increasing factual relevance.Source: §3.1 · p. 4

3.1.1 Embedding and Vector Indexing.

  • Chunks are embedded with Ada v2 and stored with document metadata in Chroma for filterable semantic search.The cited implementation passages describe 1,536-dimensional vectors, metadata association, and Chroma indexing; these details are not needed to identify the core design.Source: §3.1.1 · p. 4

3.1.2 Spatial-Semantic Retrieval.

  • Top-k chunks are re-ranked by combining semantic similarity with a distance-based locality score, so local knowledge scores highest while distant knowledge is penalized but retained.The locality weight is α=0.5, and k is typically 5 or 10 depending on expected response verbosity.Source: §3.1.2 · p. 6

3.2 Knowledge Generation

  • Fine-tuned LLaMA 3 generates a response from the user question and spatial-semantic-ranked chunks, with retrieved evidence grounding its answer.Its instruction-tuning data includes agricultural QA examples, extension manuals, and textbook summaries.Source: §3.2 · pp. 6–7

4 Evaluation

The corpus focuses on North Carolina and combines a large agricultural document collection with local extension material. The local documents are presented as a key source of actionable advice for farmers.

4.1 Agricultural Corpus Construction

  • North Carolina Cooperative Extension documents are a critical local component, translating complex research into actionable advice for farmers.Examples include extension materials on lawn care, integrated pest management, and vegetable gardening.Source: §4.1 · p. 7
  • The Vegetable Gardening guide supplies location-specific dates, chemical trade names, and regulatory warnings.The passage identifies these as specificities generic LLMs lack.Source: §4.1 · p. 7

4.2 Document Chunking and Segmentation

The corpus is segmented into overlapping chunks that preserve document context and carry metadata for retrieval and citation alignment. Evaluation prompts are normalized, and reported metric means average three runs with different random seeds.

4.2 Document Chunking and Segmentation

  • Documents are split into overlapping 300-token chunks with a 50-token stride to make long texts more efficient and semantically focused for vector retrieval.The pipeline transforms articles, extension bulletins, and textbooks into retrievable units.Source: §4.2 · p. 8
  • Chunk boundaries use paragraph breaks, headings, and typographic cues, while metadata and heading prompts preserve source and section context.The corpus contains over 4 million overlapping chunks, each intended as a semantically atomic unit for search, grounding, and generation.Source: §4.2 · p. 8
  • BLEU and ROUGE prompts are normalized, and evaluation metrics are averaged across three experiments with different random seeds.Normalization lowercases prompts, strips punctuation, and removes stopwords; BERTScore uses domain-sensitive settings.Source: §4.2 · p. 8

4.3 AgriRegion-Eval Question Dataset

AgriRegion-Eval contains 160 domain-specific questions across 12 agricultural subfields, and the evaluation combines answer-overlap, semantic-alignment, and retrieval-grounding measures. The RAGAS submetrics assess retrieval relevance and coverage, answer faithfulness, and relevance to the question.

4.3 AgriRegion-Eval Question Dataset

  • AgriRegion-Eval comprises 160 domain-specific questions spanning 12 agricultural subfields and is used to compare AgriRegion with four non-retrieval LLM baselines.The named baselines are GPT-4-Turbo, Claude 3.5 Sonnet, Gemini 1.5 Pro, and Mistral-7B-Instruct.Source: §4.3 · p. 9

4.4 Evaluation Metrics

  • Evaluation reports Exact Match, F1, BLEU-4, ROUGE-L, BERTScore (F1), and RAGA-Precision to measure answer fidelity, overlap, semantic alignment, and retrieval effectiveness.The passage assigns surface-form fidelity to EM and F1, n-gram and subsequence overlap to BLEU-4 and ROUGE-L, and semantic alignment to BERTScore.Source: §4.4 · p. 9
  • The RAGAS submetrics measure retrieved-passage relevance, reference-fact coverage in retrieved context, evidence support for generated statements, and question-answer relevance.The four sub-scores are calculated on a [0, 1] scale and combined as an unweighted mean.Source: §4.4 · p. 9

4.5 Overall Performance

AgriRegion outperforms non-RAG baselines across lexical and semantic metrics, with qualitative examples showing more North Carolina-specific recommendations than GPT-4-Turbo. The reported gains include statistically significant improvements in EM, F1, and BERTScore.

4.5 Overall Performance

  • AgriRegion uses the structured prompt shown in Figure 3 to retrieve answers.The reported effect sizes are medium-to-large for EM (δ=0.41) and F1 (δ=0.47).Source: §4.5 · p. 9, Figure 3 · p. 10
  • 10–20% higher EM, F1, BLEU-4, ROUGE-L, and BERTScore than GPT-4-Turbo and other LLMs across 160 agricultural questions.Paired bootstrap tests found EM, F1, and BERTScore gains significant at p<0.01.Source: §4.5 · p. 9, Table 2 · p. 10
  • AgriRegion provides North Carolina-specific timing windows, soil characteristics, nutrient rates, and storage conditions, while GPT-4-Turbo often gives correct but generic answers.The authors report that extension-publication grounding reduces omissions and overgeneralization and yields more actionable, region-tailored recommendations.Source: §4.5 · p. 10

4.6 Ablation Study

The ablation results identify retrieval—especially relevant retrieval—as a key contributor to performance, while gains diminish beyond the standard retrieval depth.

4.6 Ablation Study

  • Removing retrieval lowers F1 by 0.15, with similar declines in EM and BERTScore.The authors interpret this as evidence that the model relies heavily on retrieved evidence for accurate, grounded answers.Source: §4.6 · p. 10
  • Top-k=2 slightly reduces answer completeness, especially for questions requiring multiple facts, while Top-k=8 improves modestly but does not exceed Top-k=5.The results indicate diminishing returns beyond the standard Top-k=5 configuration.Source: §4.6 · p. 10
  • Random Docs produces the worst performance, highlighting the importance of relevant rather than merely retrieved evidence.Source: §4.6 · p. 10

4.7 Domain-wise Effects.

Retrieval gains vary across agricultural subdomains, with the largest reported F1 increases in Soil, Pathology, and Irrigation. The analysis also finds higher alignment between AgriRegion answers and retrieved evidence than for GPT-4-Turbo.

4.7 Domain-wise Effects.

  • Soil gains +0.19 F1, Pathology +0.17 F1, and Irrigation +0.21 F1 over GPT-4-Turbo, the strongest non-RAG baseline.The authors link these larger gains to threshold-based, rate-specific, or conditional recommendations in these domains.Source: §4.7 · p. 11
  • Economics and Extension show smaller but consistent improvements of +0.07 F1 over GPT-4-Turbo.Source: §4.7 · p. 11
  • AgriRegion has a more intense confusion-matrix diagonal for answer-to-retrieved-passage similarity than GPT-4-Turbo, whose lighter diagonal suggests mild semantic drift.Similarity was computed against each subdomain’s retrieved-passage centroid using SBERT embeddings.Source: §4.7 · p. 11

4.8 Robustness Checks

Robustness checks find little performance change under minor prompt variations, while explicit citation-style prompts improve BERTScore.

4.8 Robustness Checks

  • Performance deltas remain within ±0.02 for EM and F1 under rephrased prompts and shuffled option orders.Source: §4.8 · p. 11
  • The prompt checks include English-to-German-to-English retranslation and shuffled options for questions with list-like answers.Source: §4.8 · p. 11
  • Explicit citation prompts improve the grounding metric BERTScore by 0.03.Source: §4.8 · p. 11

5 Conclusion and Future Work

AgriRegion couples dense retrieval over an expert-curated agricultural corpus with LLM generation, providing a technical basis for evidence-grounded agricultural AI. The conclusion highlights strong factual accuracy, domain interpretability, and flexibility, alongside several proposed extensions.

5 Conclusion and Future Work

  • F1 rose 0.12 and BERTScore 0.08 over GPT-4-Turbo, with the highest human ratings for truthfulness and completeness.The evaluation covered 160 questions; ablations attributed the gains to evidence retrieval rather than model size or decoding hyperparameters.Source: §5 · p. 12
  • Future work proposes cross-encoder reranking and hybrid dense–sparse retrieval to improve context precision and reduce redundancy.These are proposed retrieval-optimization directions, not reported results.Source: §5 · p. 14
  • Future work proposes adapting top-k retrieval and context-window length to query complexity..Source: §5 · p. 14
  • The proposed multimodal extension would combine images, geospatial features, and tabular datasets for end-to-end decision support.Crop-disease diagnostics are given as an image-use example.Source: §5 · p. 14
  • A proposed AI Agronomist prototype would support dialogic reasoning, source citation, and on-device retrieval for field deployment..Source: §5 · p. 14
  • AgriRegion’s spatial-semantic retrieval provides a technical basis for agricultural AI with strong factual accuracy, domain interpretability, and scalable flexibility.The paper presents retrieval augmentation as a practical, computationally efficient pathway to domain adaptation and says grounding responses in verifiable documents enhances factual accuracy and user trust.Source: §5 · pp. 13–14
Loading 2512.10114v1…