ChatLeafDisease:a chain-of-thought prompting approach for crop disease classification using large language models
摘要Accurate crop disease classification is essential for disease management to support food security.Deep learning has shown its high classification accuracy in image-based disease identification.However,the deep learning approach usually needs large amounts of data for training to achieve satisfactory performance,which hindering its application and scalability for different crops.Large language models(LLMs)have shown strong generation capability and zero-shot performance.While how to utilize the LLM technique for crop disease classification remains unclear.In this study,we developed a training-free framework named ChatLeafDisease(ChatLD)based on GPT-4o model with chain-of-thought(CoT)prompting for crop disease classification.The framework includes a disease description database to provide knowledge of crop diseases and a disease classification agent guided by CoT prompts to understand the patterns of leaves infected diseases and classify the disease.The original GPT-4o model,Gemini model,and Contrastive Language-Image Pre-training(CLIP)model were chosen as baselines.Results showed that the ChatLD framework achieved higher and more stable classification accuracy(88.9%)for six tomato diseases than the GPT-4o(45.9%),Gemini(56.1%),and CLIP(64.3%)models.We found that the scoring rules enabled the ChatLD framework to capture the typical differences across diseases.Ablation results showed that the CoT prompts integrated the scoring rules and important notes to enable the ChatLD to achieve high classification accuracy.Comparison between different description texts showed that condensed disease description improved the classification performance.The results showed that the ChatLD framework achieved high accuracy for the disease classes of new crops,highlighting its scalability across various crop diseases.The proposed framework provided a new LLM-based alternative for crop disease classification by only using the textual descriptions of disease without training process.
更多相关知识
- 浏览1
- 被引0
- 下载0

相似文献
- 中文期刊
- 外文期刊
- 学位论文
- 会议论文


换一批



