Near-Duplicate Contamination Is Concentrated, Not Uniform: A Class- Level Audit of a Public Banana Nutrient-Deficiency Image Dataset and Its Effect on Benchmark Accuracy
A random split of a single public dataset is used to score the majority of nutrient-deficiency classifiers. That is only effective if every photograph is a unique specimen. Frequently, it isn't. The score partially assesses recollection of previously seen content because augmented copies are often published alongside their originals, and duplicates of one leaf are randomly dropped into training and test alike. Using two perceptual hashes and a grouping strategy based on seeds that prevents unrelated photos from being chained into a single cluster, we audited all 10,600 images of a banana deficiency collection. Outcome: 4,155 photos, 2,005 groups, and 39.2% of the release. No group held more than six images, and 1,882 of them bridged the raw and augmented folders. That headline number turns out to describe the dataset badly. Every image in the healthy class and every image in the sulphur class sits inside a duplicate group; the other seven classes average 11.0%. Contamination under the 70:10:20 split used for training reaches 27.1% of test images overall—71.6% in healthy, 66.4% in sulphur, and below 11% everywhere else. Six matched runs of MobileNetV3-Large gave 88.45% (SD 0.57) on the random split against 82.73% (SD 0.85) on the group-aware one, a shortfall of 5.72 points (Welch t = 13.7, p < 0.001, 95% CI 4.8 to 6.7). Per-class recall locates it. Sulphur falls 14.3 points and healthy 10.0; no other class loses more than 3.5, while three classes improve, potassium by 9.0. Scoring one trained model separately on the contaminated and clean halves of its own test set gave 92.87% against 85.05%, a 7.82-point gap (p = 1.7 × 10⁻⁶). Balanced accuracy went the other way, 83.42% against 85.40%, because 79% of the contaminated half comes from the two affected classes. Contamination here is real, and it costs accuracy, but it belongs to particular classes rather than to the dataset, and a single percentage is a poor guide to it. The audit tool, group listings, and corrected partitions are released.
Authors
- Princy Randhawa (ORCID: https://orcid.org/0000-0001-6356-8718)
- B M Chandrakala (ORCID: https://orcid.org/0009-0006-0485-6414)
- Muzameel Ahmed
- Yogesh Yogesh
- P Sudir
Institutions
- Dayananda Sagar University (IN)
- Dayananda Sagar College of Engineering (IN)
- Dayananda Sagar Academy of Technology and Management (IN)
Publication Details
- Journal
- Research Square
- Published
- 2026-11-25
- DOI
- https://doi.org/10.21203/rs.3.rs-11090762/v1
- Primary Topic
- Smart Agriculture and AI
- Type
- preprint