Data Contamination Calibration for Black-box LLMs

Wentao Ye, Jiaqi Hu, Liyao Li, Haobo Wang, Gang Chen +1 more
5/20/2024
cs.LG

No official code found. Best implementation: yyy01/PAC (16 stars, MIT, last commit 2024-05-21).

Abstract

The rapid advancements of Large Language Models (LLMs) tightly associate with the expansion of the training data size. However, the unchecked ultra-large-scale training sets introduce a series of potential risks like data contamination, i.e. the benchmark data is used for training. In this work, we propose a holistic method named Polarized Augment Calibration (PAC) along with a new to-be-released dataset to detect the contaminated data and diminish the contamination effect. PAC extends the popular MIA (Membership Inference Attack) -- from machine learning community -- by forming a more global target at detecting training data to Clarify invisible training data. As a pioneering work, PAC is very much plug-and-play that can be integrated with most (if not all) current white- and black-box LLMs. By extensive experiments, PAC outperforms existing methods by at least 4.5%, towards data contamination detection on more 4 dataset formats, with more than 10 base LLMs. Besides, our application in real-world scenarios highlights the prominent presence of contamination and related issues.

View on arXivView PDF

Code Implementations(1)

yyy01/PACCommunity100%
MIT

The official implementation of the paper "Data Contamination Calibration for Black-box LLMs" (ACL 2024)

161PythonMay 18, 20242 years agoMIT
ai-safetydata-contaminationlarge-language-modelsmachine-learningmembership-inference-attack+1 more

Similar Papers

Cite this paper

@article{ye2024data,
  title  = {Data Contamination Calibration for Black-box LLMs},
  author = {Wentao Ye and Jiaqi Hu and Liyao Li and Haobo Wang and Gang Chen and Junbo Zhao},
  year   = {2024},
  eprint = {2405.11930},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.11930v2}
}

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/2405.11930.svg)](https://codeofpaper.com/paper/2405.11930)

Discussion