atlas

Research map / Large language models / Language, safety and interpretability

ConStat: Performance-Based Contamination Detection in Large Language Models

NeurIPS 2024 · Large language models › Language, safety and interpretability · approach: Data and hallucination detection

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes ConStat, a statistical test that defines contamination as performance inflated relative to reference models on a primary benchmark versus similar reference benchmarks (rephrased, synthetic, or different benchmark), and detects contamination in popular LLMs.

Problem

Existing contamination detection methods rely on detecting benchmark samples in training data, are easy to evade, and cannot quantify the effect of contamination on measured performance.

Approach

Define contamination as artificially inflated, non-generalizing benchmark performance relative to reference models; map a model's reference-benchmark score to the expected original-benchmark score via a smoothed hardness correction function fitted on reference models, and test the residual with bootstrapped pivotal confidence bounds.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use ConStat instead of the strongest baselinecontamination detection · Syntax-specific contaminated modelsdetection rate: 84.8 -> 89.1Helped
Use ConStat instead of the strongest baselinecontamination detection · Sample-specific contaminated modelsdetection rate: 70.5 -> 98.4Helped
Estimate sample-specific contamination with ConStatfinetuned models in the controlled contamination study · Sample-specific contamination effect estimatescoefficient of determination: r^2 = 0.94Helped
Use a direct mean comparison rather than ConStat (ablation)uncontaminated models when benchmark difficulties differ · Simulated different-distributions scenariop-value calibrationHurt
Use a normalized linear-performance comparison rather than ConStat (ablation)uncontaminated models with nonlinear benchmark relationships · Simulated non-linearity scenariop-value calibrationHurt
Fit the hardness correction without sorting reference models (ablation)ConStat · Simulated noisy reference-model scoresp-value calibrationHurt
Do not bootstrap over reference models (ablation)ConStat · Simulated noisy, nonlinear reference-model scenariop-value calibrationHurt
Remove the random-guessing model from the reference set (ablation)ConStat · Simulated nonlinear scenario with few reference modelsp-value calibrationHurt

Surprising findings

Limitations

Experimental setup

Datasets: GSM8k ARC-Challenge MMLU HellaSwag MathQA SciQ LAMBADA-OpenAI OpenOrca

Benchmarks: GSM8k ARC-Challenge MMLU HellaSwag

Metrics: estimated contamination effect (delta-hat) p-value true positive rate coefficient of determination r^2 lower confidence bound

Baselines: perplexity-based contamination detection Min-K% prob Chen et al. benchmark-matching detection rephrased-benchmark evaluation (Yang et al.) Mean-Test Normalized-Test

Builds on: Benjamini-Hochberg procedure LM Evaluation Harness

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy