Contamination Report for Multilingual Benchmarks

Sanchit Ahuja, Varun Gumma, Sunayana SitaramarXiv 2024 · DOI

Abstract

Researchers from Microsoft Research have identified widespread "data contamination" in nearly all popular multilingual Large Language Models (LLMs). Using a statistical "Black Box" test, the study reveals that state-of-the-art models like Llama 3.1 and Gemma 2 show clear signs of having been exposed to evaluation benchmarks during their training phases. This contamination leads to inflated performance scores that may not accurately reflect the models' true linguistic capabilities.

The Problem of Data Contamination

In the field of AI, benchmarks serve as the standard metrics for performance. However, LLMs are trained on massive web crawls that often inadvertently include benchmark questions and answers hosted on public repositories. When a model is exposed to these test sets during training, it may memorize the answers rather than learning the underlying task. This creates a "false mirror" effect, where a model appears to be a multilingual expert on paper but is actually reciting data seen during training. This issue is particularly critical for multilingual benchmarks, where high-quality evaluation data is scarce and more prone to leakage.

Methodology: The Black Box Test

The study employs the Black Box test, a method that identifies contamination without requiring access to a model's proprietary training data. The test relies on the statistical property of exchangeability. In a clean scenario, a model's performance should not vary based on the order in which test examples are presented. However, most benchmarks are hosted online in a specific "canonical" order. If a model has been exposed to that specific file, it develops a statistical bias toward that original sequence.

By comparing a model’s performance on the canonical order versus thousands of randomly shuffled versions, researchers can identify a "statistical smoking gun." If the model performs significantly better on the original order (p-value < 0.0013), it is flagged as contaminated.

The Generational Shift

A striking finding is that newer, more powerful models show much higher rates of contamination than their predecessors. As training sets grow larger to achieve better performance, they are increasingly likely to incorporate benchmark data.

Contamination status of previous generation LLMs (Gemma 7B, Llama 2, Mistral v0.1), showing relatively lower rates of contamination compared to newer models.

Pre-training as the Source

By testing both "Base" and "Instruction-Tuned" (IT) versions, the authors found that if a base model is contaminated, its IT version is as well. This suggests the contamination occurs during the initial massive pre-training phase and persists through later fine-tuning stages.

The Multilingual Scarcity Trap

Because high-quality multilingual data is harder to find on the web than English data, developers may be less selective about their sources, leading to a higher likelihood of including benchmark repositories in the training corpus.

Results

The results are sobering: almost all models showed signs of contamination on almost all benchmarks. Llama-3.1-8B and Gemma-2-9B were flagged as contaminated across nearly every single benchmark tested, with the sole exception of Llama 3.1 on the XLSum summarization task. Aya-23-8B was the "cleanest" of the recent group, showing no signs of contamination on XCOPA and PAWS-X, though it was still contaminated on the other five benchmarks.

Contamination status of recent LLMs across multilingual benchmarks. Red crosses indicate detected contamination, while green checks indicate the model passed the exchangeability test.

Proving this contamination is computationally expensive; the researchers utilized 8x H100 GPUs for approximately 362 hours to achieve statistically significant results across the model suite.

Limitations and Future Work

While the Black Box test is a powerful diagnostic tool, it provides a binary result—it identifies if a model is contaminated, but not how much that contamination inflates the final score. Furthermore, the computational intensity makes it difficult to scale to extremely large models (like Llama 405B) or a wider variety of specialized datasets.

This report serves as a vital warning to the NLP community: benchmark scores cannot always be taken at face value. As models grow increasingly sophisticated, the methods used to evaluate them must become equally rigorous to ensure we are measuring true intelligence rather than memorization.

Summary updated

BibTeX
@misc{ahuja2024contamination,
  author = {Sanchit Ahuja and Varun Gumma and Sunayana Sitaram},
  title = {{Contamination Report for Multilingual Benchmarks}},
  year = {2024},
  eprint = {2410.16186},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.16186},
}
Figure