arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.17916cs.CLcs.AI
收藏

对抗性数学应用题生成

Adversarial Math Word Problem Generation

Duke University(杜克大学)

Roy Xie, Chengxuan Huang, Junlin Wang, Bhuwan Dhingra

AI总结:

针对 LLM 干扰数学能力评估的问题,本文利用抽象语法树和数值编辑生成保留原题结构与难度的对抗性数学应用题,显著降低多种开源与闭源 LLM 的解题表现。

摘要:

大型语言模型(LLM)已显著改变了教育格局。由于当前的抄袭检测工具难以跟上 LLM 的快速发展,教育界面临着在 LLM 存在的情况下评估学生真实解题能力的挑战。在本工作中,我们探索了一种确保公平评估的新范式——生成对抗样本,这些样本保留用于评估的原题结构与难度,但 LLM 无法求解。聚焦数学应用题领域,我们利用抽象语法树在结构上生成对抗样本,只需编辑题目中的数值,即可使 LLM 给出错误答案。我们在多种开源和闭源 LLM 上进行实验,从定量和定性两方面证明该方法显著降低了它们的数学解题能力。我们识别了 LLM 之间共有的脆弱性,并提出一种具有成本效益的方法来攻击高成本模型。此外,我们进行自动分析以调查失败原因,为 LLM 的局限性提供进一步洞见。

英文摘要:

Large language models (LLMs) have significantly transformed the educational landscape. As current plagiarism detection tools struggle to keep pace with LLMs' rapid advancements, the educational community faces the challenge of assessing students' true problem-solving abilities in the presence of LLMs. In this work, we explore a new paradigm for ensuring fair evaluation -- generating adversarial examples which preserve the structure and difficulty of the original questions aimed for assessment, but are unsolvable by LLMs. Focusing on the domain of math word problems, we leverage abstract syntax trees to structurally generate adversarial examples that cause LLMs to produce incorrect answers by simply editing the numeric values in the problems. We conduct experiments on various open- and closed-source LLMs, quantitatively and qualitatively demonstrating that our method significantly degrades their math problem-solving ability. We identify shared vulnerabilities among LLMs and propose a cost-effective approach to attack high-cost models. Additionally, we conduct automatic analysis to investigate the cause of failure, providing further insights into the limitations of LLMs.

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

↑