Audit a held-out preference pair for contamination
Type every qualifier in the comparison. · 189 words
A held-out preference pair contains two answers to one prompt and a label saying which a human preferred. A contamination audit checks whether that test item entered training, prompt tuning, or repeated validation. Search for exact copies. For example, a test prompt asks which coat is warmer, and "the blue coat" is preferred. A training row has the same prompt and choice. The model may have learned that answer, so replace or report the pair. An exact match of the prompt, both answers, and the preferred label is strong evidence. A paraphrase needs a separate check for near duplication.
Also look for near copies. Suppose a test item asks how many sides a hexagon has. A training item says, "A hexagon has six sides," and uses the same two explanations. Shared facts are common; repeating the whole item, rationale, and preference structure is more serious. Record the search terms, matches, and decision. Keep clean pairs for the main score and list excluded pairs in the report. A clean held-out set estimates performance on genuinely unseen tasks. Contamination weakens this estimate because the result may reflect memorization rather than generalization.
Check your recall
A held-out pair's exact prompt, both replies, and preferred label appear together in training. What should the evaluator conclude and do?
Check your answer
Treat the pair as contaminated because the model may have seen the labeled answer. Exclude or replace it, report the audit and exclusion, and calculate the final result from clean held-out pairs.
Sources and credits
Original KeyTouch lesson. Background reading · Nathan Lambert · Reinforcement Learning from Human Feedback.