← Papers

Paper record

Enhancing detection of common bean diseases using Fast Gradient Sign Method-trained Vision Transformers.

Mwaibale U, Mduma N, Laizer H, Mgawe B.

Frontiers in artificial intelligence · 6 Aug 2025 · 10.3389/frai.2025.1643582

Abstract

Common bean production in Tanzania is threatened by diseases such as bean rust and bean anthracnose, with early detection critical for effective management. This study presents a Vision Transformer (ViT)-based deep learning model enhanced with adversarial training to improve disease detection robustness under real-world farm conditions. A dataset of 100,000 annotated images augmented with geometric, color, and FGSM-based perturbations, simulating field variability. FGSM was selected for its computational efficiency in low-resource settings. The model, fine-tuned using transfer learning and validated through cross-validation, achieved an accuracy of 99.4%. Results highlight the effectiveness of integrating adversarial robustness to enhance model reliability for mobile-based plant disease detection in resource-constrained environments.

Code and data availability

The paper's field-collected common bean disease image dataset (59,072 images, annotated, four classes) was published on Zenodo, with the exact URL given in the data availability statement and footnotes. This is a paper-specific, public, directly actionable asset. No code or trained model deposit is explicitly stated.

Datasetpublic

bility with farmers and agricultural experts will be essential for real-world application. Funding Statement The author(s) declare that financial support was received for the research and/or publication of this article. The data collection was funded by The Organization for Women in Science for the Developing World. Footnotes 1 https://zenodo.org/api/records/8286126/files-archive Data availability statement The datasets presented in this study can be found in online repositories. The names of the repository/repositories and accession number(s) can be found at: https://zenodo.org/api/records/8286126/files-archive . Author contributions UM: Validation, Writing – review & editing, Formal analys

Open resource ↗Zenodo · 8286126 · lines:291-310