Cohen's Kappa
Cohen's kappa is a statistical measure of inter-rater agreement that corrects for chance agreement, more reliable than simple percent agreement for evaluating annotation quality.
Cohen's kappa is a statistical coefficient that measures the level of agreement between two raters beyond what would be expected by chance. It is calculated by comparing the observed agreement to the agreement that would occur if both raters assigned labels randomly based on their marginal label frequencies. This chance correction makes kappa a more informative quality metric than raw percent agreement, which can be misleadingly high for imbalanced label distributions.
The formula is kappa = (P_observed - P_expected) / (1 - P_expected), where P_observed is the fraction of cases where both raters agree and P_expected is the fraction that would agree by chance. Kappa values range from negative values, indicating agreement worse than chance, to 1.0 for perfect agreement. Scores below 0 indicate systematic disagreement.
Cohen's kappa applies to two raters. For three or more raters, Fleiss' kappa extends the same framework. For ordinal labels where partial agreement has value, weighted kappa applies different penalties to different types of disagreement, so a one-step disagreement on a five-level scale is penalized less than a full five-step disagreement.
Frequently asked questions
Percent agreement can be misleadingly high for imbalanced datasets. If 95% of items belong to one class and both raters always pick that class, percent agreement is 95% even if neither rater is making meaningful decisions. Cohen's kappa corrects for this by subtracting the agreement expected by chance, so it accurately reflects how much of the agreement is due to genuine judgment rather than label frequency.
Related Corpshore AI services
Ready to scope a pilot?
Tell us your modality, volume, and languages. We'll return an indicative scope, timeline, and cost band.