
If you have talked to an artificial intelligence supplier, you may have heard: first, the data has to be labelled. Or they call it tagging or annotation. It sounds like a technical detail, something to get out of the way in an afternoon.
It isn’t. An AI project often stalls not because of the computer or the model, but because nobody put labelling on the schedule. It is work done by people, it takes time and it has to be planned like any other phase.
In this article we look at what data labelling is, starting from scratch. First a quick refresher on how a model learns. Then the types of label, who should do the work, how long it takes and what you need in your company.
A quick refresher: how a model learns
An artificial intelligence model is a program that does not follow hand-written rules: it learns from examples. We covered this in the article on fine-tuning; here we only recap what we need.
Picture the model as a huge mixing desk full of knobs, which specialists call parameters. You show it an example, it makes a guess, and you compare its answer with the right one. If it got it wrong, every knob is turned a tiny bit in the direction that reduces the error.
This cycle, repeated thousands of times, is called training. Fine-tuning is the same thing on a small scale: you start from a model that already knows the basics and specialise it with your examples.

One step makes all the difference: you compare its answer with the right one. But who provides the right answer? A photo on its own doesn’t say whether there is a crack: someone has to write it down. That is labelling.
What data labelling is
Labelling a piece of data means attaching the right answer to it. A photo gets crack or good; an email gets complaint or order. That answer is called a label.
A set of data with its labels is called a labelled dataset. It is the material the model learns from, and also the material used to check whether it has learnt well.
You will hear it called labelling, annotation or tagging. They all mean the same thing.
Types of label
Not all labels are the same. The more precise the label, the more precise the things the model can do. But the longer it takes to create.

| Type of label | What it says | Example on the tile | What the model learns | Effort |
|---|---|---|---|---|
| Yes / no | whether there is a defect | defective or good | to reject or not | low |
| Class | which defect | crack, stain or chip | to say what the defect is | low |
| Bounding box | roughly where the defect is | a rectangle around the crack | to find and count defects | medium |
| Precise outline | the exact shape of the defect | a line that follows the crack point by point | to measure its length and area | high |
The logic is the same for text. You can give each document a category, for example the department an email should be forwarded to. Or you prepare question–answer pairs: a typical question from a technician and the right answer, written by someone who knows.
To give you an idea of the time involved, here is how long it takes to label a single object, in our case a single defect, according to some studies:
- Box drawn by hand, dragging the mouse from one corner to the other and then adjusting it: about 35 seconds.
- Box with four clicks on the extreme points of the defect (top, bottom, left and right): about 7 seconds (Papadopoulos et al., 2017).
- Precise outline, with a model helping to trace it: about 14 seconds. Without that help, much longer (Kirillov et al., 2023).
A few seconds sounds like nothing. But multiplied by thousands of photos it becomes days of work: that is why the type of label, and the way it is done, must be chosen before you start.
The rule of thumb: choose the simplest label that answers your question. If all you need is to reject the part, there is no point drawing the outline of the crack.
When you need labelling, and when you don’t
You need it whenever a model has to learn something of yours, through training or fine-tuning. Without labelled examples there is nothing to compare the answers with, and so nothing to learn.
You need much less of it in two cases.
When you use a model as it is. If a ready-made model already does the job well, you don’t have to teach it anything. A small labelled sample is enough to check that it answers correctly: you label to check, not to teach.
When you want to give the model information. To make an assistant answer questions about manuals and procedures, the model is given the right documents to read at the moment the question is asked. This is document search, also called RAG. The rule from the previous article applies: behaviours are taught with fine-tuning, information is given to read.
Watch out for the other kind of tagging
This is exactly where a misunderstanding arises. In document search, tagging means something different: adding keywords such as department, machine or date to files so they are easier to find. These are metadata, that is, information about the documents, and they teach the model nothing.
If a supplier talks to you about tagging, ask which of the two they mean. The people to involve and the hours to plan change.
Who does the labelling, and with which tools
Labelling is done by the people who know the trade. Not the IT specialist: they know how to train the model, but they can’t tell a chip from a glaze defect. The quality technician who has been looking at tiles for twenty years can.
The risk is overloading exactly these people. In a steel inspection case described by Landing AI, labelling had landed on the shoulders of a few production supervisors and quality engineers. Overworked, they made more mistakes, and the model stalled at 70–80% correct answers: worse than visual inspection.
The solution was to split the roles. Clear defect definitions, other people trained to label, and the experts checking and approving. The model rose to 93% on critical defects (Landing AI).
The tools
Labelling is done with dedicated software. It shows you the photo, lets you pick the class or draw the box, and saves everything in a format the model understands.
There are free and open-source ones, meaning their code is public, such as CVAT and Label Studio. They can be installed on a company computer, so the photos stay in-house.
Pre-labelling: the model proposes, the person confirms
Labelling everything by hand is slow. That is why pre-labelling is often used: a model proposes the label and a person confirms or corrects it. Correcting is much faster than starting from zero.

