Skip to main content
QUICK REVIEW

[Paper Review] GPT-4 as Evaluator: Evaluating Large Language Models on Pest Management in Agriculture

Shanglong Yang, Zhipeng Yuan|arXiv (Cornell University)|Mar 18, 2024
Computational and Text Analysis MethodsSocial Sciences5 citations
TL;DR

The paper evaluates GPT-3.5, GPT-4, and FLAN-T5 on pest management advice generation in agriculture, using GPT-4 as an evaluator across multiple prompting methods to measure linguistic quality and actionable accuracy, achieving 72% action-accuracy with instruction-based prompting.

ABSTRACT

In the rapidly evolving field of artificial intelligence (AI), the application of large language models (LLMs) in agriculture, particularly in pest management, remains nascent. We aimed to prove the feasibility by evaluating the content of the pest management advice generated by LLMs, including the Generative Pre-trained Transformer (GPT) series from OpenAI and the FLAN series from Google. Considering the context-specific properties of agricultural advice, automatically measuring or quantifying the quality of text generated by LLMs becomes a significant challenge. We proposed an innovative approach, using GPT-4 as an evaluator, to score the generated content on Coherence, Logical Consistency, Fluency, Relevance, Comprehensibility, and Exhaustiveness. Additionally, we integrated an expert system based on crop threshold data as a baseline to obtain scores for Factual Accuracy on whether pests found in crop fields should take management action. Each model's score was weighted by percentage to obtain a final score. The results showed that GPT-3.4 and GPT-4 outperform the FLAN models in most evaluation categories. Furthermore, the use of instruction-based prompting containing domain-specific knowledge proved the feasibility of LLMs as an effective tool in agriculture, with an accuracy rate of 72%, demonstrating LLMs' effectiveness in providing pest management suggestions.

Motivation & Objective

  • Demonstrate feasibility of using LLMs to generate pest management advice in agriculture.
  • Propose a multi-dimensional evaluation approach with GPT-4 as evaluator for coherence, consistency, fluency, relevance, comprehensibility, and exhaustiveness, plus factual accuracy.
  • Showcase the impact of instruction-based prompting and domain knowledge on decision accuracy (~72%).
  • Compare differences between GPT-3.5 and GPT-4 in pest-management decision making.

Proposed method

  • Evaluate GPT-3.5, GPT-4, and FLAN-T5 on pest-management prompts derived from expert-system data.
  • Use an expert system as a factual-accuracy baseline for pest-management decisions (non-chemical actions).
  • Generate 50 labeled pest scenarios (25 pests, 2 density variants) to form 50 prompts per model.
  • Apply four prompting techniques (zero-shot, few-shot, instruction-based, self-consistency) to produce responses.
  • Employ GPT-4 (as evaluator) to rate responses on coherence, consistency, fluency, relevance, comprehensibility, exhaustiveness, and to judge action-necessity (0/1) for accuracy.
  • Weight linguistic-quality scores (10% each) and accuracy (40%) to compute a final 100-point score.

Experimental results

Research questions

  • RQ1Can LLMs generate pest-management advice relevant to crop pests under varying densities and environmental conditions?
  • RQ2How do prompting methods influence the linguistic quality and actionability of pest-management suggestions?
  • RQ3Does GPT-4 as evaluator demonstrate reliable accuracy in determining whether pest-management action is needed?
  • RQ4What are the performance differences between GPT-3.5, GPT-4, and FLAN-T5 in this agriculture-specific task?
  • RQ5How does instruction-based prompting impact pest-management decision accuracy compared to other prompting strategies?

Key findings

  • GPT-3.5 and GPT-4 outperform FLAN models in most evaluation categories.
  • GPT-4 and GPT-3.5 achieve high linguistic-quality scores, with GPT-4 reaching near-perfect fluency in some dimensions.
  • Instruction-based prompting improves accuracy and overall performance; in several metrics, GPT-3.5 with instruction-based prompting performs best, sometimes surpassing GPT-4.
  • Instruction-based prompts that incorporate pest thresholds and affected crops yield better action decisions.
  • The evaluation reveals nuanced differences between GPT-3.5 and GPT-4 in pest-management decision-making.
  • Overall, the system achieved about 72% accuracy in pest-management decisions when using instruction-based prompting.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.