Evaluate noisy data for LLM post-training
I was asked this
No reports yet. Sign in to say where you were asked it.
An AI/ML design interview question asked in Mercor's technical phone screen, last asked May 2026. It tests llm, post-training and data quality.
You have collected data to post-train a language model (instruction-following examples or preference pairs, for example), and you know some of it is noisy: wrong labels, poor answers, duplicates, off-topic or unsafe content. How do you measure the data's quality, find the bad examples, decide what to keep, fix or drop, and show that training on it helps without hurting what the model could already do?
Requirements
- Functional: a way to estimate how noisy the dataset is; a method to flag likely bad examples; a decision rule for keep, fix (relabel) or drop; an experiment that shows the effect of the data on the model.
- Non-functional: human review is expensive, so use it where it matters most; private or unsafe content must not reach training.
Clarifying questions
- What is the data for: supervised fine-tuning, preference training, a new skill, a new domain?
- How was it collected: contractors, users, another model? Do we know which annotator wrote each example?
- How large is it, and how much expert review can we afford?
- What does the model already do well that must not get worse?
What a strong answer covers
- Measuring quality on a random sample reviewed by experts, with agreement between reviewers, to estimate the noise rate per source or annotator.
- Finding bad examples at scale: deduplication, format and length checks, a model-based judge or reward model scoring examples, disagreement between annotators, and examples a trained model finds very unlikely; then human review of the flagged ones.
- Distribution fit: does the data match the tasks and prompts the model will see? Safety and privacy filtering (personal data, harmful content).
- Ablations: train with the full set, the cleaned set and without it, and compare on held-out task evaluations and on regression suites for existing capabilities.
- Feeding results back to collection: fix guidelines, retrain or remove annotators whose work is consistently poor.
Follow-ups
- The judge model that flags bad examples has its own biases. How do you check it?
- Cleaning removes most examples from one hard category. What do you do?
- How much noise is acceptable, and how would you find out?
Where it's asked
- Mercor · Technical phone screen · Last asked May 202650 min · Technical screen, often without writing code
What it tests
llm · post-training · data quality
No official answer yet. Draw yours on the right; publish it and it shows under Community.
Nothing published yet. Publish your canvas and it shows here for others to open and remix.
