Evading Data Contamination Detection for Language Models is (too) Easy
cs.LG, cs.AI, cs.CL, cs.CR
Submitted: 2024-02-05
Updated: 2026-11-26
Code: https://github.com/eth-sri/malicious-contamination
License: http://creativecommons.org/licenses/by/4.0/
The gist: The benchmark performance of large language models (LLMs) has a high impact on their popularity and is thus of great importance to many model providers.
Terminology
Abstract
The benchmark performance of large language models (LLMs) has a high impact on their popularity and is thus of great importance to many model providers. However, the reliability of such benchmark scores as a measure of model quality gets compromised if the model is contaminated with benchmark data. While recent contamination detection methods try to address this issue, they overlook the possibility of deliberate contamination by malicious model providers aiming to evade detection. We propose a categorization of model providers based on their (de)contamination practices and argue that malicious contamination is of crucial importance as it casts doubt on the reliability of public benchmarks. To study this issue more rigorously, we analyze current contamination detection methods based on their assumptions. This analysis reveals a vulnerability in existing approaches: they do not account for rephrased benchmark data used during training by malicious actors. We demonstrate how exploiting this gap can result in significantly inflated benchmark scores while completely evading current detection methods.
Sources
- Gemini: A Family of Highly Capable Multimodal Models
- PaLM 2 Technical Report
- A Survey on Evaluation of Large Language Models
- PaLM: Scaling Language Modeling with Pathways
- Investigating Data Contamination in Modern Benchmarks for Large Language Models
- Data Contamination Quiz: A Tool to Detect and Estimate Contamination in Large Language Models
- Time Travel in LLMs: Tracing Data Contamination in Large Language Models
- Competition-Level Problems are Effective LLM Evaluators
- Mistral 7B
- Platypus: Quick, Cheap, and Powerful Refinement of LLMs
- Task Contamination: Language Models May Not Be Few-Shot Anymore
- Estimating Contamination via Perplexity: Quantifying Memorisation in Language Model Evaluation
- An Open Source Data Contamination Report for Large Language Models
- LatestEval: Addressing Data Contamination in Language Model Evaluation through Dynamic and Time-Sensitive Test Construction
- GPT-4 Technical Report
- Proving Test Set Contamination in Black Box Language Models
- The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Only
- Data Contamination Through the Lens of Time
- Detecting Pretraining Data from Large Language Models
- Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language models
Related papers
- Biologically Inspired Coordination of Parameter Selection and Update Strength for Language Model Adaptation
- Sketching for First Order Method: Efficient Algorithm for Low-Bandwidth Channel and Vulnerability
- The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearning
- On the notion of missingness for path attribution explainability methods in medical settings: Guiding the selection of medically meaningful baselines
- Variable-Length Generative Protein Design via Generalized Poisson Flow
- UniCon: Unified Framework for Efficient Contrastive Alignment via Kernels