Introduction
The rapid expansion of training datasets for Large Language Models (LLMs) has led to a "data contamination" crisis. When test questions appear in a model's training set, benchmarks fail to distinguish between genuine reasoning and simple memorization. AntiLeak-Bench is an automated framework designed to solve this by constructing benchmarks from real-world knowledge updated after a model's training cutoff. By identifying factual shifts in Wikidata and pairing them with corresponding Wikipedia revisions, it ensures that models are tested on truly novel information.
Methodology
AntiLeak-Bench automates the benchmark lifecycle through a three-step pipeline:
- Identifying Updated Knowledge: The system monitors Wikidata for "factual shifts"—triplets (subject, relation, object) where the object changes over time, such as a professional athlete changing teams.
- Building Supporting Documents: To provide context, the framework retrieves the specific Wikipedia revision history matching the timing of the knowledge update. This ensures the source text itself was written after the model's cutoff.
- Constructing Samples: It automatically generates Question-Answering (QA) pairs, including single-hop direct facts and multi-hop questions requiring reasoning across a chain of related facts.
To further test model robustness, the framework also creates "distractor" versions of these tasks, where relevant context is buried among irrelevant documents.
Evaluation and Insights
The framework utilizes Wikidata and Wikipedia as ground-truth sources to evaluate 12 prominent LLMs, including the Llama, Mistral, Qwen, and Gemma families, alongside proprietary models like GPT-4o.
A key insight from the evaluation is the "Performance Cliff": a visible drop in model performance once they encounter knowledge updated after their specific cutoff time. This confirms that a significant portion of LLM performance on static benchmarks is likely due to memorization. Furthermore, the paper argues that for a benchmark to be truly "contamination-free," it must focus on updated knowledge (changing facts) rather than just new data (newly written text about old facts).
Key Results
Most models showed a significant gap between their general capabilities and their performance on AntiLeak-Bench. Proprietary models like GPT-4o and GPT-4o-mini led the evaluation, achieving EM/F1 scores around 70-80. While some open-source models like Gemma-2-9B showed resilience, many models struggled to maintain high accuracy as knowledge moved further past their training cutoff.
Human verification confirmed the high quality of the automated pipeline, with over 96% accuracy for both the generated questions and the provided contexts. Evidence of contamination was also found in multi-choice formats, where models were significantly more likely to pick "outdated" options for pre-cutoff samples than for post-cutoff samples.
Conclusion and Future Work
AntiLeak-Bench provides a scalable, automated solution to the data contamination problem. While currently optimized for QA tasks, future iterations could expand into more complex areas like summarization or deeper reasoning paths. By focusing on factual shifts, the framework offers a more robust measure of an LLM's ability to process and reason with new information.
Summary updated