PSP and SNT: Problem Formulation and MethodologyAS and DS: Implementation and VisualizationMVV PK and KB: Original Draft and Supervision. Funding Open access funding provided by Symbiosis International (Deemed University). This research received no external funding. Data availability [https://dx.doi.org/10.21227/4k7y-vs03] Declarations Competing interests The authors declare no competing interests. The authors declare that they have no conflict of interest. References 1. Wang Y Wang Q Su Y Jing B Feng M Detection of kidney bean leaf spot disease based on a hybrid deep learning model Sci. Rep. 2025 15 1 11185 10.1038/s41598-025-93742-7 40169647 P
Open resource ↗10.21227/4k7y-vs03 · lines:325-415Unverified paper record
An explainable vision transformer model with transfer learning for accurate bean leaf disease classification.
Scientific reports · 24 Feb 2026 · 10.1038/s41598-026-41723-9
Abstract
Early identification of bean leaf diseases, particularly Angular Leaf Spot and Bean Rust, is vital for ensuring crop productivity and global food security, especially within smallholder farming systems where disease outbreaks can rapidly escalate and cause severe yield losses. Conventional disease identification through visual inspection is labor-intensive, subjective, and highly dependent on expert knowledge, making it impractical for large-scale agricultural monitoring. Although recent deep learning-based approaches have demonstrated impressive accuracy in plant disease classification, their inherent “black-box” nature significantly limits real-world adoption, as farmers and agronomists often lack the ability to understand, trust, or act upon unexplained predictions. To address these challenges, this study proposes an automated and explainable disease diagnostic framework based on a Vision Transformer (ViT-B/16) architecture optimized through transfer learning from ImageNet. Unlike traditional convolutional neural networks that primarily focus on localized features, the Vision Transformer processes images as a sequence of flattened patches and leverages self-attention mechanisms to capture long-range dependencies and global contextual patterns across the entire leaf surface. This global representation enables the model to detect subtle and spatially distributed disease symptoms that are often overlooked by CNN-based approaches. To further enhance transparency and interpretability, GradCAM + + is integrated into the framework as an explainable artificial intelligence (XAI) mechanism. This method generates class-specific heatmaps that visually highlight the exact pathological regions influencing the model’s predictions, thereby establishing a human-interpretable validation loop for farmers, agronomists, and domain experts. The proposed framework was evaluated on the publicly available I-Bean dataset, achieving a validation accuracy of 97.52% along with strong precision, recall, and F1-score performance. The generated GradCAM + + visualizations consistently demonstrate the model’s sensitivity to true diseased regions, reinforcing both the reliability and trustworthiness of its predictions. By combining high-capacity global feature learning with visual explainability, the proposed approach offers a scalable, transparent, and practical solution for real-world precision agriculture. This framework not only enhances diagnostic accuracy but also bridges the critical gap between model performance and user trust, enabling informed decision-making and timely disease management in modern farming environments.
Plant phenotyping relevance
画像から豆葉の病害症状を分類・可視化する手法が研究の中心であり、植物の病害状態を直接推定するため、植物フェノタイピング手法として適格。
abstractThis method generates class-specific heatmaps that visually highlight the exact pathological regions influencing the model’s predictions
abstractThe proposed framework was evaluated on the publicly available I-Bean dataset, achieving a validation accuracy of 97.52%
Code and data availability
The paper uses the publicly available I-Bean bean leaf disease image dataset (Healthy, Angular Leaf Spot, Bean Rust) and points to it via a Data availability DOI (10.21227/4k7y-vs03), which is an allowed URL. No author analysis code or trained model checkpoint is explicitly deposited.
This is an automatically classified, unverified record. Curator approval is required before any resource enters the Catalog.