Resources

How Does Data Labeling Shape Machine Learning Success?

How Does Data Labeling Shape Machine Learning Success?

Labeling is not a chore that ends before the real machine learning work starts. Labels are the model’s definition of correct, and when researchers audited ten popular benchmark datasets in 2021, they estimated that about 3.4% of the test labels were wrong, including 6% of the ImageNet validation set.

Stop treating labels as ground truth

That audit, by Curtis Northcutt, Anish Athalye and Jonas Mueller (NeurIPS 2021, Datasets and Benchmarks track), used a statistical method to flag suspect labels and then had people check them. The ImageNet figure meant 2,916 images carried a wrong or doubtful label in a set widely used to rank models.

Does that make the benchmarks useless? Not entirely. The authors found that model rankings on ImageNet and CIFAR-10 mostly held once the errors were fixed. But they also found that on corrected CIFAR-10 data, a simpler model (VGG-11) overtook a larger one (VGG-19) once the share of mislabeled test examples rose by 5%. Small amounts of noise can flip a close decision.

Training data is a different matter. A model can partly average out random label noise, but it learns systematic mistakes as if they were rules. If annotators consistently mark one kind of defect as “normal”, the model will too.

  • Measure agreement between two annotators on the same items before scaling up.
  • Re-label a small sample every week and compare it with the main batch.
  • Write down the edge cases in a guideline, and update it when annotators disagree.

Cheap crowd or domain experts

Whether a photo shows a bicycle is a task almost anyone can do. A tumor boundary on a scan or a clause type in a contract is not, and a general crowd will label those quickly and wrongly. When one phrase can mean two things, two annotators pick different labels and the model reads the disagreement as noise, so the fix is a guideline that names the intended meaning (the Wikipedia entry on semantic ambiguity covers the language side).

Annotator bias and privacy are the other two limits, and experts solve neither.

Label types are different jobs

People talk about “data labeling” as one activity, but a label looks completely different across tasks.

Table of six labeling tasks showing what a label looks like for regression, object detection, segmentation, named entities, anomalies and multiple labels

Regression targets

Here the label is a number. Stock price forecasting is a typical case: the model learns the relationship between features and a continuous outcome, and the same setup serves demand forecasting and real estate pricing. A walkthrough of predicting stock prices with machine learning shows how that looks in code. Labeling cost is low because the number often already exists in your records.

Boxes and pixels

Object detection labels draw boxes or polygons around items in an image or video and name them, which is how self-driving and robotics systems learn where obstacles are. Semantic segmentation is heavier: every pixel receives a class, which suits medical image analysis and remote sensing, and costs far more annotator time per image. Video adds another layer of effort, which the piece on video annotation goes into.

Text and anomalies

Named entity recognition marks names, companies and dates in raw text, and it feeds chatbots, search and question-answering tools. Anomaly detection labels records as normal or abnormal so a model learns to alert on threats and misuse, and the abnormal class is usually tiny, which creates its own imbalance problem. Multi-label classification assigns several classes to one item, such as a chest X-ray with two findings, and it can do that inside a single model rather than needing one model per label.

Choosing the type is a modeling decision, and it should happen before anyone is hired to label.

Is outsourcing the labeling worth it?

This is the assumption that holds up. Labeling at scale is repetitive and costs more as data gets complex, and few teams want engineers doing it for weeks.

Many data labeling services exist for that reason, and the useful ones sell quality checks along with labor: ask how they measure agreement and whether they will work from your guideline. The tradeoffs are laid out in the article on outsourcing data annotation, and datasets in machine learning covers what to collect first. Keep a small expert-reviewed set in-house as the gold standard for testing any vendor’s output.

Bogdan Sandu

Stay sharp. Ship better code.

Every week: one curated article, one tool worth knowing, one tip you can use tomorrow. No noise, no padding.