mlsanityData to 7 Oct 2026

The Impact of Post-training on Data Contamination

arXiv 2601.06103 ↗First posted 3 Jan 2026cs.LG cs.AIcited by 4

On the map: LLM reasoning → Reinforcement learning for reasoning

Abstract (arXiv)

We present a controlled study of how dataset contamination interacts with the post-training stages now standard in large language model training pipelines. Starting from clean checkpoints of Qwen2.5 (0.5B/1.5B) and Gemma3 (1B/4B), we inject five copies of GSM8K and MBPP test items into the first 2B tokens of an otherwise 25B token extended pre-training dataset. We then compare the contaminated and clean models both immediately after pre-training and again after two popular post-training methods: supervised fine-tuning (SFT) and reinforcement learning (RL) with group relative policy optimization (GRPO). The applied post-training steps do not have any contamination. Across math and coding benchmarks, we find three consistent patterns: (i) Contamination causes performance spikes that are gradually diminished with continued pre-training. After even 25B tokens the apparent performance inflation of contamination can become close to zero. (ii) Both SFT and GRPO resurface the leaked information, but with different external validity: SFT inflates scores only on the contaminated tasks, whereas GRPO also inflates performance on uncontaminated counterparts (GSMPlus, HumanEval). (iii) Model scale amplifies these tendencies, larger Supervised Fine Tuned models memorize more, while larger GRPO models translate leakage into more generalizable capabilities. Our results underscore the need for contamination audits after post-training and suggest that RL-based post-training, although not immune, can help alleviate contamination-related over-estimation problems.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Reinforcement learning for reasoning, one of 17 directions in LLM reasoning. Builds on 18 of its 24 references that are in the map. First posted on arXiv 3 Jan 2026.

Builds on

18 of 24 references.

References · 18

  1. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  2. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
  3. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
  4. 2021Program Synthesis with Large Language Modelscited by 3,509
  5. 2024TinyLlama: An Open-Source Small Language Modelcited by 604
  6. 2023Detecting Pretraining Data from Large Language Modelscited by 375
  7. 2025SFT or RL? An Early Investigation into Training R1-Like Reasoning Large Vision-Language Modelscited by 209
  8. 2024OpenMathInstruct-2: Accelerating AI for Math with Massive Open-Source Instruction Datacited by 194
  9. 2023Rethinking Benchmark and Contamination for Language Models with Rephrased Samplescited by 192
  10. 2023Time Travel in LLMs: Tracing Data Contamination in Large Language Modelscited by 175
  11. 2024GSM-Plus: A Comprehensive Benchmark for Evaluating the Robustness of LLMs as Mathematical Problem Solverscited by 155
  12. 2023Stop Uploading Test Data in Plain Text: Practical Strategies for Mitigating Data Contamination by Evaluation Benchmarkscited by 139
6 more
  1. 2024Generalization or Memorization: Data Contamination and Trustworthy Evaluation for Large Language Modelscited by 119
  2. 2024Investigating Data Contamination for Pre-training Language Modelscited by 91
  3. 2025A Survey on Data Contamination for Large Language Modelscited by 33
  4. 2024Evaluation data contamination in LLMs: how do we measure it and (when) does it matter?cited by 30
  5. 2024Data Contamination Report from the 2024 CONDA Shared Taskcited by 19
  6. 2025Overestimation in LLM Evaluation: A Controlled Large-Scale Study on Data Contamination's Impact on Machine Translationcited by 13

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Detecting Data Contamination from Reinforcement Learning Post-training for Large Language Models
  2. 2026LaRA: Layer-wise Representation Analysis for Detecting Data Contamination in RL Post-Training
  3. 2026Theoretical Perspectives on Data Quality and Synergistic Effects in Pre- and Post-Training Reasoning Models
  4. 2026Sequential Data Poisoning in LLM Post-Training
  5. 2026Demystifying Reinforcement Learning Post-Training of Language Models
  6. 2025Towards a Unified View of Large Language Model Post-Training
  7. 2026Similar Models Learn Differently: Final-Window Pretraining Shapes Post-Training Beyond SFT
  8. 2026Self-Improving Pretraining: using post-trained models to pretrain better models