Data

What is data labeling?

In short

Data labeling is tagging examples with the correct answer, such as marking an email as 'complaint' or drawing a box around a defect in a photo, so that an AI model can learn from them. Labeled examples are also used to test AI quality.

Many AI models learn from examples where the right answer is known. Someone has to provide those answers. Today, large language models can do much of the first labeling, and people check and correct the hard cases.

Mini course

3 short lessons, about 2 minutes in total

  1. Teaching by example
  2. Good labels
  3. AI-assisted labeling

Lesson 1

Teaching by example

A model that sorts emails needs to see emails with the right category. A model that spots defects needs photos marked with where the defect is. Labeling is adding that answer to each example. The labels become the 'teacher' the model learns from.

Raw examples
Add labels
People or AI tag examples with the right answer, and those labeled examples teach a model to give the right answer on new data

Tap a box to open that concept

The quality of the labels sets a ceiling on the quality of the model.

Lesson 2

Good labels

Write clear guidelines with examples of each label, including borderline cases. Have two people label the same sample and compare, which shows where the guidelines are unclear. Keep the number of labels small and distinct.

Messy labels teach a model to be messy, however advanced it is.

Lesson 3

AI-assisted labeling

Language and vision models can now label much faster than people, often with good accuracy. A practical flow: AI suggests labels, people review the uncertain ones and a random sample, corrections are fed back.

  1. Customers find youHow customers and AI tools find the companySEOGEOGoogle AI Overviews
  2. AI in daily workTools staff and customers useChatbotAI copilotVoice AI
  3. Building blocksHow AI connects to data and systemsRAG (retrieval-augmented generation)AI agentMCP (Model Context Protocol)
  4. AI modelsThe models that understand and createLarge language model (LLM)Generative AIMachine learning
  5. DataCompany data, gathered and cleanedData labelingData warehouseETLData quality
  6. InfrastructureCloud, networks and systems underneathCloud computingDatabaseAPI key
Trust and rulesSecurity, law and control in every layerGDPR and AIEU AI ActAI guardrails
Where Data labeling sits in a company's AI setup

Even if you never train your own model, a labeled test set is how you check that a ready-made AI tool makes the choices your experts would.

An everyday example

A manufacturer has workers mark 2,000 photos as 'OK' or 'scratch' or 'dent', then trains a camera model to sort parts on the line.

How companies use it

Companies label data to train custom models, to build test sets for chatbots and AI tools, and to measure whether an AI system makes the same choices an expert would.

Frequently asked questions

How many labeled examples do I need?

For testing, 50 to a few hundred. For training a custom model, from hundreds to many thousands, depending on the task.

Can AI label data?

AI can label data: language models pre-label text and images well. Have people check a sample and all uncertain cases.

Who should do the labeling?

People who know the task. Experts give better labels than outsiders for anything that needs judgment.

In depth: Data labeling

The full picture, about 4 minutes of reading

Teaching by showing the right answer

Data labeling means adding the correct answer to a set of examples. An email gets the tag "complaint" or "order change". A photo of a part gets a box drawn around the scratch. A recorded call gets a note saying "customer wanted a refund". The examples together with their labels form a dataset that an AI model can learn from, or be tested against.

This matters because many AI models learn the way a new employee does: by seeing lots of cases where someone experienced has already shown what the right call is. The model studies the examples and their labels until it can give the same label to new cases on its own. The labels are, in effect, the teacher. If the teacher is confused or inconsistent, the student will be too, however advanced the model is.

Two reasons to label: training and testing

The first reason is training. If you want a model that sorts your customer emails into your own categories, or spots the defects that matter on your production line, it needs examples from your world. A general model has never seen your product codes or your idea of what counts as urgent.

The second reason is just as important and much more common for small companies: testing. Even if you use a ready-made AI tool and never train anything, you need a way to know whether it makes the choices your experts would. A labeled test set, a collection of real cases with the correct answer written next to each, lets you run the tool on those cases and count how often it agrees. It also lets you compare two tools, or check whether an update made things better or worse.

A test set can be fairly small. Training usually needs many more examples, depending on how hard the task is.

How labeling is done, step by step

First, decide the labels. Keep the list short and make sure each label means something clearly different. "Complaint" and "dissatisfied customer" will be confused all the time.

Second, write guidelines. For each label, describe what it covers, give a few typical examples and, most importantly, describe the borderline cases. What if an email is both a complaint and an order change? The guideline should say.

Third, label a first small batch, ideally with two people working on the same examples separately. Compare the results. Where they disagree, the guideline is unclear, so improve it before going on.

Fourth, label the rest, checking a random sample now and then.

Fifth, store the labels together with the guideline version used, so you know later which rules they followed.

Where it goes wrong

The most common problem is inconsistent labels. When different people apply the rules differently, or one person changes their mind halfway, the model learns a blurred pattern. It may still look fine on average but behave oddly on the cases that matter most.

The second problem is unrepresentative examples. If all the labeled emails come from one month, one product line or one kind of customer, the model or test will not reflect the full range of what happens. Rare but important cases, such as a serious safety complaint, may be missing completely.

The third is who labels. Outsiders can label simple things, such as whether a photo shows a car. For anything that needs judgment, such as whether a contract clause is risky or a weld is acceptable, people who actually do the work give far better labels. Their time is the real cost of labeling.

Letting AI do the first pass

Labeling used to be slow, manual work. Today, language models and image models can produce a first set of labels quickly, often with good accuracy, by following the same written guidelines a person would.

A practical setup looks like this. The AI suggests a label for every example and says how sure it is. People review all the cases where the AI is unsure, plus a random sample of the cases where it is sure, to catch confident mistakes. Every correction is saved and used to improve the guidelines or the instructions to the AI.

This can cut the work a lot, but it does not remove the need for human judgment. If nobody checks, the AI's own errors become the "correct answers", and anything trained or tested on them will repeat those errors.

What it means for a small business

For a small business, the most useful labeling project is usually a small test set, not a large training set. Collect real examples of a task you want AI to help with, such as incoming emails, invoices or support questions. Have the person who knows the task best write down the correct answer for each. A few dozen well-chosen cases, including the tricky ones, already tell you a lot.

Use that set every time you try a new AI tool, change the instructions or get a model update. It turns "it seems to work" into a clear check of how often the tool gets it right, and on which kinds of cases it fails. Keep the set up to date as your business changes.

Curious what this could mean for your company? Book a call.

Book a call