arXiv:2509.09848cs.AI2025-09被引 2

用检索增强生成技术,帮养羊户智能查病、管营养、搞管理。

Towards an AI-based knowledge assistant for goat farmers based on Retrieval-Augmented Generation

  • 用表格和决策树转文本,让大模型读懂养羊多样数据
  • 跨场景问答准确率超85%,验证结构化知识融合有效
  • 适合养羊户、农业技术员,解决信息难找难题

大型语言模型(LLMs)在多个行业被视为有价值的知识传播工具,但在畜牧养殖领域应用受限,主要因知识来源的可获得性、多样性和复杂性。本研究提出一种面向养羊业健康管控的智能知识助手系统,基于检索增强生成(RAG),设计了表格文本化与决策树文本化两种结构化知识处理方法,以提升大模型对异构数据的理解能力。据此构建了涵盖疾病防治、营养管理、饲养管理、羊奶管理及基础农事知识五大领域的专用知识库,并集成在线搜索模块,支持实时获取最新信息。通过六组消融实验评估各组件贡献,结果表明异构知识融合方法表现最佳,在验证集上平均准确率达87.90%,测试集为84.22%。在基于文本、表格、决策树的问答任务中,准确率均超过85%,证实模块化设计下结构化知识融合的有效性。错误分析显示遗漏是主要错误类型,提示需进一步优化检索覆盖与上下文整合。结论表明该系统具备实用性与可靠性。

原文摘要 · Abstract (English)

Large language models (LLMs) are increasingly being recognised as valuable knowledge communication tools in many industries. However, their application in livestock farming remains limited, being constrained by several factors not least the availability, diversity and complexity of knowledge sources. This study introduces an intelligent knowledge assistant system designed to support health management in farmed goats. Leveraging the Retrieval-Augmented Generation (RAG), two structured knowledge processing methods, table textualization and decision-tree textualization, were proposed to enhance large language models' (LLMs) understanding of heterogeneous data formats. Based on these methods, a domain-specific goat farming knowledge base was established to improve LLM's capacity for cross-scenario generalization. The knowledge base spans five key domains: Disease Prevention and Treatment, Nutrition Management, Rearing Management, Goat Milk Management, and Basic Farming Knowledge. Additionally, an online search module is integrated to enable real-time retrieval of up-to-date information. To evaluate system performance, six ablation experiments were conducted to examine the contribution of each component. The results demonstrated that heterogeneous knowledge fusion method achieved the best results, with mean accuracies of 87.90% on the validation set and 84.22% on the test set. Across the text-based, table-based, decision-tree based Q&A tasks, accuracy consistently exceeded 85%, validating the effectiveness of structured knowledge fusion within a modular design. Error analysis identified omission as the predominant error category, highlighting opportunities to further improve retrieval coverage and context integration. In conclusion, the results highlight the robustness and reliability of the proposed system for practical applications in goat farming.

知识助手养羊管理RAG农业AI

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。