Non-obvious modes of train/test leakage in instruction-tuning evaluation
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Name and explain at least three non-obvious ways train/test leakage creeps into instruction-tuning evaluation. For each, describe a concrete mitigation.
Leakage hides in paraphrased duplicates, benchmark contamination, judge-teacher overlap, and split after augmentation. Dedup by embedding, decontaminate by n-gram, and cross-family your judge.
Imagine grading a student on a test, but some test questions are just reworded homework they already practiced. They ace it without learning. That is leakage. Worse, the famous textbook the test came from was already memorized during their childhood reading, so everyone scores high for the wrong reason. And if the same tutor who coached them also grades the exam, the tutor unconsciously rewards their own style. None of these leaks show up if you only check for word for word copies. You have to compare by meaning, scan for sneaky reused passages, and bring in an independent grader from a different school.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
5 min: four scales of leakage + paraphrase dedup + benchmark decontamination + judge-teacher overlap + split before augment + how to re-report a clean fine-tune delta.
| Leakage mode | Scale | Exact-match catches it? | Mitigation |
|---|---|---|---|
| Paraphrased duplicates | Example | No | Embedding dedup at cosine 0.85 or higher |
| Benchmark contamination | Corpus | No | N-gram overlap probe, private or post-cutoff sets |
| Judge-teacher overlap | Evaluator | No | Judge with a different model family |
| Split-after-augmentation | Pipeline | No | Split seeds first, then augment each split |
| Document-level contamination | Pipeline | Sometimes | Dedup at document or domain level |
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Relying on exact-match dedup. It catches verbatim copies but misses paraphrased duplicates, same-source chunks split across train and eval, and the judge that shares a family with your data generator.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.