← Papers

Unverified paper record

An uncertainty-aware evaluation framework based on hierarchical vision transformers for robust cross-domain plant leaf disease classification.

Scientific reports · 27 May 2026 · 10.1038/s41598-026-55107-6

Abstract

Plant leaf disease detection is a critical task in precision agriculture, where reliable diagnosis under real-world conditions is essential for reducing crop losses and supporting timely intervention. Although deep learning models have achieved high classification accuracy, their performance often degrades under domain shift between controlled laboratory datasets and real-field environments, while predictive uncertainty and confidence calibration remain largely unaddressed.This study presents an uncertainty-aware cross-domain evaluation framework based on a Hierarchical Vision Transformer (HViT) for plant leaf disease classification. The framework integrates multi-scale feature learning with Monte Carlo Dropout-based predictive uncertainty estimation and temperature-based calibration to systematically analyze model behavior in terms of accuracy, reliability, and robustness. Experiments were conducted on two complementary datasets: the New Plant Diseases Dataset (controlled conditions) and the PlantDoc dataset (field conditions), enabling bidirectional cross-domain evaluation. Results demonstrate that the proposed framework achieves superior performance, attaining 97.8% accuracy on controlled data and 93.6% on field data, while significantly improving calibration with lower Expected Calibration Error (ECE = 0.032 / 0.041), reduced Negative Log-Likelihood, and lower Brier score compared to baseline CNN and transformer models. Furthermore, the framework exhibits improved robustness under domain shift, with reduced performance degradation and stable uncertainty behavior. Overall, this study highlights the importance of integrating uncertainty estimation and calibration within a hierarchical transformer-based framework, providing a more reliable and deployment-ready solution for real-world agricultural disease diagnosis.

Plant phenotyping relevance

植物葉の病害状態を直接推定する不確実性-aware分類フレームワークの開発・評価が中心であり、異なる条件のデータセット間で精度、校正、頑健性を検証している。

abstractThis study presents an uncertainty-aware cross-domain evaluation framework based on a Hierarchical Vision Transformer (HViT) for plant leaf disease classification.
abstractThe framework integrates multi-scale feature learning with Monte Carlo Dropout-based predictive uncertainty estimation and temperature-based calibration to systematically analyze model behavior in terms of accuracy, reliability, and robustness.
abstractExperiments were conducted on two complementary datasets: the New Plant Diseases Dataset (controlled conditions) and the PlantDoc dataset (field conditions), enabling bidirectional cross-domain evaluation.

Code and data availability

The paper's Data availability statement explicitly links the two public image datasets used for its cross-domain plant leaf disease classification experiments: the New Plant Diseases Dataset on Kaggle and the PlantDoc dataset on Dataset Ninja. No author analysis code, models, or checkpoints are reported as available.

Datasetpublic

The New Plant Diseases Dataset can be obtained from Kaggle at [https://www.kaggle.com/datasets/vipoooool/new-plant-diseases-dataset]

Open resource ↗Kaggle · vipoooool/new-plant-diseases-dataset · lines:360-398
Datasetpublic

The PlantDoc dataset is available for download at [https://datasetninja.com/plantdoc#download]

Open resource ↗plantdoc · lines:360-398

This is an automatically classified, unverified record. Curator approval is required before any resource enters the Catalog.