Evaluating Small Language Models for Agentic On-Farm Decision Support Systems
Enhong Liu, Haiyu Yang, and Miel Hostens

TL;DR
This study benchmarks 20 open-source Small Language Models for on-farm decision support, demonstrating their potential for practical, privacy-preserving, local deployment in dairy farming with promising results and identified challenges.
Contribution
It is the first to evaluate Small Language Models specifically for dairy farm decision-making under real-world computational constraints.
Findings
Qwen-4B outperformed other models in most tasks
SLMs show promise for privacy-preserving farm decision support
Challenges remain in model stability and fine-tuning for dairy-specific questions
Abstract
Large Language Models (LLM) hold potential to support dairy scholars and farmers by supporting decision-making and broadening access to knowledge for stakeholders with limited technical expertise. However, the substantial computational demand restricts access to LLM almost exclusively through cloud-based service, which makes LLM-based decision support tools impractical for dairy farming. To address this gap, lightweight alternatives capable of running locally on farm hardware are required. In this work, we benchmarked 20 open-source Small Language Models (SLM) available on HuggingFace under farm-realistic computing constraints. Building on our prior work, we developed an agentic AI system that integrates five task-specific agents: literature search, web search, SQL database interaction, NoSQL database interaction, and graph generation following predictive models. Evaluation was…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSmart Agriculture and AI · Topic Modeling · Milk Quality and Mastitis in Dairy Cows
