Deployed Lab

Module 3 · Data you can trust · Chapter 23 · Free

Labelling and human feedback data

14 min1 clickable picture1 labelling lab7 checks5-min video review
In 30 seconds

Picture: two referees with the same rule book. When they call the same play differently, you fix the rule book first.

The problem Kavish, the course composite FDE, hires two labellers to grade 2,000 support answers as good or bad. A week later they agree on only 61 percent. Each blames the other. Kavish reads 30 disagreements himself and finds the real cause in the one line guideline he wrote: "Mark it good if it is helpful." One labeller counts a polite but wrong answer as helpful. The other does not. The model trained on this data learns both lessons at once, which is to say it learns noise. The fix costs a day of rewriting, not a bigger model.
The plan for this chapter
  1. Labels as a specification: write the guideline like a contract.
  2. Label quality: agreement, adjudication and gold questions.
  3. Why thumbs are weak and edits are gold.
  4. Feedback loops from production, privacy first.
  5. A lab: label six replies, then face the adjudicated answers.

After this chapter you can:

Next: the words you will see.

Words you'll meet

Label
A judgement attached to an item. Example: this answer is labelled "good" or "unsafe".
Guideline
The written rules labellers follow, with examples and edge cases. Example: "Polite but wrong counts as bad."
Labeller
The person applying labels. Also called an annotator or rater.
Agreement rate
The share of items where labellers gave the same label. Example: 410 of 500 items, so 82 percent.
Adjudication
A senior reviewer settles a disagreement and records the final label and the reason.
Gold question
An item with a known correct label, mixed in secretly to check labeller attention. Example: 1 in every 20 items.
Edge case
An item near the boundary between labels. Example: a correct answer in a rude tone.
Feedback signal
Any trace of what users thought. Example: a rating, an edit, a retry, an escalation.
Preference pair
Two answers to the same prompt, with the better one marked. Example: answer B chosen over answer A.
Sampling
Choosing a representative slice of production traffic to label, instead of labelling everything.

Next: why the guideline is the product.

Step 1: Labels are a specification

Every dataset built by people rests on one document: the guideline. Treat it like a contract. A contract says what counts, what does not, and what happens at the boundary. A labelling guideline must do the same, or each labeller writes their own in their head.

A usable guideline has five parts:

Test the guideline before you scale it. Give 20 items to two labellers who have never met. Where they split, the text is ambiguous, however clear it felt when you wrote it. Rewrite that line, add the split item as an example, and test again. This is the same discipline as Chapter 20 on data quality: define good, then measure against the definition.

Guideline v1 (too vague):
  Mark it good if it is helpful.

Guideline v2 (a contract):
  GOOD: correct facts, answers the actual question,
        customer can act without asking again.
  BAD:  wrong fact, or misses the question, or polite
        filler with no usable step. Polite but wrong
        is BAD.
  UNSAFE: gives a step that could cause harm, loss
        or a privacy breach, even if the rest is right.
  If two labels seem to fit, UNSAFE beats BAD and
  BAD beats GOOD. When unsure, use CANNOT TELL and
  write one line saying what was unclear.

Next: how you know whether the labels are any good.

Step 2: Label quality: agreement, adjudication, gold questions

You cannot improve what you do not double check. The standard setup is simple: two labellers label the same items independently, you measure agreement, and a third person adjudicates the splits. Press next to walk the loop.

Press next to follow one batch through quality control.

On a phone, swipe the picture sideways.

The labelling quality loop Items go to two labellers working independently. Where they agree, labels pass. Where they split, an adjudicator decides and the guideline is updated. Gold questions with known answers run through the whole flow to catch sloppy work. Itemsplus gold questions Two labellersworking apart Agreementmeasured per batch Adjudicationsplits settled Trusted dataevals and training Guideline fixsplits teach the text
  1. A batch of 500 items holds about 25 gold questions with known answers, mixed in so labellers cannot spot them.
  2. They never see each other labels. Independence is what makes agreement mean anything.
  3. The batch score is the share of identical labels. It is a health check on the guideline as much as on the people.
  4. A senior reviewer decides each split and writes the reason. Those reasons are gold for the next guideline version.
  5. Repeated splits on the same pattern mean the text failed. Rewrite the rule, add the example, retest.
  6. Adjudicated labels feed eval sets (Chapter 18) and training. Unchecked labels feed noise.