In one study, drawing a box from scratch took about 10 seconds, correcting one proposed by the model about 5. Across the whole job, the hours went from about 13 to less than 2 (Adhikari et al., 2018). Meta used the same method for its SAM model: with the model helping, the time for an outline fell from 34 to 14 seconds (Kirillov et al., 2023).
One rule still applies: the person has the final say. If the model gets it wrong and nobody corrects it, the error goes into the dataset, and the new model learns it.
Quality and consistency: a wrong label teaches the error
A model learns exactly what you show it. If half the fine cracks are labelled crack and the other half scratch, the model learns to guess.
It doesn’t only happen in small companies. Researchers from MIT and Amazon found an average of 3.4% wrong labels in the test data of ten widely used public datasets, including ImageNet (Northcutt et al., 2021).
Andrew Ng, one of the best-known names in AI, gives an example that could have been written for a tile factory. Two people look at the same defect: one calls it a scratch, the other a chip. Neither is really wrong, but the model receives two different answers for the same thing (Ng, 2022).
Three habits prevent the problem.
- Written rules. A short document that says what each defect is, with an example photo. For example: under 2 mm it is a scratch, over 2 mm it is a crack.
- A procedure for doubtful cases. When you are not sure, you don’t guess: you set the photo aside, decide together and update the rule. According to Ng, almost any decision is better than no decision.
- Two people on the same sample. From time to time two people label the same photos without seeing each other’s work. Where they disagree, there is a rule to clarify.

How many examples you need, and why rare cases matter
There is no number that works for everyone. It depends on the task, the starting model and how similar the cases are.
For an order of magnitude: for YOLOv5, a widely used family of models for recognising objects in images, the developers recommend at least 1,500 images and 10,000 labelled objects per class (Ultralytics). That is the target for the best results, not the minimum to get started. Andrew Ng points out that in industry data is often scarce, and that a little good data can be enough (MIT Sloan).
The tricky part is rare cases. Take an example: if 97% of tiles are good, photographing 3,000 at random gives you about 90 defects in total. Split between cracks, stains and chips, there may be only a dozen chips: too few for the model to learn to recognise them.

That is why rare defects have to be looked for on purpose: among the rejects, in the archive, across several shifts and batches. The photos must be taken in the real conditions of the line, with the same lighting and the same camera. And you also need the good tiles: they teach the model what is not a defect.
An example: the tile factory, from photo to dataset
Let’s go back to the ceramics company from the fine-tuning article (an example, not a real customer). It wants to recognise cracks, stains and chips at the end of the line. Here is how it goes from photos to a labelled dataset.
- It collects the photos. The in-line camera takes pictures for two weeks, across all shifts. In addition, rejects from the warehouse are photographed, to get enough rare defects.
- It writes the rules. The quality manager prepares two pages with the definition of each defect and a photo for each. They also choose the type of label: a box around each defect, because they want to know where it is.
- It runs a test. Two technicians label the same 200 photos. Where they disagree, the rule is corrected and they start again.
- It pre-labels. The first few hundred hand-labelled photos are used to train a first model. From then on, the model proposes the boxes and the technicians confirm or correct them.
- It checks. The manager re-checks part of the photos. Doubtful cases go into a separate folder and are decided together once a week.
- It sets aside a group of photos. They won’t be used for teaching, but for the model’s final exam: photos it has never seen.

