Leakage-audited cross-dataset evaluation reveals large generalization gaps in deep learning models for apple and maize disease recognition

Abstract Deep learning models for plant disease recognition often reach near-perfect accuracy on curated benchmark images, yet how well this performance carries over to independently collected images is rarely measured directly. We trained five image-classification networks (ResNet50, EfficientNet-B0, DenseNet121, ConvNeXt-Tiny and ViT-B/16) on PlantVillage apple and maize leaf images under one shared protocol and tested each trained model, without adaptation, on independently sourced images: 1,730 apple images from Plant Pathology 2020 and 371 web-sourced maize images. Before training, an exact-file audit removed seven duplicate PlantVillage images and found no exact or perceptual near-duplicates shared between source and external datasets. On held-out PlantVillage images, Macro-F1 ranged from 0.949 to 1.000. On external images it fell to 0.472–0.723 for apple and 0.209–0.375 for maize. Exact McNemar tests with Holm correction identified significant differences in per-image correctness for several model pairs. Because each architecture was trained once with one seed, architecture-specific comparisons are treated as exploratory. The results show that near-perfect benchmark scores should not be interpreted as evidence of field readiness; independent external testing and leakage auditing are essential.

Authors

Institutions

Publication Details

Journal
Research Square
Published
2026-11-06
DOI
https://doi.org/10.21203/rs.3.rs-11242039/v1
Primary Topic
Smart Agriculture and AI
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Leakage-audited cross-dataset evaluation reveals large generalization gaps in deep learning models for apple and maize disease recognition

Princy Randhawa, Muzameel Ahmed, Yogesh ., B M Chandrakala et al.
1 links
Research Square
Smart Agriculture and AI
preprint

Leakage-audited cross-dataset evaluation reveals large generalization gaps in deep learning models for apple and maize disease recognition

Princy Randhawa, Muzameel Ahmed, Yogesh ., B M Chandrakala, P Sudir
preprint en

Abstract

Abstract Deep learning models for plant disease recognition often reach near-perfect accuracy on curated benchmark images, yet how well this performance carries over to independently collected images is rarely measured directly. We trained five image-classification networks (ResNet50, EfficientNet-B0, DenseNet121, ConvNeXt-Tiny and ViT-B/16) on PlantVillage apple and maize leaf images under one shared protocol and tested each trained model, without adaptation, on independently sourced images: 1,730 apple images from Plant Pathology 2020 and 371 web-sourced maize images. Before training, an exact-file audit removed seven duplicate PlantVillage images and found no exact or perceptual near-duplicates shared between source and external datasets. On held-out PlantVillage images, Macro-F1 ranged from 0.949 to 1.000. On external images it fell to 0.472–0.723 for apple and 0.209–0.375 for maize. Exact McNemar tests with Holm correction identified significant differences in per-image correctness for several model pairs. Because each architecture was trained once with one seed, architecture-specific comparisons are treated as exploratory. The results show that near-perfect benchmark scores should not be interpreted as evidence of field readiness; independent external testing and leakage auditing are essential.

Research Square
Dayananda Sagar University (IN), Dayananda Sagar College of Engineering (IN), Dayananda Sagar Academy of Technology and Management (IN)
Zero hunger
Smart Agriculture and AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon