Every machine learning team eventually discovers the same uncomfortable truth: some of the labels in their training set are wrong. Studies of popular public datasets have found label error rates of several percent, and private datasets built under deadline pressure are often worse. The good news is that you can find many of these errors systematically instead of re-reviewing everything by hand.
Why label noise matters
A model trained on noisy labels learns the noise. It wastes capacity memorising mistakes, its validation scores become unreliable, and the errors that remain are often concentrated in the rare classes you care about most.
A practical workflow for finding label errors
1. Train a baseline with cross-validation. Use k-fold training so every example gets an out-of-sample predicted probability.
2. Compare predictions with given labels. Examples where the model is very confident in a different class than the assigned label are prime suspects. This is the core idea behind confident learning.
3. Rank, do not delete. Sort suspects by how strongly the model disagrees and send the top slice for human review. Automated deletion removes hard but correct examples too.
4. Check the confusion pairs. If most suspects are "cat labeled as fox" you probably have a guideline problem, not random noise.
5. Fix the source. Update the annotation guideline, retrain annotators on the confusing pair, and add those examples to your gold set.
Simple pseudo-code
probs = cross_val_predict(model, X, y, cv=5, method="predict_proba")
pred = probs.argmax(axis=1)
conf = probs.max(axis=1)
suspects = [(i, y[i], pred[i], conf[i]) for i in range(len(y))
if pred[i] != y[i] and conf[i] > 0.9]
suspects.sort(key=lambda s: -s[3])
send_for_review(suspects[:500])
Where humans still matter
Algorithms can point at likely errors, but a trained reviewer has to decide whether the label is wrong, the image is ambiguous, or the ontology needs a new class. That human-in-the-loop step is what turns error detection into better data.
Taskmonk's guide to data labeling quality covers quality metrics and review design in more depth, and its AI-assisted annotation features combine model suggestions with expert review in one workflow.
Takeaway
Treat label errors as a measurable, fixable defect. A short confident-learning pass before every major training run will often improve accuracy more than another week of model tuning.
Top comments (0)