PreprintCited by 19

Search-Time Data Contamination

Han, Ziwen, Mankikar, Meher, Michael, Julian, Wang, Zifan·2025·arXiv

Abstract

Data contamination refers to the leakage of evaluation data into model training data, resulting in overfitting to supposedly held-out test sets and compromising test validity. We identify an analogous issue, search-time contamination (STC), in evaluating search-based LLM agents which use tools to gather information from online sources when answering user queries. STC occurs when the retrieval step surfaces a source containing the test question (or a near-duplicate) alongside its answer, enabling agents to copy rather than genuinely infer or reason, undermining benchmark integrity. We find that HuggingFace, an online platform hosting evaluation datasets, appears among retrieved sources in search based agent logs. Consequently, agents often explicitly acknowledge discovering question answer pairs from HuggingFace within their reasoning chains. On three commonly used capability benchmarks: Humanity's Last Exam (HLE), SimpleQA, and GPQA, we demonstrate that for approximately 3% of questions, search-based agents directly find the datasets with ground truth labels on HuggingFace. When millions of evaluation queries target the same benchmark, even small, repeated leaks can accelerate the benchmark's obsolescence, shortening its intended lifecycle. After HuggingFace is blocked, we observe a drop in accuracy on the contaminated subset of approximately 15%. We further show through ablation experiments that publicly accessible evaluation datasets on HuggingFace may not be the sole source of STC. To this end, we conclude by proposing best practices for benchmark design and result reporting to address this novel form of leakage and ensure trustworthy evaluation of search-based LLM agents. To facilitate the auditing of evaluation results, we also publicly release the complete logs from our experiments.

AI snapshot

Written from the paper’s full text.

TL;DR

The paper identifies search-time contamination (STC), where search-based LLM agents retrieve evaluation questions and ground-truth answers from online sources such as HuggingFace during inference, allowing copying rather than reasoning. Across HLE, SimpleQA, and GPQA, roughly 3% of questions are contaminated, with non-trivial accuracy gains on HLE and SimpleQA that shrink when HuggingFace is blocked.

Key findings

  • STC occurs when retrieval surfaces a source containing the test question or near-duplicate alongside its answer; HuggingFace appears in agent logs, and agents sometimes explicitly acknowledge finding question-answer pairs there.
  • Contamination rates by agent: HLE 3.36% (Sonar Pro), 3.44% (Sonar Reasoning Pro), 3.36% (Sonar Deep Research); SimpleQA 1.20%, 1.11%, 0.99%; GPQA 2.34%, 1.90%, 4.15%.
  • Accuracy on contaminated subsets is higher on HLE by over 10% for Sonar Pro and 20% for Sonar Deep Research; on SimpleQA, Sonar Pro and Sonar Reasoning Pro reach 100% on contaminated samples versus around 7% on uncontaminated, while Sonar Deep Research gains only 1.3%; GPQA shows no improvement and even lower accuracy.
  • Blocking HuggingFace on originally contaminated samples reduces accuracy by approximately 15%, and ablations suggest publicly accessible HuggingFace datasets may not be the sole source of STC.

Methods

  • Evaluated Perplexity agents Sonar Pro, Sonar Reasoning Pro, and Sonar Deep Research via public API between May 15 and June 15, 2025, using default configurations with temperature=0.2, top_p=0.9, search_context_size='high', max 32,000 tokens, and 1-hour timeout with 5 tries.
  • Benchmarks: HLE (2,500 questions), SimpleQA (4,326), and GPQA (1,792, evaluated with 4 repetitions); pass@1 accuracy with specified judges for HLE and SimpleQA and no LLM judge for GPQA.
  • Contamination detection logged all retrieved sources and used hard-coded substring matching for HuggingFace copies; ablations included Default, No Search, Blocked HF, Only HF, and Date Cutoff.

