Skip to main content
QUICK REVIEW

[Paper Review] Stop Uploading Test Data in Plain Text: Practical Strategies for Mitigating Data Contamination by Evaluation Benchmarks

Alon Jacovi, Avi Caciularu|arXiv (Cornell University)|May 17, 2023
Data Quality and ManagementDecision Sciences5 citations
TL;DR

This paper proposes three practical strategies to mitigate data contamination in NLP evaluation: encrypting test data with public-key encryption and non-derivative licenses, refusing to evaluate closed API models without training exclusion guarantees, and avoiding internet-released data with solutions. These measures aim to preserve evaluation integrity under the assumption of sincere actors, offering actionable defenses against contamination from both crawled corpora and API-based models.

ABSTRACT

Data contamination has become prevalent and challenging with the rise of models pretrained on large automatically-crawled corpora. For closed models, the training data becomes a trade secret, and even for open models, it is not trivial to detect contamination. Strategies such as leaderboards with hidden answers, or using test data which is guaranteed to be unseen, are expensive and become fragile with time. Assuming that all relevant actors value clean test data and will cooperate to mitigate data contamination, what can be done? We propose three strategies that can make a difference: (1) Test data made public should be encrypted with a public key and licensed to disallow derivative distribution; (2) demand training exclusion controls from closed API holders, and protect your test data by refusing to evaluate without them; (3) avoid data which appears with its solution on the internet, and release the web-page context of internet-derived data along with the data. These strategies are practical and can be effective in preventing data contamination.

Motivation & Objective

  • Address the growing problem of data contamination in NLP benchmarks due to models trained on internet-crawled data or API calls.
  • Mitigate contamination risks in closed models where training data is opaque and potentially includes evaluation data.
  • Propose actionable, practical strategies for researchers to preserve the integrity of evaluation data.
  • Operate under the assumption that all actors are sincere and wish to avoid contamination, focusing on technical and procedural safeguards.
  • Provide a framework for researchers to assess and reduce contamination risks in test data, especially for open and closed models.

Proposed method

  • Encrypt public test data using public-key cryptography to prevent automatic crawling and unauthorized redistribution.
  • Leverage software licenses that explicitly prohibit derivative works to legally restrict redistribution of modified or extracted data.
  • Refuse to use closed API models that do not offer training data exclusion guarantees, thereby protecting test data from being used in future model training.
  • Avoid using evaluation data that appears with its solution on the internet, and when using internet-derived data, release the web context to enable provenance tracking.
  • Advocate for a research database to log contamination events and promote transparency in model training data sources.
  • Explore watermarking techniques for metadata or non-intrusive data components to detect contamination, though this remains underexplored for test data.

Experimental results

Research questions

  • RQ1How can researchers protect test data from being inadvertently included in model training when using publicly available or API-hosted models?
  • RQ2What practical, enforceable mechanisms can be used to prevent data contamination in evaluation benchmarks without relying on trust alone?
  • RQ3To what extent can encryption and licensing strategies effectively prevent data leakage from public test sets to model training data?
  • RQ4How can researchers ensure that evaluation data sent to closed APIs does not become part of future model training?
  • RQ5What role can metadata, provenance, and contextual release play in reducing the risk of contamination from internet-derived datasets?

Key findings

  • The paper demonstrates that data contamination is a critical threat to the validity of NLP evaluation, especially when models are trained on internet-crawled data or when test data is sent to closed APIs without exclusion guarantees.
  • Public test data that is not encrypted or licensed restrictively is vulnerable to automatic crawling and potential inclusion in model training, even if not used verbatim.
  • The use of public-key encryption combined with a non-derivative license can effectively prevent unauthorized distribution and derivative use of test data.
  • Refusing to evaluate models without training exclusion guarantees from closed API providers is a viable and effective strategy to prevent contamination of evaluation data.
  • Releasing the web context of internet-derived data enables better provenance tracking and reduces the risk of accidental contamination.
  • The strategies are most effective under the assumption of sincere actors; negligence or adversarial behavior in data handling can still compromise data integrity despite these measures.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.