ment in the agricultural sector. Future work could focus on further optimizing the model architecture, exploring additional data augmentation techniques, and testing the model in diverse field conditions to validate its applicability in complex farming environments. The implementation details and trained models are available at https://github.com/salman32140/Vit_MoE/ . By offering a solution that effectively bridges the gap between lab-controlled datasets and complex image conditions, this research paves the way for more reliable and scalable plant disease detection systems that can support sustainable agricultural practices and enhance the role of technology in crop management strategies.
Open resource ↗https://github.com/salman32140/Vit_MoE/ · salman32140/Vit_MoE · lines:674-698Unverified paper record
Plant disease classification in the wild using vision transformers and mixture of experts.
Frontiers in plant science · 18 Jun 2025 · 10.3389/fpls.2025.1522985
Abstract
Plant disease classification using deep learning techniques has shown promising results, especially when models are trained on high-quality images. However, these models often suffer from a significant drop in their accuracies when tested in real-world agricultural settings. In the wild, models encounter images that are significantly different from the training data in aspects like lighting conditions, capturing conditions, image resolution, and the severity of disease. This discrepancy between the training images and images in-the-wild conditions poses a major challenge for deploying these models in agricultural settings. In this paper, we present a novel approach to address this issue by combining a Vision Transformer backbone with a Mixture of Experts, where multiple expert models are trained to specialize in different aspects of the input data, and a gating mechanism is implemented to select the most relevant experts for each input. The use of Mixture of Experts allows the model to dynamically allocate specialized experts to different types of input data, improving model performance across diverse image conditions. The approach significantly improves performance on diverse datasets that contain a range of image capturing conditions and disease severities. Furthermore, the model incorporates entropy regularization and orthogonal regularization, aiming to enhance the robustness and generalization capabilities. Experimental results demonstrate that the proposed model achieved a 20% improvement in accuracy compared to Vision Transformer (ViT). Furthermore, it demonstrated a 68% accuracy on cross-domain datasets like PlantVillage to PlantDoc, surpassing baseline models such as InceptionV3 and EfficientNet. This highlights the potential of our model for effective deployment in dynamic agricultural environments.
Plant phenotyping relevance
野外画像から植物病害の状態・重症度を推定する分類手法を開発し、異なるデータセットや撮影条件で性能検証しているため、植物フェノタイピング手法が中心です。
abstractIn this paper, we present a novel approach to address this issue by combining a Vision Transformer backbone with a Mixture of Experts
abstractExperimental results demonstrate that the proposed model achieved a 20% improvement in accuracy compared to Vision Transformer (ViT).
abstractit demonstrated a 68% accuracy on cross-domain datasets like PlantVillage to PlantDoc
Code and data availability
The paper's authors publicly release implementation details and trained models on GitHub, and the study analyzes two public plant disease image datasets (PlantVillage and PlantDoc) hosted on Kaggle, all directly used for this paper's phenotyping/classification analysis.
56354) supervised by the Institute for Information and Communications Technology Planning and Evaluation (IITP), in part by the National Program for Excellence in SW, supervised by the IITP in 2025” (2024- 0-00037). Data availability statement Publicly available datasets were analyzed in this study. This data can be found here: https://www.kaggle.com/datasets/mohitsingh1804/plantvillage , https://www.kaggle.com/datasets/abdulhasibuddin/plant-doc-dataset . Author contributions ZS: Conceptualization, Data curation, Formal analysis, Investigation, Methodology, Software, Validation, Visualization, Writing – original draft, Writing – review & editing. AM: Supervision, Validation, Writing – review
Open resource ↗https://www.kaggle.com/datasets/mohitsingh1804/plantvillage · mohitsingh1804/plantvillage · lines:674-698cations Technology Planning and Evaluation (IITP), in part by the National Program for Excellence in SW, supervised by the IITP in 2025” (2024- 0-00037). Data availability statement Publicly available datasets were analyzed in this study. This data can be found here: https://www.kaggle.com/datasets/mohitsingh1804/plantvillage , https://www.kaggle.com/datasets/abdulhasibuddin/plant-doc-dataset . Author contributions ZS: Conceptualization, Data curation, Formal analysis, Investigation, Methodology, Software, Validation, Visualization, Writing – original draft, Writing – review & editing. AM: Supervision, Validation, Writing – review & editing. DH: Funding acquisition, Project administration, R
Open resource ↗https://www.kaggle.com/datasets/abdulhasibuddin/plant-doc-dataset · abdulhasibuddin/plant-doc-dataset · lines:674-698This is an automatically classified, unverified record. Curator approval is required before any resource enters the Catalog.