arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2506.05038cs.CL
收藏

迈向数学推理的自动化鲁棒性评估

Toward Automated Robustness Evaluation of Mathematical Reasoning

Shanghai University of Finance and Economics(上海金融学院);Ant Group(蚂蚁集团);Southern University of Science and Technology(南方科技大学);MoE Key Laboratory of Interdisciplinary Research of Computation and Economics(计算与经济学交叉学科研究教育部重点实验室)

Yutao Hou, Zeguan Xiao, Fei Yu, Yihan Jiang, Ma Shuguang, Zhaoqian Dai, Hailiang Huang, Yun Chen, Guanhua Chen

AI总结:

本文提出Math Stress Tester框架,通过多轮重写验证循环生成对抗样本,提升数学推理任务的鲁棒性评估能力,并验证其在非数学任务中的扩展性。

摘要:

大型语言模型(LLMs)在各种推理密集型任务中表现出色,但其鲁棒性不足,常在简单变体上失效。现有鲁棒性评估依赖手工模板或有限扰动规则,难以探测特定模型的潜在漏洞。为此,我们提出Math Stress Tester(MaSTer),受软件压力测试启发,通过多轮重写验证循环生成对抗变体,确保语义一致性并诱导模型失败。框架动态生成每个LLM的基准变体,降低数据污染风险。在GSM8K和MATH-500上的实验验证了MaSTer在数学任务中的有效性。此外,我们验证了该框架对非数学任务的扩展性,突显其广泛适用性。进一步表明,MaSTer生成的变体可作为微调数据集,显著提升模型鲁棒性。

英文摘要:

Large Language Models (LLMs) have demonstrated remarkable capabilities in various reasoning-intensive tasks. However, these models exhibit unexpected brittleness, often failing on simple variations of the same underlying task. Existing robustness evaluations predominantly rely on hand-crafted templates or a limited set of perturbation rules. Consequently, such approaches lack the adaptability to probe latent vulnerabilities unique to specific models and remain susceptible to data contamination. To address this, we propose the Math Stress Tester (MaSTer), an automated framework inspired by software stress testing. MaSTer generates adversarial variants via a multi-round rewrite-verify loop, ensuring semantic consistency while successfully inducing model failure. Our framework generates benchmark variants dynamically for each LLM, thus minimizing the risk of data contamination. Experiments on GSM8K and MATH-500 demonstrate the effectiveness of MaSTer on mathematical tasks. Additionally, we validate the framework's extensibility to non-mathematical tasks, highlighting its broad applicability. Furthermore, we demonstrate that the synthesized variants generated by MaSTer can be utilized as a fine-tuning dataset to significantly enhance the model's robustness.

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

↑