Sub topic 4
Choosing and training annotators
This chapter assumes you know what a label schema and written guidelines are, and that you can read basic Python. You should also know what percent agreement means. Kappa comes later in the tutorial, so the code here uses it only as a screening tool.
Your guidelines are only as good as the people who apply them. Annotator choice and training affect label quality as much as schema design does. They also determine what agreement scores mean. A low kappa can come from unclear guidelines, untrained annotators, or a task that is truly subjective. You can only tell these apart if you have controlled the annotator side.
What kind of annotators does the task need?
Start from the task, not from who is available. Ask what knowledge a correct label requires.
| Task type | Typical requirement | Example |
|---|---|---|
| General-language judgment | Fluent native or near-native speakers | Sentiment of product reviews |
| Domain knowledge | Subject-matter experts | ICD codes in clinical notes, contract clause types |
| Linguistic expertise | Trained linguists or students with a short course | Dependency relations, coreference |
| Perception or opinion | Many diverse non-experts | Offensiveness, politeness |
Three common sourcing options exist, each with trade-offs.
- Domain experts give accurate labels on specialized text. They are expensive and slow, and few of them are available. They may also rely on private knowledge instead of the guidelines.
- Trained in-house or contract annotators are a middle path. They can be retrained and their work can be audited continuously. They need onboarding time.
- Crowd workers are cheap and fast and scale well. Quality varies widely, so you need qualification tests, attention checks, and redundancy (several labels per item).
Subjective tasks add a design decision. If the goal is one correct label per item, annotator differences are noise to be reduced. If the goal is to model human opinion, the differences are signal. In that case you may want annotators from varied backgrounds and may keep all of their labels instead of resolving them. Decide this before recruiting, because it changes who you hire and how you read agreement later.
How many annotators?
The minimum for measuring agreement is two, and each of them should label the same items independently. Beyond that:
- Two annotators on every item allow Cohen's kappa and a simple adjudication step.
- Three or more per item allow majority voting and Fleiss' kappa or Krippendorff's alpha. An odd number avoids ties on binary labels.
- A common cost-saving design is full double annotation of a sample (often 10 to 20 percent) and single annotation of the rest. The overlap measures quality and the remainder supplies volume.
The overlap sample must be drawn so that annotators cannot tell which items are in it. Otherwise they may work more carefully on those items, and the agreement score will overstate the quality of the rest.
Qualification before the real work
Do not assume a candidate can apply the guidelines. Test them. A qualification round gives every candidate the same small set of items whose labels you already know. These gold items should be unambiguous, and they should include the tricky cases the guidelines address.
Compare each candidate to the gold labels with accuracy and with kappa. Accuracy alone can be misleading when one label dominates, as the next example shows.
from sklearn.metrics import cohen_kappa_score
gold = ["pos", "neg", "neu", "neg", "pos", "pos", "neu", "neg", "pos", "neg"]
candidates = {
"A": ["pos", "neg", "neu", "neg", "pos", "pos", "neu", "neg", "pos", "pos"],
"B": ["pos", "pos", "neg", "neg", "pos", "neg", "pos", "neg", "pos", "pos"],
}
THRESHOLD = 0.6 # choose this before looking at results
for name, labels in candidates.items():
accuracy = sum(g == l for g, l in zip(gold, labels)) / len(gold)
kappa = cohen_kappa_score(gold, labels)
verdict = "pass" if kappa >= THRESHOLD else "retrain"
print(f"{name}: accuracy={accuracy:.2f} kappa={kappa:.3f} -> {verdict}")Candidate A matches 9 of 10 gold labels and gets kappa of about 0.844. Candidate B matches 5 of 10 and gets about 0.167. B never uses the "neu" label, which suggests a specific misunderstanding of the neutral class. That kind of pattern is more useful than the score itself.
With only 10 to 30 gold items, a kappa estimate is noisy. Treat the threshold as a screen for clear failures, not as a precise ranking.
Training annotators
Training turns the written guidelines into shared practice. A workable sequence has five steps:
- Walkthrough. Present the task, the schema, and the guidelines with examples of each label and each boundary case.
- Practice set. Annotators label 20 to 50 items independently. Include hard cases.
- Feedback. Compare their labels to gold labels or to each other. Discuss every disagreement as a group.
- Guideline updates. Where the discussion exposes a gap, change the guidelines and record the change.
- Repeat or release. Annotators who reach the threshold move on to the pilot round. Others get targeted feedback and a second attempt.
Two details matter in practice. First, training changes the guidelines as well as the annotators. If several people make the same mistake, fix the instruction before blaming the people. Second, if you discuss disagreements as a group, record the decisions in the guidelines. Otherwise the rulings stay in memory and different annotators drift apart over time.
Independence and bias
Agreement only measures reliability if annotators label independently. Watch for these problems:
- Collaboration during labeling. Annotators who consult each other will agree because of the conversation, not because of the guidelines. Allow questions to the project lead, and share answers with everyone.
- Shared interface bias. If the tool pre-selects the most common label, annotators will accept it too often. Start with no label selected, or randomize the order of options.
- Pre-annotation. Showing model predictions speeds up work, but annotators tend to accept them. This anchoring pushes agreement up without improving correctness. If you use it, say so when you report quality, and consider a small unassisted sample for comparison.
- Annotator fatigue and order effects. Long sessions reduce accuracy. Shuffle item order so that fatigue does not affect one part of the data.
Monitoring during the project
Training does not end when the pilot starts. Annotators drift, and new edge cases appear. Build in routine checks:
- Insert known gold items at random (typically 3 to 5 percent) and track each annotator's accuracy on them.
- Compute agreement on the overlap sample in each batch, not only once.
- Look at per-annotator label distributions. An annotator who uses one label far more than the rest is either biased or misreading a rule.
- Track time per item. Very fast work often means skimming.
When an annotator falls below your threshold, retrain before removing their labels. Decide in advance whether low-quality batches will be relabeled or discarded, and record which one you did.
Common errors
- Choosing annotators for convenience. Students or colleagues who lack the needed expertise give consistent but wrong labels, and agreement does not reveal this.
- Treating accuracy against gold as the only measure. Gold labels are themselves produced by people. If the gold set is weak, high scores mean little.
- Skipping documentation. Without a record of who the annotators were, how they were trained, and how they were paid, readers cannot judge the dataset. The reporting chapter returns to this.
- Underpaying. Pay below a fair rate for the work encourages rushing and drives out careful annotators. Fair pay is both an ethical requirement and a quality control.
What you carry into the pilot round
Before moving on, you should have a short list of qualified annotators, a recorded training history, a plan for overlap and gold items, and an interface that supports independent labeling. The next chapter runs the pilot round with this group and produces the first labels you can measure.
Exercise
During qualification, a candidate labels 18 of 20 gold items correctly but gets a kappa of only 0.35, since 18 of the 20 gold items carry the same label. What does this tell you, and what would you do?
Show answer
Accuracy is inflated by the dominant label. A candidate who always picks that label scores high accuracy but low kappa, because chance agreement is already high. Check the candidate's confusion matrix to see whether they ever use the rare labels correctly. Then rebuild the qualification set so that rare labels are well represented, for example with balanced classes, and retest before deciding whether to retrain or reject.
Exercise
Your team plans to show annotators a model's predicted label as a default selection to save time. Name one effect on the agreement score and one way to limit it.
Show answer
Annotators tend to accept the prediction, so agreement between them rises because they share the same anchor, not because the guidelines are clear. This overstates label quality. To limit it, hide the prediction, or label a small unassisted sample to compare against, and state in the report that pre-annotation was used.