Data Contamination Can Cross Language Barriers

Feng Yao, Yufan Zhuang, Zihao Sun, Sunan Xu, Animesh Kumar +1 more
6/19/2024
cs.CLcs.AI

Official code: shangdatalab/Deep-Contam (12 stars, last commit 2024-09-11).

Abstract

The opacity in developing large language models (LLMs) is raising growing concerns about the potential contamination of public benchmarks in the pre-training data. Existing contamination detection methods are typically based on the text overlap between training and evaluation data, which can be too superficial to reflect deeper forms of contamination. In this paper, we first present a cross-lingual form of contamination that inflates LLMs' performance while evading current detection methods, deliberately injected by overfitting LLMs on the translated versions of benchmark test sets. Then, we propose generalization-based approaches to unmask such deeply concealed contamination. Specifically, we examine the LLM's performance change after modifying the original benchmark by replacing the false answer choices with correct ones from other questions. Contaminated models can hardly generalize to such easier situations, where the false choices can be \emph{not even wrong}, as all choices are correct in their memorization. Experimental results demonstrate that cross-lingual contamination can easily fool existing detection methods, but not ours. In addition, we discuss the potential utilization of cross-lingual contamination in interpreting LLMs' working mechanisms and in post-training LLMs for enhanced multilingual capabilities. The code and dataset we use can be obtained from \url{https://github.com/ShangDataLab/Deep-Contam}.

View on arXivView PDF

Code Implementations(1)

Official implementation of Data Contamination Can Cross Language Barriers

120Shell, PythonJun 16, 20242 years ago

Similar Papers

Cite this paper

@article{yao2024data,
  title  = {Data Contamination Can Cross Language Barriers},
  author = {Feng Yao and Yufan Zhuang and Zihao Sun and Sunan Xu and Animesh Kumar and Jingbo Shang},
  year   = {2024},
  eprint = {2406.13236},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.13236v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.13236.svg)](https://codeofpaper.com/paper/2406.13236)

Discussion