Limitations

  • Stated: the hard-coded URL detector does not capture the full extent of STC outside the narrow range of HuggingFace sources named in a particular manner; future work should use browser agents to audit every retrieved source.
  • Stated: takedown/gating requests for third-party HLE HuggingFace uploads may affect future reproducibility.
  • Evident: contamination detection relies on substring matching and may miss near-duplicates or non-HuggingFace sources; contaminated subsets are small, SimpleQA results are saturated, and the date filter may be incomplete because pages with missing metadata may not be filtered.

Model-written summary. Check it against the paper before relying on it.

Integrity signals

Registry

DataCite · 10.48550/arxiv.2508.13180

Cites

16 of 16 references verified0 citation errors · 0 not checkable

Statistics

Nothing to recompute.

Claims the paper makes

4 of 7 cited sources checked · 3 supported · 0 flagged · accuracy not yet measured

  • Premisecitation
    § 1. Introduction · p. 1

    Prior to recent benchmarks specifically designed for evaluating information retrieval capabilities, search-based agents were typically evaluated using conventional capability benchmarks, including SimpleQA and HLE.

    “Prior to recent benchmarks specifically designed for evaluating information retrieval capabilities [1, 5, 8, 14, 17, 19 ? ], search-based agents were typically evaluated using conventional capability benchmarks, including SimpleQA [16] and Humanity's Last Exam (HLE) [12].”
    Quote in the paperSubstantial claim2 of 2 sources checked
    • cites [16] J. Wei, N. Karina, H. W. Chung, Y. J. Jiao, S. Papay, A. Glaese, J. Schulman, and W. Fedus. Measuring short-form factuality in large language models. arXiv preprint arXiv:2411.04368 , 2024. source
    • cites [12] L. Phan, A. Gatti, Z. Han, N. Li, J. Hu, H. Zhang, C. B. C. Zhang, M. Shaaban, J. Ling, S. Shi, et al. Humanity's last exam. arXiv preprint arXiv:2501.14249 , 2025. source
  • Premisecitation
    § 4. Discussion · p. 7

    SimpleQA acknowledges that all questions are solvable with knowledge existing before December 31, 2023.

    “SimpleQA acknowledges that all questions are solvable with knowledge existing before December 31, 2023 [16].”
    Quote in the paperSubstantial claim1 of 1 sources checked
    • cites [16] J. Wei, N. Karina, H. W. Chung, Y. J. Jiao, S. Papay, A. Glaese, J. Schulman, and W. Fedus. Measuring short-form factuality in large language models. arXiv preprint arXiv:2411.04368 , 2024. source
  • Findingown data
    § scale · p. 6

    The Default setting substantially outperforms No Search on HLE and SimpleQA.

    “Across benchmarks, the Default setting substantially outperforms No Search on HLE and SimpleQA”
    Quote in the paperSubstantial claim
  • Findingown data
    § Abstract · p. 1

    For approximately 3% of questions across HLE, SimpleQA, and GPQA, search-based agents directly find the datasets with ground truth labels on HuggingFace.

    “On three commonly used capability benchmarks-Humanity's Last Exam (HLE), SimpleQA, and GPQA-we demonstrate that for approximately 3% of questions, search-based agents directly find the datasets with ground truth labels on HuggingFace.”
    Quote in the paperSubstantial claim
  • Findingown data
    § 3.1 Measuring Search-Time Contamination · p. 5

    We identify datasets uploaded by a third-party user so agents find both the questions and answers there.

    “More examples can be found in Figure 2 show that we identify datasets uploaded by a third-party user so agents find both the questions and answers there.”
    Quote in the paperSubstantial claim
  • Classified as probably not a substantial claim. 9
  • May combine two claims. 15
  • Not yet classified. 1
  • Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.

    Premisecitation
    § 1. Introduction · p. 1

    LLMs trained with leaked test data often overfit to the corresponding contaminated test set, but are shown to perform worse on other uncontaminated capability benchmarks in the same distribution.

    “As a result, LLMs trained with leaked test data often overfit to the corresponding contaminated test set, but are shown to perform worse on other uncontaminated capability benchmarks in the same distribution.”
    Quote in the paperNot a substantial claim1 of 3 sources checked
    • cites [3]

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

    • cites [4]

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

    • cites [20] H. Zhang, J. Da, D. Lee, V. Robinson, C. Wu, W. Song, T. Zhao, P. Raja, C. Zhuang, D. Slack, et al. A careful examination of large language model performance on grade school arithmetic. Advances in Neural Information Processing Systems , 37:46819-46836, 2024. source

      The Discussion (Section 6; page unavailable) reports that several model families overfit GSM8k and score up to 8% lower on the new GSM1k benchmark. But Section 5.4 says contamination is only one possible cause of overfitting and that small amounts do not necessarily cause it; Section 3 also cautions that the benchmarks are highly similar, not identically distributed. The claim overstates the evidence by treating leaked test data as an established cause and the benchmarks as having the same distribution. (LLM, conf=0.89)

      Experimental — accuracy not yet measured
  • May combine two claims.

    Findingown data
    § 3.1 Measuring Search-Time Contamination · p. 5

    On GPQA, retrieving a HuggingFace contaminated source does not improve accuracy relative to uncontaminated sources, and may lower it.

    “Interestingly, on GPQA, we find retrieving a HuggingFace contaminated source does not improve the accuracy relative to uncontaminated sources, even lowering it to an extent.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Findingown data
    § 3.1 Measuring Search-Time Contamination · p. 4

    Around 3.3% of HLE samples show contamination across all three agents, with rates 3.36-3.44%.

    “Around 3.3% of HLE samples show contamination across all three agents, with remarkably consistent rates (3.363.44%).”
    • Also stated in: § Definition 1 (Search-Time Contamination) · p. 1 · plain
      “We repeat the evaluation for three search-based agents, Perplexity Sonar Pro, Sonar Reasoning, and Sonar Deep Research on HLE and observe agents will retrieve a related HuggingFace repository with groundtruth labels for approximately 3% questions in HLE.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Findingown data
    § 3.1 Measuring Search-Time Contamination · p. 4

    SimpleQA exhibits the lowest contamination levels, with all agents showing rates below 1.2%.

    “SimpleQA exhibits the lowest contamination levels, with all agents showing rates below 1.2%, suggesting scale this dataset may be less susceptible to STC.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Findingown data
    § Abstract · p. 1

    Accuracy on the contaminated subset is significantly higher than on the uncontaminated subset, showing non-trivial gains on HLE and SimpleQA.

    “As a result, accuracy on the contaminated subset shows non-trivial gains on HLE and SimpleQA.”
    • Also stated in: § Definition 1 (Search-Time Contamination) · p. 1 · plain
      “In Figure 1 (left), we show the accuracy on the set of contaminated samples (red) is significantly higher than the set of uncontaminated ones (blue).”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Findingown data
    § 3.1 Measuring Search-Time Contamination · p. 5

    On HLE, Sonar Pro shows an accuracy difference of over 10% and Sonar Deep Research over 20% between uncontaminated and contaminated samples.

    “On HLE, we find an accuracy difference of over 10% for Sonar Pro and 20% for Sonar Deep Research between uncontaminated and contaminated samples.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Findingown data
    § 5. Conclusion · p. 9

    The contaminated questions result in non-trivial accuracy gains that disappear when HuggingFace is blocked.

    “resulting in non-trivial accuracy gains that disappear when HuggingFace is blocked.”
    Quote in the paperSubstantial claim
  • Not yet classified.

    Finding
    § scale · p. 6

    GPQA is remarkably stable across all conditions, with only small, error-bar-sized fluctuations.

    “By contrast, GPQA is remarkably stable across all conditions, with only small, error-bar-sized fluctuations”
    Quote in the paperNot yet classified
  • May combine two claims.

    Findingown data
    § scale · p. 6

    Blocking HuggingFace reduces performance relative to Default on HLE and SimpleQA, but the drops are modest and far smaller than the Default-No Search gaps.

    “Blocking HuggingFace ( Blocked HF ) reduces performance relative to Default on HLE and SimpleQA, but the drops are modest and far smaller than the Default -No Search gaps.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Findingown data
    § Blocking HuggingFace on Contaminated Samples · p. 7

    Compared to Default, scores are consistently lower on HLE and SimpleQA with particularly visible reductions for Sonar Deep Research on HLE.

    “when compared to Default , scores are consistently lower on HLE and SimpleQA with particularly visible reductions for Sonar Deep Research on HLE.”
    Quote in the paperSubstantial claim
    • The authors state this as an assumption: No post-release knowledge should be required to solve the benchmark questions.
  • May combine two claims.

    Interpretationown data
    § 3.1 Measuring Search-Time Contamination · p. 4

    Contamination rates are both dataset-dependent and influenced by the specific search and reasoning strategies employed by different agents.

    “These results suggest that contamination rates are both datasetdependent and influenced by the specific search and reasoning strategies employed by different agents.”
    Quote in the paperSubstantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Study design and conductcitation
    § 3.1 Measuring Search-Time Contamination · p. 4

    GPQA is evaluated over the entire set with 4 repetitions to lower variance following standard practice.

    “GPQA is evaluated over the entire set with 4 repetitions to lower the variance following standard practice (eg., OpenAI SimpleEvals 5 ).”
    Quote in the paperNot a substantial claim0 of 1 sources checked
    • cites OpenAI SimpleEvals 5

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

  • May combine two claims.

    Premisenone given
    § 1. Introduction · p. 1

    The correct labels to questions in these datasets are also uploaded to the internet, so LLM agents may directly find both questions and answers from their retrieved web content, for example from platforms like HuggingFace.

    “Because the correct labels to questions in these dataset are also uploaded to the internet, LLM agents may directly find both questions and answers from their retrieved web content - for example, from platforms like HuggingFace, a commonly used dataset hosting platform.”
    Quote in the paperNot a substantial claim
  • Classified as probably not a substantial claim. May combine two claims.

    Study design and conductnone given
    § 3.1 Measuring Search-Time Contamination · p. 4

    We log all retrieved sources and perform a simple HuggingFace contamination check based on substring matching; we mark an example as contaminated if any retrieved source is a HuggingFace copy of the respective benchmark item.

    “We log all retrieved sources and perform a simple HuggingFace contamination check based on substring matching. We mark an example as contaminated if any retrieved source is a HuggingFace copy of the respective benchmark item.”
    Quote in the paperSubstantial claim
  • Probably not a substantial claim: may not pass S4 (based).

    Premisenone given
    § 3. Experiments · p. 3

    The test split of a benchmark, if hosted on HuggingFace, remains searchable to LLM agents.

    “The test split of a benchmark, if hosted on HuggingFace, remains searchable to LLM agents.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S2 (checkable), S4 (based). May combine two claims.

    Premisenone given
    § Definition 1 (Search-Time Contamination) · p. 2

    Search-based agents are mainly used for (1) seeking for up-to-date information and (2) doing research to provide an in-depth report for a topic of interest.

    “We argue that search-based agents are mainly used for (1) seeking for up-to-date information and (2) doing research to provide an in-depth report for a topic of interest; therefore, benchmarks that align better with either (or both) of these scopes should be prioritized over conventional knowledge benchmarks.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Interpretationown data
    § Blocking HuggingFace on Contaminated Samples · p. 7

    STC can occur with non-zero probability in the absence of proper safeguards, undermining the integrity of benchmarks.

    “STC can occur with non-zero probability in the absence of proper safeguards, undermining the integrity of benchmarks.”
    Quote in the paperSubstantial claim
  • Classified as probably not a substantial claim.

    Interpretationreasoning
    § 4. Discussion · p. 8

    The analysis hints at factors beyond HuggingFace that could also lead to contamination.

    “Our analysis hints at factors beyond HuggingFace that could also lead to contamination.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Interpretationreasoning
    § Blocking HuggingFace on Contaminated Samples · p. 7

    If the date filter implemented by Perplexity manages to create a complete indexing of the subset of webpages published prior to benchmark release, post-release webpages contribute meaningfully to accuracy and perhaps STC under the Default search setting.

    “If the date filter implemented by Perplexity manages to create a complete indexing of the subset of webpages published prior to benchmark release, this indicates that post-release webpages (e.g. duplications, commentary, dataset examples, etc.) contribute meaningfully to accuracy (and perhaps STC) under the Default search setting.”
    Quote in the paperSubstantial claim
    • The authors state this as an assumption: No post-release knowledge should be required to solve the benchmark questions.
  • Probably not a substantial claim: may not pass S4 (based).

    Premisenone given
    § 4. Discussion · p. 7

    The training set of modern LLMs can be as large as all the existing tokens on the Internet.

    “First, as the training set of modern LLMs can be as large as all the existing tokens on the Internet”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S4 (based).

    Interpretationreasoning
    § Blocking HuggingFace on Contaminated Samples · p. 7

    Once an agent's search logs are open-sourced or shared for research, benchmark data can leak beyond its original source.

    “Once an agent's search logs are open-sourced or shared for research, benchmark data can leak beyond its original source.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S2 (checkable).

    Interpretationreasoning
    § 4. Discussion · p. 7

    Hillclimbing only capability benchmarks might be a suboptimal way for improving the capability of search-based LLM agents.

    “Thus, hillclimbing only capability benchmarks might be a suboptimal way for improving the capability of search-based LLM agents.”
    Quote in the paperNot a substantial claim
