Paper · 2025 · Agriculture

Automatic Correction of Labeling Errors Applied to Tomato Detection

Ángel Eduardo Zamora Suárez; Gerardo Antonio Alvarez Hernandez; Juan Irving Vasquez; et al.

4
claims
8
verbatim quotes
0
citations
2
research areas
✓
Open access · cc-by

Abstract

Accurate labeling is critical for training reliable deep learning models in agricultural applications. However, manual labeling is often error-prone, especially when performed by non-experts, and such errors (modeled as noise) can significantly degrade model performance. This study addresses the problem of correcting labeling errors in object detection datasets without human intervention. We hypothesize that label noise can be reduced by exploiting the feature space representation of the data, enabling automatic refinement through repeated model-based filtering. To test this, we propose a recursive methodology that employs a YOLOv5 detector to iteratively relabel a dataset of Prunaxx and Paipai tomato images captured in greenhouse environments. The correction process involves training the detector, predicting new labels, and replacing existing labelings over multiple iterations. Experimental results show substantial improvements: the mean Average Precision at an IoU threshold of 0.50 (mAP-50) increased from 0.8 to 0.86, the mean Average Precision across IoU thresholds from 0.50 to 0.95 (mAP-50:95) increased from 0.46 to 0.63, and Recall improved from 0.68 to 0.82. These results demonstrate that the model was able to detect more true positives after filtering, while also achieving more accurate bounding box predictions. Although a slight decrease in Precision was observed in later iterations due to false positives, the overall quality of the dataset improved consistently. In conclusion, the proposed filtering method effectively enhances label quality without manual intervention and offers a scalable solution for improving object detection datasets in precision agriculture.

Abstract from the paper’s OpenAlex record; open copy licensed cc-by. Read at the source ↗

The text the model read, with the source record’s inline markup (italics, sub- and superscripts) rendered and its character entities decoded; quote offsets refer to the raw text.

Claims 4

Method / resourceobservedoriginal resultpositivemeasured

Claim · model-written summary

Tomato detection mAP-50 increased from 0.8 to 0.86 after iterative label correction.

Outcome
mAP-50e1
Direction
increasede1
Value
0.86e1
Comparator
0.8e1

Organisms pictured · Representative pictures of the matched species, not figures from the paper.

Solanum lycopersicum
Solanum lycopersicum · TaxonKod B · CC BY-SA 4.0 · Wikimedia Commons ↗

Verbatim

e1

“the mean Average Precision at an IoU threshold of 0.50 (mAP-50) increased from 0.8 to 0.86”

✓ located verbatim in the source · abstract, characters 944–1034 · show in text ↑
t0

“Tomato Detection”

✓ located verbatim in the source · title, characters 51–67 · show in text ↑
Method / resourceobservedoriginal resultpositivemeasured

Claim · model-written summary

Tomato detection mAP-50:95 increased from 0.46 to 0.63.

Outcome
mAP-50:95e1
Direction
increasede1
Value
0.63e1
Comparator
0.46e1

Organisms pictured · Representative pictures of the matched species, not figures from the paper.

Solanum lycopersicum
Solanum lycopersicum · TaxonKod B · CC BY-SA 4.0 · Wikimedia Commons ↗

Verbatim

e1

“the mean Average Precision across IoU thresholds from 0.50 to 0.95 (mAP-50:95) increased from 0.46 to 0.63”

✓ located verbatim in the source · abstract, characters 1036–1142 · show in text ↑
t0

“Tomato Detection”

✓ located verbatim in the source · title, characters 51–67 · show in text ↑
Method / resourceobservedoriginal resultpositivemeasured

Claim · model-written summary

Tomato detection recall improved from 0.68 to 0.82.

Outcome
Recalle1
Direction
improvede1
Value
0.82e1
Comparator
0.68e1

Organisms pictured · Representative pictures of the matched species, not figures from the paper.

Solanum lycopersicum
Solanum lycopersicum · TaxonKod B · CC BY-SA 4.0 · Wikimedia Commons ↗

Verbatim

e1

“Recall improved from 0.68 to 0.82”

✓ located verbatim in the source · abstract, characters 1148–1181 · show in text ↑
t0

“Tomato Detection”

✓ located verbatim in the source · title, characters 51–67 · show in text ↑
Method / resourceobservedoriginal resultnegativemeasured

Claim · model-written summary

Precision decreased slightly in later correction iterations because of false positives.

Outcome
Precisione1
Direction
decreasee1
Qualifier
false positivese1

Not reportedValue

Organisms pictured · Representative pictures of the matched species, not figures from the paper.

Solanum lycopersicum
Solanum lycopersicum · TaxonKod B · CC BY-SA 4.0 · Wikimedia Commons ↗

Verbatim

e1

“a slight decrease in Precision was observed in later iterations due to false positives”

✓ located verbatim in the source · abstract, characters 1350–1436 · show in text ↑
t0

“Tomato Detection”

✓ located verbatim in the source · title, characters 51–67 · show in text ↑