Data Leakage, Acquisition Bias, and Cross-Dataset Generalization in Guava Disease Image Classification
Purpose We examined how sharing images from the same photograph or acquisition session across training and test sets affects reported accuracy in guava disease recognition. Methods We audited four public datasets. For the Guava Fruit Disease Dataset (GFDD24), we inferred groups of related images and checked common photographic origin using filenames where available. A paired experiment held the evaluation images and training-set size fixed while changing whether training included images from the held-out groups. We also evaluated session holdouts and transfer between datasets with shared labels. Results All 382 official GFDD24 test images belonged to inferred groups represented in training. Filename records covered 139 of those test images and confirmed a training image from the same augmentation family for 132. On the same 354 evaluation images, replacing 219 training images with images from held-out groups increased mean MobileNetV2 accuracy from 94.54% to 97.83% across three seeds (paired gain 3.30 percentage points, 95% group-bootstrap interval 0.68–7.36). On a separate three-class leaf task, central-region balanced accuracy fell from 84.8% under grouped cross-validation to 45.9% on held-out sessions. Cross-dataset accuracy with frozen features ranged from 72.4% to 86.8%. Conclusion Sharing related images can inflate apparent accuracy. Reporting the source photograph, acquisition session, and split assignment for each image would make benchmarks easier to audit and their results easier to interpret.
Authors
- Md. Naimur Rahman (ORCID: https://orcid.org/0000-0001-5236-3784)
- Abdul Ahad (ORCID: https://orcid.org/0009-0005-1253-5314)
- Md. Atik Shahriar (ORCID: https://orcid.org/0000-0002-2581-2545)
- Nourash Azmine Chowdhury
Institutions
- North South University (BD)
Publication Details
- Journal
- Research Square
- Published
- 2026-11-25
- DOI
- https://doi.org/10.21203/rs.3.rs-11860184/v1
- Primary Topic
- Smart Agriculture and AI
- Type
- preprint