← Latest papers
💻 computer science

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

This study reveals that near-duplicate contamination in a public banana nutrient-deficiency dataset is heavily concentrated in specific classes rather than uniformly distributed, causing random train-test splits to inflate benchmark accuracy by up to 5.72 points and masking significant performance drops in affected categories like healthy and sulphur-deficient leaves.

Original authors: Yogesh Yogesh, P Sudir, Princy Randhawa, Muzameel Ahmed, Chandrakala B M

Published 2026-11-25
📖 5 min read🧠 Deep dive

Original authors: Yogesh Yogesh, P Sudir, Princy Randhawa, Muzameel Ahmed, Chandrakala B M

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the modern world of farming, farmers and scientists are increasingly turning to cameras and computers to diagnose sick plants. Instead of sending a leaf to a lab, a farmer can snap a photo and have an artificial intelligence program tell them exactly what nutrient the plant is missing. This approach, known as precision agriculture, relies on machine learning models that have been trained on thousands of example images. These models learn to recognize patterns, such as yellowing edges or brown spots, that signal a lack of specific vitamins or minerals. For these systems to work, the training data must be perfect: the computer needs to see a wide variety of unique leaves so it can learn the actual symptoms of a disease, rather than just memorizing specific pictures. If the computer is fed the same image twice, once as a lesson and once as a test, it will simply recognize the picture it has already seen, giving a false sense of how smart it really is.

A team of researchers from Dayananda Sagar University in India decided to investigate whether this problem of "data leakage" was happening in a popular dataset used to train computers to spot banana nutrient deficiencies. This dataset, which contains over ten thousand images of banana leaves, is widely used by scientists to test their new algorithms. The researchers suspected that the dataset might be full of near-duplicates—images that look almost identical because they are the same leaf, perhaps slightly rotated or brightened, rather than truly different specimens. They set out to audit the entire collection, not just to count the duplicates, but to see if these copies were spread evenly across all types of deficiencies or if they were concentrated in specific categories. Their goal was to measure exactly how much this hidden repetition was inflating the success scores reported in scientific papers.

The researchers began by running a specialized computer program over the entire collection of 10,600 images. This program acted like a visual fingerprint scanner, converting each picture into a short code that represented its visual appearance. By comparing these codes, the system could identify images that were nearly identical, even if they had been slightly altered by the dataset creators to make the training set larger. The audit revealed a startling fact: nearly 40 percent of the entire dataset consisted of these near-duplicate groups. However, the distribution was not random. The problem was not spread out evenly across the nine different categories of banana health. Instead, the duplication was heavily concentrated in just two classes. Every single image in the "healthy" category and every single image in the "sulphur deficiency" category belonged to a group of duplicates. The other seven categories, which included deficiencies of iron, zinc, and potassium, had much lower rates of repetition, averaging around 11 percent.

To understand the real-world impact of this discovery, the researchers simulated how these models are typically trained and tested. In a standard experiment, a dataset is split into a training set, where the computer learns, and a test set, where its knowledge is checked. Because the dataset was split randomly, the computer often ended up seeing a duplicate of a leaf in the training phase and then being tested on the original version of that same leaf. The researchers found that under this common setup, more than a quarter of the test images had a twin in the training set. For the healthy and sulphur-deficient classes, this contamination rate was even higher, reaching over 66 percent. This meant the computer was not really learning to identify symptoms; it was simply memorizing that it had seen these specific leaves before.

The team then trained a standard computer vision model twice: once using the traditional random split, and once using a "group-aware" split where they ensured that if a leaf appeared in the training set, none of its duplicates could appear in the test set. When they compared the results, the difference was significant. The model trained on the contaminated, random split achieved an accuracy of 88.45 percent. When the duplicates were removed from the test set, the accuracy dropped to 82.73 percent. This five-point gap was not a minor fluctuation; it was a consistent, measurable error that appeared in every single run of the experiment. The researchers confirmed that this drop was not due to the model getting confused by a different mix of data, but specifically because it was no longer allowed to recognize previously seen images.

When they looked closer at the performance of each specific category, the true cost of the contamination became clear. The model's performance on the healthy and sulphur-deficient classes collapsed when the duplicates were removed, with accuracy falling by nearly 10 and 14 points respectively. In contrast, the performance on the other seven classes barely changed, and in some cases, actually improved slightly. This proved that the high scores previously reported for this dataset were largely an illusion created by the two heavily duplicated classes. The model had been flattered by its ability to recognize the same healthy leaves over and over again, masking its inability to truly diagnose the more complex, less duplicated deficiencies.

The study concludes that the way this dataset has been used in the past has led to an overestimation of how well these artificial intelligence systems can actually diagnose banana diseases. The researchers argue that simply reporting a single overall accuracy number for such a dataset is misleading because it hides the fact that the error is concentrated in specific areas. They have released the tools they used to find these duplicates, along with corrected versions of the dataset splits, so that other scientists can test their models fairly. The work serves as a reminder that in the rush to build smarter agricultural tools, the integrity of the data itself must be scrutinized, because a model that has memorized its test questions is not a model that can solve real problems in the field.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →