[Paper Review] Benchmarking Benchmark Leakage in Large Language Models
This paper introduces a scalable detection pipeline using perplexity and N-gram accuracy to identify benchmark data leakage in large language models, revealing widespread training-set and test-set misuse across 31 models on GSM8K and MATH benchmarks. The key contribution is the 'Benchmark Transparency Card' to promote accountability and fair evaluation in LLM development.
Amid the expanding use of pre-training data, the phenomenon of benchmark dataset leakage has become increasingly prominent, exacerbated by opaque training processes and the often undisclosed inclusion of supervised data in contemporary Large Language Models (LLMs). This issue skews benchmark effectiveness and fosters potentially unfair comparisons, impeding the field's healthy development. To address this, we introduce a detection pipeline utilizing Perplexity and N-gram accuracy, two simple and scalable metrics that gauge a model's prediction precision on benchmark, to identify potential data leakages. By analyzing 31 LLMs under the context of mathematical reasoning, we reveal substantial instances of training even test set misuse, resulting in potentially unfair comparisons. These findings prompt us to offer several recommendations regarding model documentation, benchmark setup, and future evaluations. Notably, we propose the "Benchmark Transparency Card" to encourage clear documentation of benchmark utilization, promoting transparency and healthy developments of LLMs. we have made our leaderboard, pipeline implementation, and model predictions publicly available, fostering future research.
Motivation & Objective
- To address the growing issue of benchmark data leakage in LLMs, which undermines evaluation integrity and enables unfair comparisons.
- To develop a scalable, simple method for detecting potential data leakage from benchmark datasets during model pre-training.
- To expose the prevalence of training on both training and test sets of benchmarks like GSM8K and MATH, which skews performance claims.
- To promote transparency in LLM evaluation by introducing the 'Benchmark Transparency Card' for standardized documentation of benchmark usage.
- To encourage responsible model reporting and improve reproducibility and fairness in LLM benchmarking practices.
Proposed method
- Uses perplexity (PPL) and N-gram accuracy as core metrics to assess model prediction precision on benchmark test sets.
- Applies these metrics to evaluate whether models have memorized or been trained on benchmark data by measuring deviation from expected generalization.
- Analyzes 31 LLMs across two mathematical reasoning benchmarks: GSM8K and MATH, with controlled test and train splits.
- Computes a delta metric, δ_train-test, representing the relative likelihood of model performance being due to data leakage rather than generalization.
- Introduces the 'Benchmark Transparency Card' as a standardized template for disclosing benchmark usage, including data sources, preprocessing, and evaluation details.
- Makes the detection pipeline, leaderboard, and model predictions publicly available via GitHub and Hugging Face for reproducibility and community use.
Experimental results
Research questions
- RQ1To what extent are LLMs trained on both training and test sets of benchmark datasets like GSM8K and MATH?
- RQ2How effective are perplexity and N-gram accuracy in detecting potential benchmark data leakage in LLMs?
- RQ3What proportion of reported model performance on benchmarks is attributable to data leakage rather than true generalization?
- RQ4How can transparency in benchmark usage be standardized to improve fairness and reproducibility in LLM evaluation?
- RQ5What are the implications of undisclosed benchmark data usage for model comparison and the long-term development of the LLM field?
Key findings
- 31 LLMs analyzed show significant evidence of benchmark data leakage, with δ_train-test values indicating high likelihood of training on test sets.
- Models like Qwen-14B, Yi-34B, and InternLM2-20B exhibit δ_train-test scores above 70% on MATH, suggesting strong potential for test set memorization.
- Even models with lower overall performance, such as Gemma-2B and Phi-2, show non-zero δ_train-test values (e.g., 15.24% on MATH), indicating possible data leakage.
- The study reveals that models like LLaMA-3-8B and Baichuan-13B-Base show δ_train-test values above 15% on GSM8K, indicating substantial test set exposure.
- A significant number of models (e.g., Qwen-1.8B, Baichuan2-7B-Base) show negative δ_train-test values, suggesting possible overfitting or data contamination.
- The authors publicly release the detection pipeline, leaderboard, and model predictions to support reproducibility and future research on benchmark transparency.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.