Lune

AAAI2025Top-tier venue

Training on the Benchmark Is Not All You Need

Shiwen Ni, Xiangtao Kong, Chengming Li, Xiping Hu, Ruifeng Xu, Jia Zhu, Min Yang

Abstract

The success of Large Language Models (LLMs) relies heavily on the huge amount of pre-training data learned in the pre-training phase. The opacity of the pre-training process and the training data causes the results of many benchmark tests to become unreliable. If any model has been trained on a benchmark test set, it can seriously hinder the health of the field. In order to automate and efficiently test the capabilities of large language models, numerous mainstream benchmarks adopt a multiple-choice format. As the swapping of the contents of multiple-choice options does not affect the meaning of the question itself, we propose a simple and effective data leakage detection method based on this property. Specifically, we shuffle the contents of the options in the data to generate the corresponding derived data sets, and then detect data leakage based on the model's log probability distribution over the derived data sets. If there is a maximum and outlier in the set of log probabilities, it indicates that the data is leaked. Our method is able to work under gray-box conditions without access to model training data or weights, effectively identifying data leakage from benchmark test sets in model pre-training data, including both normal scenarios and complex scenarios where options may have been shuffled intentionally or unintentionally. Through experiments based on two LLMs and benchmark designs, we demonstrate the effectiveness of our method. In addition, we evaluate the degree of data leakage of 35 mainstream open-source LLMs on four benchmark datasets and give a ranking of the leaked LLMs for each benchmark, and we find that the Qwen family of LLMs has the highest degree of data leakage.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Proving Test Set Contamination in Black-Box Language Models cites Membership Inference Attacks against Language Models via Neighbourhood Comparison
  • Proving Test Set Contamination in Black-Box Language Models cites Finetuned Language Models are Zero-Shot Learners
  • AnesSuite: A Comprehensive Benchmark and Dataset Suite for Anesthesiology Reasoning in LLMs cites CMMLU: Measuring massive multitask language understanding in Chinese
  • AntiLeakBench: Preventing Data Contamination by Automatically Constructing Benchmarks with Updated Real-World Knowledge cites Proving Test Set Contamination in Black-Box Language Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. AntiLeakBench: Preventing Data Contamination by Automatically Constructing Benchmarks with Updated Real-World KnowledgeXiaobao Wu, Liangming Pan, Yuxi Xie, Ruiwen Zhou et al.ACL 2025 · 35 citations
  2. L-CiteEval: A Suite for Evaluating Fidelity of Long-context ModelsZecheng Tang, Keyan Zhou, Juntao Li, Baibei Ji et al.ACL 2025 · 5 citations
  3. Benchmarking LLMs' Mathematical Reasoning with Unseen Random Variables QuestionsZijin Hong, Hao Wu, Su Dong, Junnan Dong et al.AAAI 2026 · 5 citations
  4. AnesSuite: A Comprehensive Benchmark and Dataset Suite for Anesthesiology Reasoning in LLMsXiang Feng, Wentao Jiang, Zengmao Wang, Yong Luo et al.ICLR 2026 · 2 citations
  5. ODE: Open-Set Evaluation of Hallucinations in Multimodal Large Language ModelsYahan Tu, Rui Hu, Jitao SangCVPR 2025

Builds on7

  1. Finetuned Language Models are Zero-Shot LearnersJason Wei, Maarten Bosma, Vincent Y. Zhao, Kelvin Guu et al.ICLR 2022 · 4,966 citations
  2. Proving Test Set Contamination in Black-Box Language ModelsYonatan Oren, Nicole Meister, Niladri S. Chatterji, Faisal Ladhak et al.ICLR 2024 · 220 citations
  3. MMMU: A Massive Multi-Discipline Multimodal Understanding and Reasoning Benchmark for Expert AGIXiang Yue, Yuansheng Ni, Tianyu Zheng, Kai Zhang et al.CVPR 2024 · 213 citations
  4. CMMLU: Measuring massive multitask language understanding in ChineseHaonan Li, Yixuan Zhang, Fajri Koto, Yifei Yang et al.ACL Findings 2024 · 105 citations
  5. Membership Inference Attacks against Language Models via Neighbourhood ComparisonJustus Mattern, Fatemehsadat Mireshghallah, Zhijing Jin, Bernhard Schölkopf et al.ACL Findings 2023 · 94 citations

Related papers

  1. Investigating How Pre-training Data Leakage Affects Models' Reproduction and Detection CapabilitiesMasahiro Kaneko, Timothy BaldwinEMNLP 2025 · 2 citations
  2. SrDetection: A Self-Referential Framework for Data Leakage Detection in Code Large Language ModelsShuaimin Li, Liyang Fan, Zeyang Li, Zhuoyue Wan et al.ACL Findings 2026
  3. Detecting Pretraining Data from Large Language ModelsWeijia Shi, Anirudh Ajith, Mengzhou Xia, Yangsibo Huang et al.ICLR 2024 · 365 citations
  4. Does Question Really Matter? The Attribution of Answer Bias in LLM EvaluationBoxi Cao, Ruotong Pan, Hongyu Lin, Xianpei Han et al.AAAI 2026
  5. LNE-Blocking: An Efficient Framework for Contamination Mitigation Evaluation on Large Language ModelsRuijie Hou, Jiao Yueyang, Hanxu Hu, Yingming Li et al.EMNLP Findings 2025
Dusk over the sea between two cliffs drawn in fine vertical lines