Recovering Clean Evaluation Metrics from Contaminated Benchmarks
Míriam Barrabés, Daniel Mas Montserrat, Maria Perera, Alexander Ioannidis
NeurIPS page · Open on the map
Category: Causality, Privacy & Learning Theory › Tree Ensemble Compression and Interpretability · Type: new method · Keywords: benchmark contamination, metric recovery, evaluation bias, tabular classification, conformal prediction
Areas: Evaluation & Benchmarks › Language Model and Agent Safety › Calibration and Uncertainty Quantification; Evaluation Methodology & Auditing › Model Performance and Reliability Assessment › Uncertainty Calibration
Summary
MILAN recovers clean evaluation metrics from contaminated benchmarks by estimating the proportion of clean examples and correcting metrics using weighted estimators and conformal intervals.
Explained to a 5-year-old
Sometimes people test their toys with examples they already played with, which makes the test look easier than it really is. This makes the scores they get too high. The paper creates a way to fix those scores so they show the real difficulty. It looks at how many of the test examples might be from the training set and adjusts the scores. This helps people trust the scores more.
Explained to a 5-year-old, longer
When you learn something new, you might practice with the same problems you already know, and then you think you’re better than you really are. This is called benchmark contamination, and it hides the true difficulty of the tasks. The paper studies how to fix these inflated scores after the fact, using only the results you got on the test set. It treats the test set as a mix of examples that came from training and examples that are truly new. By estimating how many are clean, it adjusts the scores to reflect real performance. The method can work for many different kinds of scores, like accuracy or error rates. It also adds a way to know how confident we are in the corrected scores. In a real-world example with medical data, the corrected scores matched independent reference scores better. The authors even released a simple tool so anyone can try it out.
For a technical reader
MILAN is a meta-trained framework that treats a contaminated benchmark as a mixture of leaked and clean examples, estimating soft weights for the clean component. It then applies weighted estimators and metric-specific corrections to produce unbiased evaluation metrics. The framework optionally incorporates priors on contamination rates and sample difficulty scores, and it supplies split-conformal prediction intervals for uncertainty quantification. Across extensive simulations and a polygenic risk-score case study, MILAN consistently outperforms thresholding, clustering, mixture-model, anomaly-detection, and membership-inference baselines. The authors provide a scikit-learn-style implementation for easy adoption.
Problem
When benchmark examples overlap with a model’s training data, reported evaluation metrics become inflated, obscuring true model performance. There is a need for post-hoc methods to recover unbiased metrics without access to training provenance.
Method
The approach models a contaminated benchmark as a mixture of training-origin and clean examples, estimates soft posterior weights for the clean component, and applies weighted estimators and metric-specific corrections. It optionally incorporates contamination-rate priors and sample difficulty scores, and provides split-conformal prediction intervals for uncertainty quantification.
Results
The approach significantly outperforms baseline recovery methods across simulated benchmarks, and in a polygenic risk score case study it improves agreement with FinnGen reference metrics.
Contributions
It introduces a meta-trained framework for estimating clean evaluation metrics from contaminated benchmarks, supports a broad class of metrics, incorporates priors and difficulty scores, and provides conformal uncertainty intervals. It also offers a scikit-learn-style implementation for practical use.
Limitations and assumptions
Relies solely on prediction-label pairs without access to training data; evaluated mainly on simulated benchmarks and a single biomedical case study.
Practical relevance
Enables practitioners to obtain unbiased evaluation metrics even when benchmark contamination is present, facilitating more reliable model assessment.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction