A Weighted Ensemble Approach Integrating Large Language Models for Enhanced Agricultural Knowledge Retrieval
摘要
Knowledge retrieval plays an essential role in decision-making, and it becomes a challenge for farmers due to the complexity of farming data. In this work, an ensemble model that integrates general-purpose and domain-specific LLMs (BERT-base uncased, Agricultural-BERT and LLaMA 3.1) to enhance response correctness and appropriateness for agricultural questions. Using domain-specific data and a weighted voting scheme, our ensemble model demonstrates significant effectiveness in improving response accuracy, achieving approximately 94.6% accuracy, a BLEU score of 54.7, and a ROUGE-1 score of 0.73, as confirmed by performance evaluation. Results demonstrate that this system can assist farmers by providing actionable insights, especially for agricultural management and crop health. This ensemble model represents a better solution for advancing agriculture knowledge retrieval by integrating powerful but general LLM with domain-specific knowledge to tackle its unique challenges.