Assessing Contamination in Large Language Models: Introducing the LogProber method

📅 2024-08-26
🏛️ arXiv.org
📈 Citations: 5
Influential: 1
📄 PDF

career value

184K/year
🤖 AI Summary
This paper addresses the problem of overconfident evaluation of large language models (LLMs) due to training data contamination—particularly in short-text domains such as psychological scales. We propose LogProber, the first quantifiable contamination detection method tailored for short texts. It leverages sentence-level token log-probability modeling, sequence likelihood estimation, and statistical significance testing to efficiently identify data leakage in low-resource settings. Key contributions include: (i) the first empirical demonstration that instruction tuning and similar training paradigms can induce “stealth contamination”—where contamination exists despite negligible changes in token probabilities; and (ii) a systematic characterization of detection capability boundaries and failure conditions across mainstream training paradigms. Evaluated on diverse psychological questionnaire datasets, LogProber achieves high-precision contamination identification, offering a reproducible, interpretable diagnostic tool for fair LLM evaluation.

Technology Category

Application Category

📝 Abstract
In machine learning, contamination refers to situations where testing data leak into the training set. The issue is particularly relevant for the evaluation of the performance of Large Language Models (LLMs), which are generally trained on gargantuan, and generally opaque, corpora of text scraped from the world wide web. Developing tools to detect contamination is therefore crucial to be able to fairly and properly track the evolution of the performance of LLMs. Most recent works in the field are not tailored to quantify contamination on short sequences of text like we find in psychology questionnaires. In the present paper we introduce LogProber, a novel, efficient, algorithm that we show able to detect contamination using token probability in given sentences. In the second part we investigate the limitations of the method and discuss how different training methods can contaminate models without leaving traces in the token probabilities.
Problem

Research questions and friction points this paper is trying to address.

Detect contamination in LLM training data
Differentiate confidence from contamination in responses
Improve black-box contamination detection efficiency
Innovation

Methods, ideas, or system contributions that make the work stand out.

Detects contamination via question familiarity
Operates in black box LLM settings
Compares favorably to concurrent approaches