During a QA benchmarking experiment, a researcher tunes hyperparameters by repeatedly evaluating candidate models on the held-out test set and selecting the configuration with the best F1. What is the primary risk introduced by this practice?
- AThe experiment requires substantially more compute because multiple full evaluation passes are needed.
- BF1 score becomes an unreliable metric when it is computed more than once against the same test corpus.
- CThe held-out test set effectively becomes part of the development signal, causing reported performance to overestimate true generalisation. Correct
- DThe model will overfit to the validation set rather than the test set, undermining the value of validation-based early stopping.
Why A is wrong: Tempting because repeated evaluation does increase compute cost. Wrong because increased compute is a secondary practical concern; the primary scientific risk is that the reported test performance becomes an optimistic, biased estimate rather than an unbiased measure of generalisation.
Why B is wrong: Tempting because it correctly identifies F1 as the metric in use and hints at repeated evaluation. Wrong because F1 remains a valid and reproducible metric regardless of how many times it is computed; the problem is the feedback loop created when test-set results guide configuration selection, not the metric computation itself.
Why C is correct: When model or hyperparameter choices are made by inspecting test-set scores, information from the test set leaks into the design process. The test set no longer represents genuinely unseen data, so the measured performance is inflated relative to what the model would achieve in deployment. This is test-set contamination or evaluation leakage.
Why D is wrong: Tempting because overfitting to a held-out partition is the correct general concern in evaluation design. Wrong because the scenario describes optimisation against the test set specifically, not the validation set; conflating the two misidentifies which partition is being contaminated and which safeguard is bypassed.