Lightweight vision transformer and ResNet-9 models for real-time plant disease detection and pest classification with SHAP explainability
Published in Bioengineering & Biotechnology, Earth & Environment, and Sustainability
Context
The rapid advancement of digital technologies alongside increased global commitment to sustainability has intensified the need for efficient crop management solutions. Across agricultural systems, delayed detection and misclassification of plant diseases remain major contributors to reduced yields, threatening food security and undermining progress toward Sustainable Development Goals such as Zero Hunger, No Poverty, Good Health and Well-being, Climate Action, and Life on Land. Plant pests, diseases, and excessive chemical use further exacerbate these challenges. Early, automated visual detection offers a pathway to environmentally responsible and economically viable agricultural practices.
Objective
This study aims to develop and evaluate an automated, real-time plant disease classification framework using Vision Transformers (ViT) and hybrid ViT–CNN architectures, with the goal of supporting farmers and agronomists in early decision-making and sustainable crop protection.
Methods
The research employs deep learning techniques, including ViT and a combined ViT–CNN model built on ResNet-9, trained and evaluated using four publicly available datasets: the Turkey Plant Pests and Diseases (TPPD) dataset (15 classes), the Namibia Maize Image Dataset (3 classes), the Banana Image Dataset (3 classes), and the Tanzania Maize Dataset (3 classes). SHapley Additive exPlanations (SHAP) were applied to generate saliency maps for interpretability. Comparative analyses assessed performance, accuracy, and classification speed across attention-based and hybrid architectures.
Results and conclusions
The proposed model achieved strong performance with 97.4% accuracy, 96.4% precision, 97.09% recall, a 95.7% F1-score, and high agreement measured by Cohen’s Kappa, outperforming existing benchmark models. SHAP visualizations highlighted that the model leverages high-activation areas, edge features, color patterns, texture, shape, and contextual cues in its predictions. While attention-based models improved accuracy, they also caused reduced classification speed. However, integrating attention blocks with CNN layers effectively compensated for this slowdown, achieving both high accuracy and efficient inference. To evaluate the interpretability and deployment feasibility of the proposed model, we considered several parameters are considered to have an integration of faithfulness, localization quality, sparsity, latency, and energy of the models, including pointing accuracy, localization IoU, Centroid Localization Error (pixels), Attribution Sparsity (%), Insertion AUC, Deletion AUC, Time per Explanation (ms/image), Energy Consumption (J/image), Memory Footprint (MB).
Significance
This research provides a transparent and high-performing deep learning solution for plant disease classification, promoting sustainable agricultural development. By reducing reliance on excessive pesticide and herbicide use, enhancing early diagnosis, and improving decision-making, the model supports environmentally responsible farming practices and contributes to global efforts toward food security and ecological resilience. The significance of this evaluation is that it comprehensively assesses the model’s interpretability and real-world deployability by measuring explanation reliability (faithfulness), spatial precision (localization quality), efficiency (latency and memory), and sustainability (energy consumption), ensuring the model is not only accurate but also transparent, efficient, and practical for deployment. Details at: https://link.springer.com/article/10.1186/s12870-026-08667-8
Follow the Topic
-
BMC Plant Biology
This is an open access, peer-reviewed journal that considers articles on all aspects of plant biology, including molecular, cellular, tissue, organ and whole organism research.
What are SDG Topics?
An introduction to Sustainable Development Goals (SDGs) Topics and their role in highlighting sustainable development research.
Continue reading announcementRelated Collections
With Collections, you can get published faster and increase your visibility.
Leaf senescence and molecular breeding
Leaf senescence is a complex biological process that involves the degradation of chlorophylls and the eventual death of leaf tissues, affecting plant growth and yield. As the final, postmitotic stage of plant life, leaf senescence is a crucial functional shift from nutrient assimilation to remobilization, critical for plant survival. Its timing is regulated by age, hormones, and environmental stress. Consequently, researchers are intensively devising strategies based on known regulatory mechanisms to manipulate initiation and progression of leaf senescence for enhancing crop resilience and productivity.
While many Senescence-Associated Genes (SAGs) have been identified, fundamental knowledge gaps persist, such as: when exactly is leaf senescence initiated? How are signals transmitted between organelles, cells, and tissues? How can we fully map the molecular pathways of cell senescence? Recent advances in genomics and molecular biology have revealed complex regulatory networks that govern this process, enabling to investigate the interactions between molecular, genetic, epigenetic, and environmental factors. The integration of single-cell, multi-omics and CRISPR/Cas9 approaches now enables deeper mechanistic exploration and more precise manipulation of senescence pathways.
At the same time, molecular breeding for optimized or ‘stay-green’ traits is rapidly accelerating, driven by the global demand for climate-resilient and high-yielding crops in support of the United Nations’ SDG 2 (Zero Hunger). Combining mechanistic insights with genome engineering, precision editing, pan-genome–informed allele mining, high-throughput phenotyping, and genomic selection has opened new opportunities to design crops with fine-tuned senescence timing, improved nutrient-use efficiency, and enhanced stress tolerance and photosynthetic productivity. In this context, BMC Plant Biology invites submissions to the Collection Leaf senescence and molecular breeding, aiming to gather research that advances our understanding of senescence mechanisms and translates this knowledge into crop improvement. We invite researchers and experts in the field to submit research articles that explore, but are not limited to, the following topics:
- Multilayered regulation of leaf senescence
- Genetic and epigenetic control of leaf senescence
- Post-transcriptional and post-translational regulation of leaf senescence
- Hormonal regulation of leaf senescence: regulation by classical and peptide hormones
- Regulatory functions and mechanisms of non-hormonal small molecule signals (e.g. NO, H2S) in leaf senescence
- New mechanisms for stress-induced leaf senescence
- Role of environmental factors on the regulation of leaf senescence
- Role of reactive oxygen species in leaf senescence
- Plant metabolic changes during leaf senescence
- Subcellular structural dynamics and functional remodelling in chloroplast and mitochondria during leaf senescence
- Novel signaling components in regulating leaf senescence in crops
- Integration of leaf senescence traits in molecular breeding programmes
- Pan-genome, GWAS, and QTL analyses for senescence traits
- Marker-assisted selection, genomic selection, and genome editing for senescence improvement
- High-throughput and image-based phenotyping of senescence in crop breeding
All manuscripts submitted to this journal, including those submitted to collections and special issues, are assessed in line with our editorial policies and the journal’s peer review process. Reviewers and editors are required to declare competing interests and can be excluded from the peer review process if a competing interest exists.
Publishing Model: Open Access
Deadline: Aug 19, 2026
Plant carbon metabolism
Carbon metabolism is central to the growth, development and productivity of photosynthetic organisms. It involves dynamic regulation and interplay between a number of complex processes (e.g. photosynthesis, carbon use and storage, respiration, nutrient metabolism), response and adaptation to environmental cues and stress (e.g. light, CO2 content, temperature), as well as the integration of fine-tuned enzymatic activity, post-translational modifications and signalling pathways.
Over the past decades, much research has been carried out to understand carbon fixation and utilization in model plants/crops, as well as other photosynthetic organisms. Advancing our understanding of the working principles and regulation of key enzymes like Rubisco, the Calvin–Benson–Bassham (CBB) cycle, C3, C4, and CAM metabolism, carbon concentrating mechanisms (CCMs), or how specific micro-compartments and organelles facilitate carbon concentration, has fundamental relevance. Moreover, the engineering of carbon metabolism has the potential to help addressing current global challenges linked to food security and climate change. For instance, novel insights into carbon metabolism regulation can inform breeding strategies to enhance crop yield and resilience by optimizing photosynthetic efficiency and carbon utilization, and lead to metabolic engineering of photosynthetic (micro)organisms with improved carbon fixation.
In support of the United Nations' Sustainable Development Goal 2 (SDG 2: Zero Hunger), BMC Plant Biology launches the Collection Plant carbon metabolism. This Collection invites research addressing the mechanisms and regulation of plant carbon metabolism, including research that explores new applications and approaches to modulate carbon metabolism and enhance the yield and stress resilience in crops and photosynthetic organisms (e.g. micro/macroalgae, cyanobacteria). We invite researchers and experts in the field to submit research articles that explore, but are not limited to, the following topics:
- C3, C4 and CAM metabolism in photosynthetic organisms: diversity, regulation and evolution
- Mechanisms and regulation of the Calvin-Benson-Bassham (CBB) cycle in photosynthetic organisms
- Synthesis, assembly, mechanisms and activity regulation of Rubisco
- Functions and diversity of carbon-concentrating mechanisms (CCMs) in photosynthetic organisms
- Functions, working principles and diversity of micro-compartments and organelles that facilitate carbon concentration in photosynthetic organisms (e.g. carboxysome, pyrenoid)
- Mechanisms and regulation of carbon allocation (e.g. starch and sucrose metabolism)
- Mechanisms and regulation of the central carbon metabolism, e.g. glycolysis, Oxidative Pentose Phosphate pathway, the Tricarboxylic Acid (TCA) cycle in photosynthetic organisms
- Metabolic engineering of carbon metabolism to enhance yield and stress resilience in photosynthetic organisms
- Synthetic biology approaches to enhance carbon fixation
- Impact of environmental stress on carbon metabolism
- Regulation of plant carbon assimilation metabolism by post-translational modifications
- Role of plant secondary metabolites in carbon metabolism regulation
All manuscripts submitted to this journal, including those submitted to collections and special issues, are assessed in line with our editorial policies and the journal’s peer-review process. Reviewers and editors are required to declare competing interests and can be excluded from the peer review process if a competing interest exists.
Publishing Model: Open Access
Deadline: Sep 04, 2026
Please sign in or register for FREE
If you are a registered user on Research Communities by Springer Nature, please sign in