[Paper Review] NLP Evaluation in trouble: On the Need to Measure LLM Data Contamination for each Benchmark
This paper argues that data contamination in NLP benchmarks—where Large Language Models (LLMs) are trained on test data—leads to inflated performance metrics and invalid scientific conclusions. It proposes a community-driven registry to detect, document, and flag contamination cases, with automated tools and conference-level policies to ensure research integrity.
In this position paper, we argue that the classical evaluation on Natural Language Processing (NLP) tasks using annotated benchmarks is in trouble. The worst kind of data contamination happens when a Large Language Model (LLM) is trained on the test split of a benchmark, and then evaluated in the same benchmark. The extent of the problem is unknown, as it is not straightforward to measure. Contamination causes an overestimation of the performance of a contaminated model in a target benchmark and associated task with respect to their non-contaminated counterparts. The consequences can be very harmful, with wrong scientific conclusions being published while other correct ones are discarded. This position paper defines different levels of data contamination and argues for a community effort, including the development of automatic and semi-automatic measures to detect when data from a benchmark was exposed to a model, and suggestions for flagging papers with conclusions that are compromised by data contamination.
Motivation & Objective
- To expose the serious risk of data contamination in NLP benchmarks caused by LLMs being trained on test data.
- To demonstrate that contamination leads to overestimated model performance and invalid scientific claims.
- To call for systematic detection and documentation of contamination cases across LLMs and benchmarks.
- To advocate for community-wide mechanisms, including automated detection and conference-level flagging of contaminated research.
- To ensure the integrity of NLP evaluation by preventing reliance on models trained on benchmark test sets.
Proposed method
- Propose a multi-level contamination classification system to assess severity of data leakage.
- Develop a public registry (e.g., LM Contamination Index) to document known contamination cases with LLM, benchmark, and evidence.
- Use model memorization properties to detect if LLMs reproduce exact benchmark instances from test sets.
- Apply prompt-based testing to trigger LLMs to regenerate benchmark examples (e.g., CoNLL-2003, GSM-8K).
- Collaborate with conferences to implement policies that flag or reject papers relying on contaminated models.
- Integrate semi-automated and manual verification processes to validate contamination evidence.
Experimental results
Research questions
- RQ1To what extent are popular NLP benchmarks contaminated by LLM pre-training data?
- RQ2How does data contamination affect the reliability of model performance evaluations in NLP?
- RQ3What mechanisms can be developed to detect and document contamination cases across LLMs and benchmarks?
- RQ4How can the NLP community ensure that scientific conclusions are not invalidated by model data leakage?
- RQ5What institutional policies are needed to prevent publication of results based on contaminated models?
Key findings
- ChatGPT, WizardCoder, and GitHub Copilot were able to perfectly regenerate the first lines of the CoNLL-2003 test set in BIO format, indicating direct memorization of benchmark data.
- GPT-3, GPT-4, and other LLMs have been confirmed to include parts of benchmark test sets (e.g., BIG-bench, GSM-8K, MATH) in their training data.
- The performance of models evaluated on contaminated benchmarks is overestimated, leading to misleading comparisons.
- Several published papers, including one at ACL 2023, evaluated GPT-3 and Codex on CoNLL-2003, raising concerns about the validity of their conclusions.
- The LM Contamination Index has been established as a public registry to track and document contamination cases.
- Without detection mechanisms, contamination risks will undermine scientific rigor and lead to the publication of invalid research claims.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.