22 of 22
  • The paper relies on this without support.

    Any public user with access to a gated HuggingFace dataset can fork and re-upload it to make it public.

    “While datasets can be gated on HuggingFace, any public user who has access to a gated dataset can fork and re-upload the data to make it visible to the public, intentionally or unintentionally.”
  • The paper relies on this without support.

    Third-party distribution of evaluation datasets can occur in harder-to-detect sources such as personal blogs.

    “Second, due to the popularity of some datasets, third-party distribution can occur in other harder-to-detect sources such as personal blogs.”
  • The paper relies on this without support.

    Millions of evaluation queries target the same benchmark.

    “When millions of evaluation queries target the same benchmark, even small, repeated leaks can accelerate the benchmark's obsolescence, shortening its intended lifecycle.”
  • The paper relies on this without support.

    A 1% change in accuracy can change the overall ranking on HLE.

    “While 3% is perhaps only significant for frontier benchmarks like HLE (e.g. 1% change can change the overall ranking)”
  • The authors state this as an assumption.

    No post-release knowledge should be required to solve the benchmark questions.

    “assuming that no post-release knowledge should be required to solve the benchmark questions.”
5 of 5

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

Each contradiction between two passages listed here was confirmed by an independent check.

  • SimpleQA contamination rate is not below 1.2% for every agent

    Minor

    The text says all SimpleQA contamination rates are below 1.2%, but the table reports 1.20% for Sonar Pro. Its counts, 52 of 4,326 usable samples, give about 1.202%, which is slightly above 1.2%.

1 of 1

Cites

Flagged first, then by citations

Cited by

Sorted by citations

Authors
Han, Z., Mankikar, M., Michael, J., & Wang, Z.
Venue
arXiv
Publisher
arXiv
Published
2025
References
16
Type
Preprint

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Claims read by deepseek-v4.1-flash under definition version 3 (extract-v3) on 2026-10-22.

Classified by jev-1.13-20260917 (gold-guideline-v0.2) on 2026-10-22.

Cited sources are checked by gpt-6-sol.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review