Beyond Memorization: Reasoning-Driven Synthesis as a Mitigation Strategy Against Benchmark Contamination

Terry Jingchen Zhang, Gopal Dev, Ning Wang, Nicole Ni, Wenyuan Jiang, Yinya Huang, Bernhard Schölkopf, Mrinmaya Sachan, Zhijing Jin

TL;DR

Large language models (LLMs) are increasingly evaluated on benchmarks that might be part of their training data, leading to inflated scores that don't reflect true reasoning ability. This paper shows that by generating complex, multi-step reasoning questions from research papers, LLMs perform consistently across their knowledge cutoff dates, suggesting this method is more robust against contamination than simpler question formats.

What Problem Does This Paper Address?

The core problem is benchmark contamination in evaluating large language models (LLMs). As LLMs are trained on massive datasets scraped from the internet, it's highly probable that evaluation benchmarks, especially those released publicly before a model's training cutoff, are included in the training data. This means LLMs might "answer" benchmark questions by simply recalling them (memorization) rather than by genuine reasoning. This phenomenon, often observed as a "post-cutoff performance decay" (models performing worse on questions released after their training cutoff), is a key indicator of contamination. However, the authors question the reliability of this signal, suggesting it might be sensitive to how questions are formulated.

Methods

The paper's central approach is temporal analysis combined with a novel question synthesis strategy.

  1. Temporal Analysis: They track LLM performance on questions released before and after a model's knowledge cutoff date. A significant drop in performance after the cutoff is typically interpreted as evidence of contamination.
  2. LLM-Synthesized Questions: Instead of using verbatim or cloze (fill-in-the-blank) questions directly from source material, the authors use LLMs to generate multi-step reasoning questions based on the same source papers. This process aims to create questions that require deeper understanding and problem-solving, making simple memorization less effective.
  3. Comparative Analysis: They compare the temporal performance patterns of LLM-synthesized questions against those of verbatim/cloze questions derived from the same underlying documents.
  4. Influence Function Analysis: To understand why LLM-generated questions behave differently, they use influence functions to analyze which training documents are most influential for a model's prediction on a given question.

Datasets

  • Source Material: 20,277 arXiv papers from the mathematics and physics domains, spanning May 2023 to June 2025 (a 26-month period).
  • Evaluation Datasets:
    • LLM-Synthesized QA: 1,643 multi-step reasoning questions generated by an LLM (OpenAI-04-mini) from the arXiv papers.
  • Cloze Questions: Fill-in-the-blank questions created from the same arXiv papers.
  • LiveCodeBench: A coding benchmark previously shown to exhibit post-cutoff decay.
  • FreshQA-style dataset: Based on Wikipedia event archives.

Key Insights and Ideas

  • Temporal decay is sensitive to question format: The most striking insight is that the "post-cutoff performance decay" signal, often seen as a reliable indicator of contamination, can be eliminated simply by transforming verbatim/cloze questions into multi-step reasoning questions using an LLM.
  • LLM synthesis as a contamination mitigation: The authors propose that generating complex, reasoning-heavy questions is an effective strategy to create benchmarks that are more resistant to memorization and thus provide a more accurate measure of genuine capability.
  • Memorization vs. Reasoning: The difference in temporal patterns suggests that verbatim/cloze questions are more susceptible to memorization, while synthesized reasoning questions force models to engage in deeper processing, making them harder to "cheat" by recall.
  • Influence functions confirm recall: Mechanistic analysis using influence functions showed that models could clearly identify the source documents for cloze questions (indicating recall), but struggled to do so for LLM-synthesized reasoning questions, supporting the idea that these questions are not easily memorized.

Key Results

  • No consistent post-cutoff decay for synthesized questions: Across 8 frontier LLMs and two domains (math, physics), the LLM-synthesized multi-step reasoning questions showed a lack of significant post-cutoff performance decay. In some cases, performance even slightly increased after the cutoff.
  • Cloze questions show decay: When the same source papers were used to create cloze questions, post-cutoff decay was observed, validating the authors' hypothesis about question format sensitivity.
  • Decay removed from LiveCodeBench: LLM-transformed versions of LiveCodeBench problems also showed no significant post-cutoff decay, demonstrating the generalizability of the finding beyond arXiv papers.
  • Influence function results: For cloze questions, the source paper was identified as the most influential training document 77.5% of the time (Top-1 Hit Rate). For LLM-generated questions, this dropped to only 17.5%.

Limitations and Future Work

  • Compute-intensive analysis: Influence function analysis is computationally expensive, limiting the scale of experiments. Future work could focus on scaling this up.
  • Limited time window for temporal analysis: The 26-month window was chosen due to budgetary constraints. While the framework is scalable, processing longer arXiv papers incurs significant token costs.
  • Counter-intuitive performance increases: The paper notes a puzzling observation where some models showed slight performance increases after the cutoff. They speculate this might be due to an increasing number of simpler questions in later arXiv releases.
  • Robust contamination probes: The authors call for developing more robust contamination detection methods that go beyond simple scalar scores and account for performance variations under question transformation.
  • Documenting benchmark construction: They recommend that researchers carefully document their benchmark construction methodologies to understand how different methods might impact evaluation results.

Summary updated

BibTeX
@inproceedings{zhang2025beyond,
  author = {Terry Jingchen Zhang and Gopal Dev and Ning Wang and Nicole Ni and Wenyuan Jiang and Yinya Huang and Bernhard Schölkopf and Mrinmaya Sachan and Zhijing Jin},
  title = {{Beyond Memorization: Reasoning-Driven Synthesis as a Mitigation Strategy Against Benchmark Contamination}},
  booktitle = {FoRLM @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=vZIKOhWGNG},
}
Figure