0% completed
Where Training Data Comes From
On This Page
Know the Vocabulary
Part 1: Labels Do Not Arrive by Themselves
What Interviewers Expect
Part 2: Three Sources of Labels
Source 1: Natural Outcomes
Source 2: User Behavior
Source 3: Human Annotation
The Three Sources Side by Side
What a Label Is Not
Part 3: Making Human Labels Trustworthy
Versioned Guidelines
Inter-Annotator Agreement
Gold Questions
The Review Queue Is a Label Source
Part 4: Labeling With an LLM
Why LLM Errors Do Not Cancel Out
Part 5: When Positives Are Rare
Fix 1: Downsampling
Fix 2: Reweighting
Part 6: Choosing Negatives for a Retrieval Model
Part 7: Splitting Data Without Leaking the Future
Use a Temporal Split
The Leakage Checklist
Training While Labels Are Still Arriving
Part 8: Whose Data It Is
Part 9: Using This in an Interview
Part 10: Common Mistakes
Mistake 1: Saying "We Use Historical Data"
Mistake 2: Treating Behavior as Truth
Mistake 3: Changing a Guideline Without a Version
Mistake 4: Trusting LLM Labels Without Audit Slices
Mistake 5: Forgetting to Recalibrate
Mistake 6: Splitting Time-Shaped Data at Random
FAQs
Key Takeaways
Check Your Understanding
Know the Vocabulary
This lesson uses the terms below many times. Read them once now, and come back here when a later section needs one.
- Label: The answer a model should learn for one past example, such as the delivery time that really happened.
- Training example: One row of training data, which pairs the features from the moment of the prediction with the label that arrived later.
- Natural label: An outcome the world produces on its own, such as a completed delivery or a confirmed chargeback.
- Behavioral label: A label taken from what users do in the product, such as an order, a click, or a skip.
- Human annotation: Labels that people assign by hand, following written instructions. These people are called reviewers or annotators.
- Label delay: The time between a prediction and the arrival of its label.
- Guideline: The written instructions that tell reviewers how to label each kind of item.
- Inter-annotator agreement: How often two reviewers give the same item the same label.
- Gold question: An item whose correct label is already known. It is mixed into a reviewer's queue to check their accuracy.
- Class imbalance: Data in which one outcome is much rarer than the other, such as fraud among normal payments.
- Positive and negative examples: A positive example shows the outcome the model looks for, such as a fraud case. A negative example is one where that outcome did not happen.
- Calibration: How well a model's scores match real chances. A calibrated score of 0.02 means the event happens about 2 times in 100.
- Temporal split: Dividing data by time, so the model trains on older examples and is tested on newer ones.
- Leakage: Information in a training example that would not have existed at the moment of the prediction.
Part 1: Labels Do Not Arrive by Themselves
The introduction to this module followed one delivery-time prediction. At 6:02 PM, the model predicted 32 minutes. At 6:40 PM, the order arrived, and 38 minutes became a label. That label cost nothing, and it arrived within the hour.
Most labels are harder to get than that one. The same food-delivery company runs other models, and each one needs a different kind of label.
- Delivery time: The label is the real delivery time. It appears on its own when the order is delivered.
- Restaurant ranking: The home screen ranks restaurants and dishes for each customer. The label is what the customer did: ordered, opened a menu, or scrolled past.
- Review moderation: Customers write reviews of restaurants, and a model flags abusive ones. Nothing in the product says which review is abusive, so a person must decide.
- Payment fraud: Some people pay for orders with stolen cards. The label is a confirmed fraud case, and it can take weeks to arrive.
This lesson uses all four models, and together they show that a label is a design decision. Every label has a source, a cost, a delay, and its own kind of error.
What Interviewers Expect
Step 3 of Module 1's framework is to map the data. Its first question is "Where do labels come from?" Weak answers say "we use historical data" and move on.
Interviewers then ask what the label is and who produces it. They ask how late it arrives and how it could be wrong. They may also ask how you split the data, and how you know the test result is honest. This lesson answers each of those questions in turn.
Part 2: Three Sources of Labels
Training labels come from three sources: natural outcomes, user behavior, and human annotation. Each source has a different cost, delay, and weakness.
Source 1: Natural Outcomes
A natural label is an outcome the world produces on its own, without anyone having to create it. A completed delivery produces its delivery time. A disputed card payment produces a chargeback. A chargeback is a payment that the card owner's bank reverses, often because the owner says they did not make it.
Natural labels usually measure the real goal directly. They also cost little, because the business records these outcomes anyway.
Their main weakness is delay. A delivery time arrives within an hour, but a chargeback can arrive weeks later. The course uses 2 to 8 weeks as an example range. Some outcomes never arrive at all: a blocked payment never produces a chargeback, so nobody learns whether it was really fraud. A label that is never observed is called censored.
Natural labels can also be wrong, because not every chargeback is fraud and not every fraud case is reported. Design Fraud Detection returns to both problems.
Source 2: User Behavior
A behavioral label comes from what users do in the product. Suppose a customer orders a dish from the home screen. That order is a positive label for that customer and that dish. A dish the customer scrolled past is a weak negative.
Behavioral labels are free and near-instant. The app logs millions of them every day, and each one arrives within seconds.
Their weakness is noise and bias. The noise comes from actions that do not show what the customer wants. A customer may scroll past a dish they love, because they want something else tonight.
The bias is more serious, because users can act only on what the app showed them. A dish the app never showed collects no orders, so the data says nothing about it. A dish shown first also collects more clicks than it deserves. This second effect is called position bias. So behavioral labels are biased toward what was shown. Monitoring, Drift, and Retraining explains how a model trained on them can narrow its own choices over time.
Source 3: Human Annotation
Human annotation means that people label items by hand. Review moderation needs it, because no outcome in the product says whether a review is abusive. A trained reviewer reads the review, follows the guideline, and chooses a label.
The strength of human labels is control, because you decide exactly what the label means. Their weakness is cost and speed. For example, a simple yes-or-no label can cost a few cents, and an expert label can cost a few dollars. Results take hours to days, and all of these figures are illustrative.
Reviewers also disagree with each other, and they get tired. Part 3 shows how to control both problems.
The Three Sources Side by Side
The table compares the three sources, using the company's examples.
| Natural outcomes | User behavior | Human annotation | |
|---|---|---|---|
| Example | Delivery time; confirmed chargeback | Order, menu open, scroll past | A reviewer marks a review as abusive |
| Cost | Free; the business records it anyway | Free | Cents to dollars per label |
| Delay | Minutes to weeks | Seconds | Hours to days |
| Main weakness | Late, and sometimes never observed | Noisy, and biased toward what was shown | Costly, and inconsistent without clear guidelines |
The diagram below shows the three sources feeding one set of training examples.
Notice that all three sources pass through the same join. Each label is paired with the features as they were at prediction time. Training vs Serving explains why that join must use only data from before the prediction.
Many systems combine sources: the fraud model uses chargebacks, which are natural, and analyst decisions, which are human. A ranking model can learn from orders and be tested on a small set of human judgments. Offline Evaluation: Choosing the Metric describes such judged sets.
What a Label Is Not
A label is not the truth itself. It is a measurement of the truth, and every measurement has errors. A chargeback can come from a customer who forgot a purchase, and a reviewer can misread a joke.
A label is not always the goal you care about. A click stands in for satisfaction because it is easier to collect, but it can lead the model in the wrong direction.
A label is not free just because nobody pays for it. Behavioral labels cost nothing to collect, but they take work to clean and to correct for bias.
Part 3: Making Human Labels Trustworthy
Human labels are only as good as the process that produces them. Three tools control that process: versioned guidelines, agreement checks, and gold questions.
Versioned Guidelines
The guideline is the definition of the label. Suppose version 3 of the moderation guideline says that a sarcastic insult counts as abusive. Version 4 says that sarcasm counts only when it targets a person. A review labeled "abusive" under version 3 might be "acceptable" under version 4.
So changing the guideline changes what the old labels mean. If labels from both versions are mixed without notice, the model learns two definitions at once. Store the guideline version with every label. When the definition changes, decide whether to relabel the old items or to keep them out of training.
Inter-Annotator Agreement
Inter-annotator agreement measures how often two reviewers give the same item the same label. To measure it, send a share of the items to two or more reviewers. For example, 10 percent of reviews could be labeled twice.
Raw agreement can look high by chance alone, especially when most reviews are acceptable. So teams often report Cohen's kappa, a score that removes the agreement expected by chance.
Low agreement usually points to an ambiguous guideline, not to bad reviewers. If two careful people read the same rule and disagree, the rule allows two readings. The fix is sharper instructions and worked examples, especially for borderline cases. Find the items with the most disagreement, write examples for them, and measure again.
Gold Questions
A gold question is an item whose correct label is already known. The team mixes gold questions into each reviewer's queue, and the reviewer cannot tell which items they are. Each answer to a gold question is a direct check of accuracy.
Gold questions audit reviewers continuously, not once. They catch fatigue, such as accuracy that falls in the last hour of a long shift. They also catch drift, such as a reviewer who slowly moves away from the current guideline. When a reviewer's score on gold questions drops, the team can retrain that reviewer and recheck their recent labels.
The Review Queue Is a Label Source
Some human labels come from work the business does anyway. The fraud team has analysts who review the payments the model marks as uncertain. They decide whether each one is fraud.
Every analyst decision also serves as a training label. It is a high-quality label, because an expert made it with the full case in view. It also arrives in hours, not weeks. So the analyst review queue is part of the labeling pipeline, not a separate tool. Log each decision with the analyst, the time, and the evidence used.
One caution applies here: analysts see only the payments the model sent to them. Their labels describe that group well and say nothing about the rest. Record the source of every label, so later analysis can account for this bias.
Part 4: Labeling With an LLM
A large language model (LLM) is a model trained on large amounts of text, which can read and write text. Given the guideline as its instructions, an LLM can label a review in seconds. Its cost per item is often far below a reviewer's cost. So many teams now use LLMs to label text.
The production pattern does not remove humans. It moves them to the items where they matter most. The steps below describe this pipeline for review moderation.
Step 1: The LLM labels every item. It reads each review with guideline version 4 and returns a label. The pipeline also records when the LLM seems uncertain. For example, two runs on the same review may give different answers.
Step 2: Humans review two groups. The first group is a random sample of all items. The second is every case where the LLM is uncertain or disagrees with another check, such as the current moderation model.
Step 3: The random sample measures the LLM. Because the sample is random, its error rate estimates the error rate of all the LLM's labels.
Step 4: Gold questions check the humans. The human queue still contains gold questions. So the people who check the LLM are checked too.
Step 5: Labels enter the training set. Confident LLM labels and human labels both enter the training set. Each label records its source and its guideline version.
The diagram below shows this pipeline, from the first label to the training set.
Notice that most items never reach a human. People see the random sample and the hard cases, which is where their time does the most good.
Why LLM Errors Do Not Cancel Out
It is tempting to think that errors fade at scale. Suppose the LLM is wrong on 5 percent of items, at random. A million labels would still teach the right pattern. But LLM errors are usually not random. They are systematic, which means they repeat on the same kinds of input.
For example, an LLM may misread a regional dialect. A phrase that is friendly in that dialect can look rude to it. The LLM may also miss adversarial content. This is text written on purpose to get past a filter, such as an insult with altered spelling.
On these groups, the LLM is wrong again and again, in the same direction. More labels only repeat the mistake, and a model trained on them learns it.
So keep audit slices labeled by humans. An audit slice is a set of items, labeled by people, that measures quality on one group. Keep one slice for the random sample. Keep others for the groups where errors cluster, such as each dialect and each known adversarial pattern. To fill these slices, send extra items from each group to the human reviewers.
Keep the test set human-labeled too, or the LLM's labels would grade a model that learned from the LLM's labels. The same mistakes would then appear on both sides and stay hidden.
Part 5: When Positives Are Rare
In the fraud model's data, about 0.2 percent of payments are fraud, or about 2 in every 1,000. This rarity is called class imbalance.
Plain accuracy fails under class imbalance. A model that predicts "legitimate" for every payment is already 99.8 percent accurate, yet it catches no fraud at all. So fraud models are judged with other metrics, which Offline Evaluation: Choosing the Metric covers.
Imbalance also affects training, because the model sees too little fraud to learn from. There are two standard fixes.
Fix 1: Downsampling
Downsampling keeps every fraud case and keeps only a fraction of the legitimate ones. For example, take a month with 10 million payments, of which about 20,000 are fraud.
Keep all 20,000 fraud cases, and keep 1 in 50 legitimate payments, which is about 200,000. Now about 1 in 11 training examples is fraud, instead of 1 in 500. The training set is much smaller, and the model sees fraud often enough to learn from it.
Downsampling has one side effect: the model now believes fraud is far more common than it is, so its scores come out too high. In this example, a score of 0.5 matches a real chance of only about 2 percent.
So recalibrate the scores after training, which means mapping each score back to a real chance. Recalibration uses the known sampling rate, or a held-out set at the real fraud rate. The order of the scores stays the same. This matters whenever a threshold is set from expected costs, because those costs need real chances.
One more rule follows from this: downsample only the training set. Keep the test set at the real fraud rate, so its metrics describe real traffic.
Fix 2: Reweighting
Reweighting keeps all the data and weights the positives more in the loss. The loss is the number that training tries to make smaller. It measures how wrong the model is on the training data. With reweighting, a mistake on a fraud case might count 50 times as much as a mistake on a legitimate payment.
Nothing is thrown away, so training takes longer than with downsampling. Reweighting also pushes the scores upward, so the same recalibration check applies.
| Downsampling | Reweighting | |
|---|---|---|
| What it does | Keeps every positive and a fraction of the negatives | Keeps all data and weights positives more in the loss |
| Training data size | Much smaller | Unchanged |
| Scores afterward | Too high; recalibrate | Also shifted; recalibrate |
| Test set | Keep it at the real rate | Keep it at the real rate |
Part 6: Choosing Negatives for a Retrieval Model
The ranking model needs a different kind of care. Before ranking, a retrieval model picks a few hundred candidate dishes out of millions. A common choice is a two-tower model. It turns each customer and each dish into a list of numbers, and it scores how well the two lists match. Embeddings and Two-Tower Retrieval explains the model itself.
The positives are easy to find: the dishes each customer ordered. The negatives are the hard part, because the logs do not list every dish a customer did not want. So the team must choose negatives, and each of the four common options below teaches the model something different.
Random negatives. Pick dishes at random from the whole catalog. They are cheap, but they are too easy. A customer who orders sushi is compared with a dessert from a shop in another city. The model learns obvious differences, not fine ones.
In-batch negatives. Training processes examples in groups called batches. Each example pairs one customer with one dish they ordered. For each customer, the other customers' positives in the same batch serve as negatives. They are free, because those dishes are already in the batch. They are also realistic, because real people wanted them. That is why in-batch negatives are the production default for two-tower training.
Popularity-corrected sampling. In-batch negatives have a bias: popular dishes appear in many orders, so they surface as negatives far too often. The model then learns to push popular dishes down, even for customers who would like them. The fix adjusts each dish's score during training by how often that dish is sampled. Serving uses the plain scores. A popular dish is then not punished just for being common.
Hard negatives. A hard negative is a near miss: an item that looks like a good match but was not chosen. One example is a pizza place next to the one the customer ordered from. Another is a dish the customer opened and did not order. Hard negatives teach the exact boundary between "right" and "almost right." Random and in-batch negatives are rarely this close, so they teach it poorly.
Hard negatives carry a risk, because many of them are items the user liked, just not this time. The customer who ordered from one pizza place may order from the one next door next week. If training uses only hard negatives, the model is punished for matching the user's real tastes. It can collapse, which means it learns to score many good matches low. So hard negatives should be a small share of the mix.
| Negative type | What it is | Strength | Weakness |
|---|---|---|---|
| Random | Any item from the catalog | Cheap | Too easy; teaches only obvious differences |
| In-batch | Other customers' positives in the same batch | Free and realistic | Popular items appear too often |
| Popularity-corrected | In-batch, adjusted by how often each item is sampled | Removes the popularity bias | Adds one more step to training |
| Hard | Near misses, such as a dish opened and not ordered | Teaches the exact boundary | Many are items the user also likes |
The usual order is to start with in-batch negatives, correct them for popularity, and then add a few hard negatives.
Part 7: Splitting Data Without Leaking the Future
Use a Temporal Split
Offline evaluation tests a model on data it did not train on. How you split the data decides whether that test is honest.
A random split shuffles all examples and deals them into a training set and a test set. For data shaped by time, a random split scatters future data into training by accident.
Suppose a fraud ring started in March. With a random split, March examples land in both sets. The model learns the ring's pattern from training, and then it "predicts" the same pattern in the test. Real serving never has that advantage, because in production the model always predicts payments from a period it has not seen.
A temporal split divides the data by time. For example, train on January to April, validate on May, and test on June. Now the test matches real use, where the model predicts a period it has never seen. Scores often drop compared with a random split, and the lower number is the honest one.
The Leakage Checklist
Leakage makes offline results look better than real results. Check for these four patterns before you trust any score.
-
Future data through a random split. For data shaped by time, use a temporal split, as described above.
-
Features computed after the label moment. The label moment is the moment the example describes, when the prediction would have been made. Every feature must use only data from before it. For example, take a merchant fraud-rate feature, where the merchant is the restaurant. Suppose it is computed over a window that includes the transaction being predicted. The rate then contains that payment's own fraud outcome, which was known only weeks later. Even a window that ends before the payment must count only the fraud cases already confirmed at that moment. A point-in-time-correct join prevents this, as Features and Feature Stores explains.
-
Label-adjacent features. These are features that are filled in only after the outcome is known. For example, a refund flag may be set only after fraud is confirmed. In training, it predicts fraud almost perfectly. At serving time it is always empty, because the outcome has not happened yet. Ask one question of every feature: "Would this value exist at the moment of the prediction?"
-
Near-duplicates across splits. The same example, or a nearly identical one, appears in both the training set and the test set. For example, one customer may post the same review on three restaurants. One fraud ring may send hundreds of almost identical payments. The model has already seen the test items, so every metric is inflated. Remove the duplicates, or keep each related group in a single split.
Training While Labels Are Still Arriving
Delayed labels create one more problem. Suppose chargebacks take about six weeks to arrive, and the team needs a new fraud model this week. The last six weeks have incomplete labels. Many fraud cases from those weeks still look legitimate, because their chargebacks have not arrived yet.
Waiting six weeks every time is too slow, because fraud patterns change. The answer has two parts.
Train on a mature window. Use an older window whose labels have settled and are final, such as weeks 7 to 26 before today.
Add provisional labels for the recent weeks. For the last six weeks, use faster signals as stand-ins, which are also called proxies. These are analyst decisions, customer reports of unknown charges, and cards that the bank blocked. Mark each one as provisional, and replace it with a final label when the chargebacks arrive.
The diagram below shows the two windows.
Notice that the two windows carry labels of different quality, so measure model quality on final labels. Treat any score on provisional labels as an early estimate, and check it again when the chargebacks arrive.
Part 8: Whose Data It Is
Training data is made from people's actions, so it comes with their rights and with the company's rules. Three questions belong in every design that uses it.
May you use it? Use data only for purposes the users agreed to and the law allows. Review text might be allowed for moderation, and not for other uses.
How long may you keep it? Set a retention period for logs and training sets, and delete the data when that period ends.
What happens when a user deletes their account? The obligation does not stop at the account row. It reaches into derived data too, including training sets, feature tables, and embeddings built from that user's data. An embedding is a list of numbers that a model learns to describe a user or an item. The exact rules depend on the law and on company policy.
To meet these rules, the team needs lineage. Lineage is a record of which data sets and models used which source data. Without it, nobody can find every copy. A model already trained on deleted data is a harder case. Many teams retrain on the cleaned data in the next scheduled run. Confirm the requirement with the privacy team.
Part 9: Using This in an Interview
The 30-second answer (to "where do your labels come from?"): "For each model, I'd name the label and its source: a natural outcome, a user action, or a human reviewer. Then I'd state its cost, its delay, and how it can be wrong. Human labels get versioned guidelines, agreement checks, and gold questions. If an LLM labels at scale, humans check a random sample and every uncertain case. For rare positives, I'd downsample and then recalibrate. I'd split by time and run a leakage check before I trust any score."
Likely follow-ups:
- "Why not label everything with the LLM and drop human review?" Because the LLM's errors are correlated. They cluster in certain dialects and in adversarial content, so they do not cancel out at scale. Audit slices must stay human-labeled: a random sample, plus the groups where errors cluster. Those slices measure the LLM's error rate, both overall and on each risky group.
- "Chargebacks take six weeks. How do you train a usable fraud model this week?" Train on a mature older window whose labels are final. Add provisional proxies for the recent weeks, such as analyst decisions and customer reports. Mark them as provisional, replace them when chargebacks arrive, and judge quality on final labels.
- "Offline results are excellent, but production quality is poor. What do you check first?" Leakage. Check for a random split on time-shaped data, features computed after the label moment, label-adjacent features, and near-duplicates across splits. Then compare the features in training with the features in serving.
Part 10: Common Mistakes
Mistake 1: Saying "We Use Historical Data"
History is not a label, so name the label, its source, its delay, and its most likely error before you name a model.
Mistake 2: Treating Behavior as Truth
Orders and clicks are free and fast, but they are noisy and biased toward what was shown. Say how you will correct for that bias, and how you will test with cleaner labels.
Mistake 3: Changing a Guideline Without a Version
A changed guideline silently changes the meaning of old labels, so store the version with every label.
Mistake 4: Trusting LLM Labels Without Audit Slices
LLM errors repeat on the same kinds of input. Without human-labeled audit slices, nobody can see them.
Mistake 5: Forgetting to Recalibrate
After downsampling or reweighting, the scores are too high. Thresholds and cost estimates that treat those scores as real chances will be wrong until the scores are recalibrated.
Mistake 6: Splitting Time-Shaped Data at Random
A random split puts future data into training. Use a temporal split, and run the full leakage checklist.
FAQs
Q: Are natural labels always better than human labels?
No. Natural labels measure real outcomes at almost no cost. But they can be late, censored, or noisy. Many systems combine natural labels with human labels from a review queue.
Q: Can a ranking model learn from orders and clicks alone?
Yes, many do, but the team must account for position bias and for items that were never shown. A small set of human judgments is often kept for testing.
Q: Does recalibration change which payments score highest?
No. Recalibration keeps the order of the scores. It changes only the numbers, so that each score matches a real chance.
Q: Do I need hard negatives from the start?
No. Start with in-batch negatives and correct them for popularity. Add a small share of hard negatives later, and measure whether retrieval improves.
Key Takeaways
- Labels come from three sources. Natural outcomes, user behavior, and human annotation each have their own cost, delay, and weakness.
- Human labels need a process. Versioned guidelines fix the meaning of a label. Agreement checks find unclear rules, and gold questions catch fatigue and drift.
- LLM labeling moves humans; it does not remove them. Humans check a random sample and every uncertain case, and audit slices stay human-labeled.
- Rare positives need two steps. Downsample or reweight for training, then recalibrate the scores. Never judge a fraud model by plain accuracy.
- Negatives decide what a retrieval model learns. Start with in-batch negatives, correct for popularity, and add a few hard negatives.
- An honest test needs a temporal split and a leakage check. Train on mature labels, and mark recent labels as provisional.
- In a system design interview, name the label, its source, its delay, and how it can be wrong. Then explain how you split the data and how you checked for leakage.
The next lesson, Features and Feature Stores, covers the other half of every training example. It explains the features, and how they stay the same in training and serving.
Check Your Understanding
1. A ranking model learns only from orders on the home screen. Why might it never learn that a new restaurant is good?
<details> <summary>Show answer</summary>Because behavioral labels are biased toward what was shown. If the app never shows the new restaurant, it collects no orders. The data then says nothing about it, so the model has nothing to learn from.
</details>2. Two reviewers give the same label on only 60 percent of items. What should you fix first?
<details> <summary>Show answer</summary>The guideline. Low inter-annotator agreement usually means the rule allows more than one reading. Add sharper instructions and worked examples for the borderline cases, then measure agreement again.
</details>3. A fraud model trained on downsampled data scores a payment at 0.5. Is the chance of fraud 50 percent?
<details> <summary>Show answer</summary>No. The model believes fraud is far more common than it is. In this lesson's example, a score of 0.5 matches a real chance of only about 2 percent. Recalibrate the scores before you use them as chances.
</details>4. A fraud model scores much better with a random split than with a temporal split. Which result should you report?
<details> <summary>Show answer</summary>The temporal split. A random split scatters future data into training, so the model sees patterns it could not know in production. The temporal result is lower, but it matches real use.
</details>Reading Progress
0%
On This Page
Know the Vocabulary
Part 1: Labels Do Not Arrive by Themselves
What Interviewers Expect
Part 2: Three Sources of Labels
Source 1: Natural Outcomes
Source 2: User Behavior
Source 3: Human Annotation
The Three Sources Side by Side
What a Label Is Not
Part 3: Making Human Labels Trustworthy
Versioned Guidelines
Inter-Annotator Agreement
Gold Questions
The Review Queue Is a Label Source
Part 4: Labeling With an LLM
Why LLM Errors Do Not Cancel Out
Part 5: When Positives Are Rare
Fix 1: Downsampling
Fix 2: Reweighting
Part 6: Choosing Negatives for a Retrieval Model
Part 7: Splitting Data Without Leaking the Future
Use a Temporal Split
The Leakage Checklist
Training While Labels Are Still Arriving
Part 8: Whose Data It Is
Part 9: Using This in an Interview
Part 10: Common Mistakes
Mistake 1: Saying "We Use Historical Data"
Mistake 2: Treating Behavior as Truth
Mistake 3: Changing a Guideline Without a Version
Mistake 4: Trusting LLM Labels Without Audit Slices
Mistake 5: Forgetting to Recalibrate
Mistake 6: Splitting Time-Shaped Data at Random
FAQs
Key Takeaways
Check Your Understanding