LabellersMeasurementGuideline fixTrusted dataItems

Worked example, with numbers. Two labellers label 500 support replies. They agree on 410, so agreement is 82 percent. They split on 90. Is 82 percent good? It depends where the splits sit.

Raw agreement also flatters easy batches. If 90 percent of items are obviously good, two labellers can agree 82 percent while splitting on nearly every hard case. Always read the splits, not just the score.

In the field A fintech team (composite) saw agreement stall at 78 percent across 3 batches of 400. They nearly replaced the labelling vendor. An afternoon reading 60 splits showed 44 were one missing rule: whether quoting a fee without the waiver condition counts as wrong. One paragraph added to the guideline, one relabelled batch, and agreement hit 94 percent the next week. The vendor was never the problem.

Next: what real users tell you, and how much to believe.

Step 3: Feedback signals: thumbs are weak, edits are gold

Production gives you feedback for free, but the signals differ wildly in value.

Build preference pairs where you can: the model answer that was rejected beside the answer that was sent. Chapter 18 on evals uses the same pairs as test cases, so one loop feeds the other.

Next: closing the loop from production, safely.

Step 4: Feedback loops from production

A healthy loop has four moves, in order:

  1. Sample, do not hoard. Pull a stratified slice of real conversations: some routine, some long, some escalated, some low rated. Labelling 300 well chosen conversations teaches more than skimming 30,000.
  2. Privacy first. Run redaction before any human labels anything, exactly as in Chapter 22 on PII, privacy and redaction. Labellers see [NAME] and [EMAIL], not your customers lives. This is not optional polish, it is the licence to run the loop at all.
  3. Label against the guideline. Production items go through the same two labeller and adjudication flow as any other batch. Real data is not exempt from quality control.
  4. Feed the right sink. Adjudicated failures become eval cases. Edited answers become training pairs. Guideline splits become guideline updates. If labelled data lands in a folder nobody opens, the loop is a cost, not a system.

Watch for drift. User questions change with seasons, launches and outages. Resample on a schedule, weekly for a busy product, and keep a fixed holdout set so you can tell real improvement from a shifting sample.

Next: the lab. Six replies, one guideline, your call.

Step 5: Lab: label six replies against the guideline

Why: you will feel exactly where a guideline helps and where it leaves you guessing, which is what your labellers feel at scale.

Use this guideline, printed in full. It is the whole contract for this lab:

The 3-line guideline:
GOOD: correct, answers the question asked, and the
      customer can act without asking again.
BAD:  wrong fact, or misses the question, or no
      usable step. Polite but wrong is BAD.
UNSAFE: a step that could cause harm, loss or a
      privacy breach, even if the rest is right.

Lab: Kavish's one line guideline, mark it good if it is helpful, let two careful labellers agree on only 61 percent. This lab runs in your browser and needs JavaScript enabled.

Where did the guideline wobble? Most readers hesitate on reply 6. It is not unsafe, and it is not exactly wrong, it is evasive. The guideline covers it under "misses the question", but only just. In a real project, that hesitation becomes a new line in guideline v2: "Refusing or dodging the request counts as bad." Your hesitation is the raw material of a better specification.

Next: a prediction, two quick checks, then the final quiz.

When one paragraph moves the score that far, the people were fine and the specification was the bottleneck all along.

Quick checks

Mix-ups to avoid

Recap

Next: Chapter 24, "Evaluation datasets and golden sets": turning labelled examples into the test your system must pass.

Review this chapter in 5 minutes

Guidelines as contracts, agreement and adjudication, and feedback that is worth training on.

Chapter quiz

Four questions. Score 70% or more to mark this chapter complete.

Review