What is AI data labelling?

Data labelling is assigning the correct class, category, value or answer to examples used for training or evaluation, by human experts or supervised automated tools.

It is also spelt data labeling or called data annotation. It differs from ground truth as a process differs from its result: ground truth is the set of answers accepted as correct, while labelling is the process that produces them. Supervised learning and model evaluation depend directly on its quality.

Topic
Machine learning, models and training
Also known as
Data labeling, data annotation

How AI data labelling works

  1. A label set and written labelling guidelines are prepared, with examples showing how to label ambiguous cases.
  2. Examples to label are selected; active learning prioritises those the model is least sure of to use the budget well.
  3. Some examples go to more than one person; agreement between labellers is measured and conflicts resolved by an expert.
  4. Approved labels are versioned and split into training, validation and test sets.

In more detail

Inter-annotator agreement metrics

Inter-annotator agreement (IAA) is best quantified rather than inspected informally: Cohen's kappa is standard for two raters, Fleiss' kappa for multiple raters on categorical tasks and Krippendorff's alpha when data has missing ratings or ordinal or interval scales. Setting a minimum IAA threshold, for instance a kappa of at least 0.75, reveals ambiguous guidelines before large-scale labelling begins.

Weak supervision and calibrated LLM judges

Beyond manual annotation and basic LLM pre-labelling, enterprises combine programmatic weak supervision (writing heuristic rules or regex or dictionary labelling functions as in Snorkel) with LLM-as-a-Judge pipelines calibrated against a human-verified golden set. Human experts then focus on low-confidence, high-disagreement or borderline cases rather than routine examples.

Preference and trajectory labelling for generative AI

In generative AI and agent workflows, labelling extends beyond fixed classes to preference comparisons (ranking response A against B for RLHF or DPO), multi-step tool-trajectory verification and safety and hallucination rubric scoring. Clear rubrics are essential because subjective prompts otherwise yield low agreement and noisy reward models.

Commonly confused terms

TermHow it differs
Data curationData labelling attaches target values or categories to individual samples. Data curation is the broader lifecycle encompassing deduplication, filtering, PII scrubbing, balancing and governance of the entire dataset.

Why AI data labelling matters for on-premises AI

Labelling is often the longest and most expensive step of in-house AI projects; in law, healthcare and banking only experts can give the label. Personal or confidential data is labelled in-house by authorised staff; sending it to an outside provider needs its own risk assessment. Label errors pass straight into models; mislabelled examples have been found even in widely used test sets. Quality control and a golden dataset are therefore part of labelling.

ON-PREMISES EXAMPLE

A hospital has two specialist doctors label finding types in radiology reports separately; a third doctor settles the reports they disagree on and the labelled data is not sent to an external service.

Common questions

How is labelling quality measured?

The same examples are labelled by several people and their agreement measured. Control examples with known answers are also mixed into the work.

Can language models be used for labelling?

Yes, often to produce draft labels. Those labels should not count as training or evaluation data until an expert has checked them.

Sources

In the glossary: Glossary, A to D

What does this term mean for your infrastructure?

We can work out together in a technical assessment how it maps onto your data, hardware and security requirements.

Request a technical assessment →

This site sets no cookies. Visitor numbers are counted in aggregate using a cookieless method that does not identify anyone. See the Privacy Policy for details.