Coders In Hoods
  • Courses
  • Roles
  • Blog
  • Setup

Coders In Hoods AI Academy

Every course is free. Sign in to start, and your progress, quiz scores and bookmarks follow you.

AI Academy

  • Courses
  • Paths
  • Setup guides
  • How we teach

Role roadmaps

  • AI Engineer
  • Forward Deployed Engineer
  • Machine Learning Engineer
  • All roles

Coders In Hoods

  • The agency
  • Coaching for teams
  • Blog
  • LinkedIn
  • X (Twitter)

Contact

codersinhoods@gmail.com

© Coders In Hoods · since 2019

Course overview

Human Feedback at Scale

Free · sign in to start and track progress

1 · Human judgement at scale

  • 1Designing human evaluations
  • 2Agreement and disagreement among many raters

    Exercise answers

    • Answer: Measure and diagnose four raters
    • Answer: Aggregate labels with Dawid–Skene
  • 3Pairwise preferences and rankings

2 · Signals from real use

  • 4Feedback from users
  • 5Understanding usage at scale, privately

3 · Closing the loop with few labels

  • 6Estimating quality from few labels
  • 7Review queues and the dataset loop
CapstoneBuild a feedback system for a support assistantReference implementation

Module 1 · Human judgement at scale · Lesson 2

Agreement and disagreement among many raters

Measure reliability when several raters label overlapping items with gaps and ordinal scales, find where the disagreement comes from, and decide whether to resolve it or keep it.

80 min 1 video 3 exercises 8-question quiz Answers
Setup for the exercises:Install Claude CodePython with uv

By the end of this lesson you can

  • Compute Krippendorff's alpha for nominal and ordinal labels with missing ratings, and explain why it suits a many-rater design better than Cohen's kappa
  • Put a bootstrap interval on alpha and set a minimum acceptable reliability from the decision the labels feed
  • Diagnose disagreement by rater, category pair and item, and separate rater error from genuine ambiguity
  • Aggregate labels by adjudication, majority vote, Dawid–Skene or soft labels, and explain what each choice does to an evaluation built on them

On this page

  • What reliability means here
  • Why not average Cohen's kappa?
  • Krippendorff's alpha, step by step
  • Worked example by hand
  • Ordered labels need an ordered distance
  • How sure are you? A bootstrap interval
  • Setting a floor
  • Where does the disagreement come from?
  • Turning several labels into one answer, or not
  • Misconceptions and limits
  • Connections
  • Summary
  • Sources & further reading
  • Quiz

In this lesson

  1. 01What reliability means here
  2. 02Why not average Cohen's kappa?
  3. 03Krippendorff's alpha, step by step
  4. 04How sure are you? A bootstrap interval
  5. 05Where does the disagreement come from?
  6. 06Turning several labels into one answer, or not
  7. 07Misconceptions and limits
  8. 08Connections
  9. 09Summary

Sources & further reading

  • Survey Article: Inter-Coder Agreement for Computational LinguisticsPaper · Ron Artstein, Massimo Poesio · 2008Computational Linguistics 34(4). The standard survey of kappa, pi and alpha: how each defines chance agreement, weighted coefficients, and many coders. Read sections 2–3 for the coefficients and section 4 for how to use them.
  • krippendorffsalpha: An R Package for Measuring Agreement Using Krippendorff's Alpha CoefficientPaper · John Hughes · 2021The R Journal. Develops alpha from first principles, with nominal, ordinal, interval and ratio distances, missing data and bootstrap inference. The clearest modern statement of the method.
  • Maximum Likelihood Estimation of Observer Error-Rates Using the EM AlgorithmPaper · A. P. Dawid, A. M. Skene · 1979Journal of the Royal Statistical Society, Series C 28(1). The original model behind most label-aggregation methods: a confusion matrix per rater, estimated with EM when the true label is never observed. Short and readable.
  • The 'Problem' of Human Label Variation: On Ground Truth in Data, Modeling and EvaluationPaper · Barbara Plank · 2022EMNLP 2022 position paper arguing that much disagreement is signal, not noise, and that it affects data, modelling and evaluation. Includes a list of datasets released with un-aggregated labels.
  • VariErr NLI: Separating Annotation Error from Human Label VariationPaper · Leon Weber-Genzel, Siyao Peng, Marie-Catherine de Marneffe, Barbara Plank · 2024ACL 2024. A two-round procedure in which annotators explain each label and then judge whether label–explanation pairs are valid, to tell errors from legitimate variation. The procedure transfers to any labelling task.
  • Two Contrasting Data Annotation Paradigms for Subjective NLP TasksPaper · Paul Röttger, Bertie Vidgen, Dirk Hovy, Janet B. Pierrehumbert · 2022NAACL 2022. Prescriptive versus descriptive annotation: which one you are running decides whether to remove disagreement or keep it. Sections 2–3.
  • fast-krippendorff: Krippendorff's alpha in PythonDocsThe krippendorff package used in this lesson's code: a raters × items array with NaN for missing values, and level_of_measurement for the distance.
Free · sign in to start

Sign in to keep reading.

Free, no card. We use your account to save progress, quiz scores, bookmarks and occasionally send updates from our team.

  • 9 more sections
  • 3 hands-on exercises
  • A 8-question quiz
  • Progress, quiz scores and bookmarks