Writing annotation guidelines that hold up
Most labeling errors are guideline errors. How to write a guideline that a whole team applies the same way, and how to keep it honest as the hard cases arrive.
When two careful people give the same item different labels, the usual cause is not carelessness. It is a guideline that allowed both answers. Fix the guideline and the labels follow.
These are the habits we use to write guidelines that a whole team applies the same way.
Start from the model, not the labels
Before listing labels, write one sentence on what the model will learn and what a wrong label costs. “The model routes support messages; a missed refund threat costs a chargeback” tells the annotator which mistakes matter most, and settles many edge cases before they are written down.
Define every label three times
A definition alone is not enough. For each label, give:
- A clear example: the obvious case.
- A borderline example: the closest case that still counts.
- A near miss: the case that looks like it but is not, and why.
The near misses do most of the work. They are where annotators diverge.
Write rules in order
Hard cases usually match two rules. Number the rules and state that the earlier one wins. “A threat to dispute a charge is a refund, even if the message is angry” is a rule that beats the general “label the tone” instinct, and it should sit above it.
Give every rule its origin
Next to each rule, keep the item that made you write it. When someone later asks why the rule exists, the answer is right there, and when the data changes you can see which rules may no longer fit.
Make “none of these” a real option
If no label fits and the annotator must still choose one, you get confident wrong labels. Give them an “other” label with a required note. The notes become your list of missing labels.
Test it before the team sees it
Have two people label the same small batch with the draft guideline, alone. Every disagreement is a gap in the guideline. Fix the gaps, repeat once, then start the real work.
Keep a change log
Guidelines change, and they should. Date every change, say why, and list the items labeled under the old version. Then you can decide whether to relabel them instead of finding out later that half your data follows an old rule.
Review the guideline, not just the labels
A second reviewer on every item catches individual mistakes. The weekly question is different: which rules caused the most corrections this week? Those rules need rewriting, a new example or a split into two.
A template to start from
We start every task from the same outline: purpose, unit of work, labels with three examples each, ordered rules, worked examples, quality checks and a change log. It is published here, and our quality sample shows a short guideline in use, with the reviewer’s corrections and the rules they led to.