At the end, the company has a few thousand labelled photos, with written rules and a quality check. This is where fine-tuning starts.
What your company needs: people, time and computers
People. One or two experts who label or check, and a manager who writes the rules and decides the doubtful cases. If the volume is high, other people can be trained, but the expert approves.
Time, and how to budget for it. The calculation is simple: number of examples times average time per example, plus checks and doubtful cases. Here is an example with hypothetical figures.
3,000 photos with one box each, at 30 seconds per photo, make 25 hours. Add 30% for checks, doubtful cases and rules, and you get about 33 hours: almost a week of an experienced technician’s time, taken away from production.
Put it on the schedule as a project phase, with a name and a date. And remember it is not a one-off: a new collection, a new camera or a new defect all need new labels.
The computer. Here there is good news: you don’t need a special computer for labelling. A normal PC with a good monitor is enough, because it is work for the eyes and the mouse. The real cost is people’s hours.
Things change only for pre-labelling. The model that proposes the labels works better on a computer with a GPU, the card that does a huge number of calculations at once. It is often the same workstation you will then use for fine-tuning.
The data stays in-house. Product photos, technical drawings, customer emails: often they must not leave the company. With a tool installed on site and pre-labelling on a local computer, no file ends up on an external service. If you outsource the work to an agency, clarify beforehand where the data goes.
Five questions to ask yourself before designing a system that learns from your data
- Does the model have to learn something, or just read information? If it only has to read documents, labelling is of little use.
- What type of label do I need? Yes/no, class, box or outline: choose the simplest one that answers your question.
- Who labels, and who decides doubtful cases? Names, with the hours already freed from other commitments.
- Do I have enough examples of the rare cases? If not, where will I get them?
- Can the data leave the company? If not, tools and pre-labelling must be kept on site.
Frequently asked questions about data labelling
What is data labelling, in simple terms?
It is the work of attaching the right answer to each piece of data: to a photo, the defect it contains; to an email, its subject. Labelled data is what an artificial intelligence model learns from, by comparing its answers with the right ones.
Are labelling, annotation and tagging the same thing?
In model training, yes: they are different names for the same work. Be careful with tagging, though: in document search it also means the keywords added to files to find them again, which teach the model nothing.
Who should do the data labelling?
People who know the trade: for production defects, the quality technicians. Others can help, as long as they follow written rules and an expert checks their work.
How long does it take to label a dataset?
It depends on the number of examples and the type of label: choosing a class takes a few seconds, a box tens of seconds, a precise outline more. Pre-labelling with a model can halve the time. In this article’s example, 3,000 photos with one box each, it comes to about 33 hours.
Do you need a powerful computer to label data?
No. A normal PC with a good monitor is enough for labelling. A GPU is only needed if you use a model for pre-labelling, and it is often the same machine you will use for fine-tuning.
In short
A model learns by comparing its answers with the right ones. Labelling data means preparing those answers, example by example. It is done by the people who know the trade, with written rules, checks and, where possible, a model that proposes and a person who confirms.
It doesn’t require a special computer, but it does require hours: hours of experienced people, to be budgeted and scheduled. That is why so many AI projects stop here, and not at the hardware.
Knowing how much labelling work lies ahead is the first step. The second is choosing the right computers for each phase: for labelling, for specialising the model and for running it on the line.
Sources
- Papadopoulos et al., Extreme clicking for efficient object annotation (ICCV 2017)
- Kirillov et al., Segment Anything (2023)
- Adhikari et al., Faster Bounding Box Annotation for Object Detection in Indoor Scenes (2018)
- Landing AI, steel inspection case study (2021)
- Northcutt et al., Pervasive Label Errors in Test Sets Destabilize Machine Learning Benchmarks (NeurIPS 2021)
- Andrew Ng, Tips for a data-centric AI approach (Snorkel AI, 2022)
- MIT Sloan, Why it’s time for data-centric artificial intelligence
- Ultralytics, Tips for best YOLOv5 training results
- CVAT on GitHub
- Label Studio on GitHub
