TL;DR
LatestEval is a dynamic benchmarking framework that combats data contamination by automatically generating reading comprehension tests from the most recent web content. By using texts published after a model's training cutoff and replacing explicit answers with placeholders, it ensures evaluations measure true reasoning rather than simple memorization.
What Problem Does This Paper Address?
As Large Language Models (LLMs) are trained on increasingly massive web-crawled corpora, a major issue has emerged: data contamination. Many standard evaluation benchmarks (like SQuAD or BoolQ) are publicly available online and are often inadvertently included in the training data for these models.
When a model has already "seen" the test questions and answers during training, its evaluation scores become inflated. This makes it nearly impossible to distinguish between a model that has genuinely learned to reason and one that is simply reciting memorized data. Furthermore, for closed-source models (like GPT-4), we don't even know what their training data contains, making traditional decontamination efforts extremely difficult.
Methods
The authors propose a fully automated, time-sensitive pipeline to create "fresh" evaluation data that models couldn't possibly have seen during training. The LatestEval pipeline consists of four main steps:
- Collection: The system scrapes the latest texts from three diverse, frequently updated sources: arXiv (scientific papers), BBC (news), and GitHub (project READMEs).
- Answer Construction: Using a mix of keyword extraction (KeyBERT) and LLM-based extraction (GPT-4), the system identifies five types of key information: terminology explanations, summaries, purposes, examples, and future predictions.
- Query Construction: The system uses a hybrid approach of manual templates and GPT-4 to generate natural-sounding questions based on the extracted answers.
- Passage Preparation: To prevent models from using simple "copy-paste" shortcuts, the system replaces the sentence containing the answer in the original passage with a generic placeholder (e.g., "The definition of X is explained here"). This forces the model to infer the answer from the surrounding context.
Datasets
The study introduces the LatestEval dataset. For their experiments, the authors collected data from a one-week window in July 2023, resulting in 6,899 reading comprehension tests.
To validate their approach, they compared LatestEval against several established benchmarks:
- SQuADv2, BoolQ, and QuAC: Standard reading comprehension benchmarks.
- Wikitext: A standard pre-training dataset.
- NewWiki: Wikipedia articles created after April 2023 (used as a "clean" baseline).
Key Insights and Ideas
- Perplexity as a Contamination Signal: The authors found that models exhibit significantly lower perplexity (higher likelihood) on contaminated benchmarks like BoolQ and QuAC compared to fresh text. In fact, the perplexity on these benchmarks was nearly identical to their training data (Wikitext), suggesting the models had essentially "memorized" the benchmarks.
- Memorization Scales with Size: Larger models (like Llama-30b) showed a much wider gap in perplexity between clean and contaminated data than smaller models. This indicates that as models get bigger, their capacity to "cheat" via memorization increases.
- Verbatim Reproduction: In a striking test, the authors showed that GPT-4 could reproduce the text of BoolQ and QuAC examples almost perfectly when given just a short prefix, whereas it could not do so for LatestEval.
Key Results
- Contamination Evidence: Perplexity analysis confirmed that LatestEval has a much lower risk of contamination. Models treated LatestEval as "new" information, with perplexity scores similar to or higher than freshly created Wikipedia content.
- Model Ranking: GPT-4 and GPT-3.5-turbo significantly outperformed open-source foundation models on LatestEval. Interestingly, foundation models without instruction tuning (like Llama-13b and 30b) performed very poorly, highlighting the difficulty of the task when memorization is off the table.
- Fine-Grained Analysis: The benchmark revealed that models struggle most with "terminology explanation" and "identifying purpose," providing a roadmap for where LLM reasoning capabilities still need improvement.
Limitations and Future Work
While LatestEval is a significant step forward, the authors acknowledge a few hurdles:
- Faithfulness: In about 4.5% of cases, the automated extraction (GPT-4) used its own internal knowledge rather than the provided passage to generate an answer.
- Answerability: Deleting the answer sentence occasionally makes the question impossible to answer from the remaining context (affecting ~5.7% of questions).
- Future Directions: The authors suggest implementing a "self-review" quality assessment stage where the pipeline checks its own work, and using few-shot prompting to improve the reliability of the generated questions and answers.
Summary updated