Research Careers Contact

GlossaryData labeling

Data labeling

Data labeling is the work of attaching the correct answer to raw data so a model can learn from it: a class name on an image, a box around a part, a mask over a defect or a field value in a document. The labeled set defines what the model is supposed to do.

How it works

Labeling starts with a written guide: the classes, how to draw boxes or masks, and what to do with unclear cases. Labelers, who are often domain experts for industrial data, then apply it in a labeling tool. A share of items is labeled twice to measure agreement, and disagreements go to a reviewer who updates the guide.

Several methods reduce the work. Model-assisted labeling has a model propose labels for people to correct. Active learning picks the items the model is least sure about, so labeling effort goes where it changes the model most. Weak supervision, described in a 2017 paper, combines rules and other noisy sources into training labels without labeling every item by hand.

Labels contain errors. A 2019 method called confident learning estimates which labels are probably wrong by comparing them with a model's predictions, so they can be reviewed and fixed.

Data labeling vs data annotation

The terms are often used interchangeably. Some teams use annotation for detailed markup, such as masks, keypoints or text spans, and labeling for assigning a class. Both produce the ground truth a model is trained and tested against.

Why it matters

A model can only be as consistent as its labels. If two inspectors call the same solder joint differently, the model learns the confusion. Clear labels also make test results meaningful, since accuracy is measured against them.

How to get it right

  • Write the labeling guide before labeling, with pictures of edge cases.
  • Use experts for technical calls, such as defect types against IPC-A-610 criteria.
  • Double-label a sample and track agreement over time.
  • Review the items where the model and the label disagree.
  • Version datasets and guides, so every model traces to the labels it used.

Data labeling in robotics and drone hardware

Inspection images, robot camera frames and drone survey imagery all need labels before a model can use them. In electronics, defect labels map to acceptance criteria and reference designators, so a label carries both what the defect is and where. Good labels from early builds become the training data that later builds rely on.

Learn more