What is inter-annotator agreement?
Last updated
Inter-annotator agreement (IAA) measures how consistently independent human labelers assign the same labels to the same items. It indicates label reliability and task ambiguity, and it serves as a practical ceiling on achievable model performance.
Common metrics:
Raw percent agreement is simple but inflated by chance, especially with imbalanced classes.
Cohen's kappa covers 2 annotators and corrects for chance: κ = (p_o - p_e) / (1 - p_e).
Fleiss' kappa extends this to more than 2 annotators per item.
Krippendorff's alpha handles any number of annotators, missing labels, and ordinal or interval data.
For continuous ratings, use the ICC or correlation. For spans or boxes, use F1 or IoU between annotators.
Why it matters for supervised learning:
Low IAA means noisy labels, so model accuracy beyond human agreement is mostly fitting noise.
It reveals unclear guidelines or inherently subjective tasks, which should prompt you to refine guidelines or merge confusable classes.
It guides aggregation: majority vote, Dawid-Skene, or keeping soft labels for ambiguous items.
Interpretation: kappa above roughly 0.8 is often called strong, but the threshold depends on the task and class prevalence.
[lang:python]
from sklearn.metrics import cohen_kappa_score
kappa = cohen_kappa_score(annotator_a, annotator_b)