MatheMagic: Generating Dynamic Mathematics Benchmarks Robust to Memorization

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: O'Brien, Dayyán, Haddow, Barry, Allaway, Emily, Chen, Pinzhen
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866912633285771264
author O'Brien, Dayyán
Haddow, Barry
Allaway, Emily
Chen, Pinzhen
author_facet O'Brien, Dayyán
Haddow, Barry
Allaway, Emily
Chen, Pinzhen
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2510_05962
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle MatheMagic: Generating Dynamic Mathematics Benchmarks Robust to Memorization
O'Brien, Dayyán
Haddow, Barry
Allaway, Emily
Chen, Pinzhen
Artificial Intelligence
Computation and Language
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.
title MatheMagic: Generating Dynamic Mathematics Benchmarks Robust to Memorization
topic Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2510.05962