arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.05962cs.AIcs.CL
收藏

MatheMagic:生成对记忆化鲁棒的动态数学基准

MatheMagic: Generating Dynamic Mathematics Benchmarks Robust to Memorization

University of Edinburgh(爱丁堡大学);Queen’s University Belfast(贝尔法斯特女王大学)

Dayyán O'Brien, Barry Haddow, Emily Allaway, Pinzhen Chen

AI总结:

本文提出MatheMagic,一种动态反事实数学基准生成方法,通过改变数字和运算符解释来揭示过拟合并评估真实推理,实验表明模型演绎易而归纳难且泛化差。

摘要:

进行无污染的数学能力评估可能很困难,原因有二:模型可能在测试集公开后记住它,且当前的数学基准因符号和规则多样性有限以及答案封闭而容易过拟合。本文提出一种方法,将这些缺点转化为构建动态、反事实基准的有用特征,该基准既能揭示过拟合,又能衡量真实推理能力。我们通过MatheMagic证明了这一点,它生成数字和运算符解释被改变但答案可自动验证的数学测试实例。测试实例在测试时随机播种并构建,以评估模型的归纳或演绎能力,提供稳定性、可扩展性、可比性和对过拟合的鲁棒性。我们的实验发现,模型解决演绎问题比归纳问题更容易,但它们会回归到标准数学。进一步分析表明,数学适配模型未能展现一般的“技能”推理能力,且在归纳任务上的微调泛化能力差。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