MatheMagic: Generating Dynamic Mathematics Benchmarks Robust to Memorization
Not on the map. Why?
Abstract (arXiv)
Conducting contamination-free evaluation of mathematical capabilities can be difficult for two reasons: models may memorize a test set once it is made public, and current mathematical benchmarks are prone to overfitting due to having limited diversity of symbols and rules, coupled with closed-ended answers. This paper proposes a method to leverage these shortcomings as useful features to a construct dynamic, counterfactual benchmark, which can be used to both reveal overfitting and measure true reasoning. We demonstrate this via MatheMagic, which generates math test instances with the interpretations of numbers and operators altered, yet has automatically verifiable answers. Test instances are randomly seeded and constructed at test time to evaluate a model's induction or deduction capability, offering stability, extensibility, comparability, and robustness to overfitting. Our experiments find that models solve deduction more easily than induction, but they revert to standard math. Further analysis reveals that math-adapted models fail to exhibit a general "skill" of reasoning, and fine-tuning on induction tasks generalizes poorly.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 16 of its 19 references that are in the map. First posted on arXiv 7 Oct 2025.
Builds on
16 of 19 references.
References · 16
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2023Let's Verify Step by Stepcited by 3,789
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 878
- 2023NLP Evaluation in trouble: On the Need to Measure LLM Data Contamination for each Benchmarkcited by 348
- 2021A Diverse Corpus for Evaluating and Developing English Math Word Problem Solverscited by 318
- 2025MathArena: Evaluating LLMs on Uncontaminated Math Competitionscited by 297
- 2024A Careful Examination of Large Language Model Performance on Grade School Arithmeticcited by 191
- 2023Phenomenal Yet Puzzling: Testing Inductive Reasoning Capabilities of Language Models with Hypothesis Refinementcited by 89
- 2025MATH-Perturb: Benchmarking LLMs' Math Reasoning Abilities against Hard Perturbationscited by 89
4 more
- 2025Reasoning or Memorization? Unreliable Results of Reinforcement Learning Due to Data Contaminationcited by 82
- 2024AntiLeakBench: Preventing Data Contamination by Automatically Constructing Benchmarks with Updated Real-World Knowledgecited by 44
- 2024MathHay: An Automated Benchmark for Long-Context Mathematical Reasoning in LLMscited by 13
- 2024Data Laundering: Artificially Boosting Benchmark Results through Knowledge Distillationcited by 6
Built on by
Citing papers per year: 2026: 1.
1 paper.