The Sugarcane Plant Diseases Dataset used in this study is publicly available on Kaggle at: https://www.kaggle.com/datasets/akilesh253/sugarcane-plant-diseases-dataset . The dataset is released for academic research and benchmarking purposes.
Open resource ↗Kaggle · lines:112-131Paper record
An ensemble of vision and swin transformers with LLM-based explanations for sugarcane leaf disease diagnosis.
Scientific reports · 29 Mar 2026 · 10.1038/s41598-026-45453-w
Abstract
Sugarcane diseases significantly reduce crop yield and quality, posing persistent challenges to the agricultural sector. This study presents a novel ensemble framework that integrates Vision Transformer and Swin Transformer architectures for accurate sugarcane leaf disease detection. By combining global self-attention with localized window-based attention mechanisms, the proposed model effectively captures multi-scale visual features associated with diverse disease symptoms. Experimental evaluation on a large, labeled sugarcane leaf dataset achieved a validation accuracy of 98.16% and a test accuracy of 97.06%, outperforming several convolutional neural network baselines. Additionally, a large language model (LLM) interface is employed as a post-prediction decision-support module, generating disease-specific descriptions and management suggestions based solely on the predicted disease class. This integrated framework indicates the potential effectiveness of transformer-based ensemble models combined with intelligent advisory support for practical decision-making in precision agriculture.
Code and data availability