Sub topic 5
Running a Pilot Round
Assume you know basic Python, lists, dictionaries, functions, common NLP tasks, and basic probability. A pilot round is a small trial of your annotation project. It tests whether the label schema and guidelines work before you annotate the full dataset.
The pilot should answer practical questions:
- Do annotators understand each label in the same way?
- Are some examples impossible to label?
- Do the guidelines leave important cases unspecified?
- Which labels do annotators confuse?
- Can your annotation process produce complete, usable data?
Prepare the pilot
Select a small sample that represents the cases in the full dataset. Include ordinary examples, difficult examples, short texts, long texts, and examples that may belong near a label boundary. A random sample alone may miss rare but important cases.
Give every annotator the same items and the same version of the guidelines. Ask them to label independently. They should not see another annotator's answer during the pilot. Independent labels let you measure agreement rather than imitation.
Record more than the final label. Store an item identifier, annotator identifier, label, optional explanation, and time spent. For example:
| item_id | annotator | label | note |
|---|---|---|---|
| 17 | A | neg | “not” changes the sentiment |
| 17 | B | neu | sentence reports a fact |
Do not replace disagreements with a single answer during collection. Keep the original labels. You will need them to calculate agreement and study errors.
Run the annotation round
Give annotators a short training session. Explain the task, define every label, and work through examples that are not part of the evaluation sample. Ask annotators to explain their decisions. Questions raised during training often reveal missing rules.
Then freeze the instructions for the pilot. If you change a rule halfway through, record which items were labeled under which version. Otherwise, a disagreement may reflect different instructions rather than different interpretations.
A simple collection format is one row per item and annotator. Keep labels in a controlled vocabulary, such as pos, neu, and neg. Reject unknown labels early, but do not silently convert them. An unknown value may reveal a problem in the schema or annotation tool.
from collections import defaultdict
labels = [
("item-1", "A", "pos"),
("item-1", "B", "pos"),
("item-2", "A", "neg"),
("item-2", "B", "neu"),
("item-3", "A", "neg"),
("item-3", "B", "neg"),
]
allowed = {"pos", "neu", "neg"}
by_item = defaultdict(dict)
for item_id, annotator, label in labels:
if label not in allowed:
raise ValueError(f"Unknown label: {label}")
if annotator in by_item[item_id]:
raise ValueError(f"Duplicate label for {item_id}")
by_item[item_id][annotator] = label
for item_id, ratings in by_item.items():
if len(ratings) == 2:
values = list(ratings.values())
result = "agree" if values[0] == values[1] else "disagree"
print(item_id, result, ratings)Review the results
Start by calculating exact agreement, the proportion of items receiving the same label. Then inspect every disagreement. Group disagreements by label pair, such as neg versus neu, and identify the cause.
Common causes include:
- an ambiguous definition
- missing handling rules for negation or sarcasm
- unclear boundaries between two labels
- an item that does not fit the schema
- an annotator misunderstanding the task
- an annotation-tool error
Revise the guidelines only after recording the original disagreement. Add decision rules and concrete examples. If a label remains difficult to distinguish, consider merging it, redefining it, or adding an explicit “uncertain” policy. Repeat the pilot when changes are substantial.
Exercise
Two annotators agree on 18 of 20 pilot items. Should you immediately begin full annotation?
Show answer
No. The 90% agreement is useful, but you should inspect the two disagreements, check whether the sample represents difficult cases, and confirm that the guidelines explain the decisions.