Module 3 · Data you can trust · Chapter 23 · Free
Labelling and human feedback data
- A label is a decision made by a person, following a written guideline.
- If two good labellers disagree, the guideline is usually the bug.
- Edited answers from real users teach far more than thumbs up or down.
Picture: two referees with the same rule book. When they call the same play differently, you fix the rule book first.
- Labels as a specification: write the guideline like a contract.
- Label quality: agreement, adjudication and gold questions.
- Why thumbs are weak and edits are gold.
- Feedback loops from production, privacy first.
- A lab: label six replies, then face the adjudicated answers.
After this chapter you can:
- Write a labelling guideline two strangers can apply the same way.
- Read an agreement rate and decide what to fix first.
- Design a feedback loop that samples real conversations safely.
- Tell strong feedback signals from weak ones.
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:
- The decision in one sentence. "Label the reply good only if a customer could act on it without further help."
- The label set, closed. Good, bad, unsafe. No "sort of good". If labellers invent labels, you cannot count anything.
- Rules for the known traps. Polite but wrong is bad. Correct but rude is bad. Correct but missing the required safety line is unsafe.
- Worked examples. At least two per label, including one hard case each, with the reason written out.
- An escape hatch. A "cannot tell" label plus a comment box. Forced guesses become quiet noise in your data.
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.
- A batch of 500 items holds about 25 gold questions with known answers, mixed in so labellers cannot spot them.
- They never see each other labels. Independence is what makes agreement mean anything.
- The batch score is the share of identical labels. It is a health check on the guideline as much as on the people.
- A senior reviewer decides each split and writes the reason. Those reasons are gold for the next guideline version.
- Repeated splits on the same pattern mean the text failed. Rewrite the rule, add the example, retest.
- Adjudicated labels feed eval sets (Chapter 18) and training. Unchecked labels feed noise.
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.
- Adjudication shows 58 of the 90 splits are one pattern: correct facts, rude tone. The guideline never mentions tone. That is a text bug, not a people bug.
- Gold questions tell the other half of the story. Labeller A got 24 of 25 gold items right. Labeller B got 23 of 25. Both are paying attention, so retraining people is not the first fix.
- Fix order: add a tone rule with two examples, relabel the 58 affected items, then remeasure. Expect agreement to jump to roughly 93 to 95 percent if the diagnosis was right.
- If gold scores had been low, say 17 of 25, the fix order flips: coach or replace the labeller first, because no guideline survives inattention.
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.
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.
- Thumbs up or down: weak. Users click for many reasons: the answer was wrong, or slow, or they dislike the policy itself. A thumb says something happened. It rarely says what. Use thumbs to find items worth a human look, not as labels.
- Retries and rephrasing: medium. A user asking the same thing a second way is telling you the first answer failed them. The pair of questions is the useful data.
- Escalations: strong and specific. "The agent asked for a human" after an answer marks a real failure, and the human resolution shows what good looked like.
- Edited answers: gold. When an agent or user takes the AI draft and fixes it, the edit is a preference pair with the work done for you: draft versus corrected version, same context. A small set of real edits beats a large set of thumbs, because it shows the target, not just the complaint.
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:
- 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.
- 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.
- 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.
- 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
- "Low agreement means bad labellers." Usually no. It means an ambiguous guideline, until gold questions prove otherwise.
- "More labels beat better labels." No. 2,000 adjudicated items outperform 20,000 noisy ones, and cost less to trust.
- "Thumbs down is a label." No. It is a pointer to items worth labelling. The label still needs a human and a guideline.
Recap
- Labels are a specification. Write the guideline like a contract: decision, closed label set, trap rules, examples, escape hatch.
- Measure agreement, adjudicate splits, seed gold questions. Fix the text before you blame the people.
- Thumbs are weak signals, edits are gold. Sample production conversations, redact first (Chapter 22), label properly, and feed evals and training.
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.