Adversarial Math Word Problem Generation
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 26 of its 43 references that are in the map. First posted on arXiv 27 Feb 2024.
Builds on
26 of 43 references.
References · 26
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,565
- 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,116
- 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 950
- 2016Universal adversarial perturbationscited by 774
- 2023DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvaturecited by 705
- 2020RobustBench: a standardized adversarial robustness benchmarkcited by 659
14 more
- 2017Adversarial Examples for Evaluating Reading Comprehension Systemscited by 568
- 2016Solving General Arithmetic Word Problemscited by 353
- 2019Analysing Mathematical Reasoning Abilities of Neural Modelscited by 331
- 2023Are aligned neural networks adversarially aligned?cited by 305
- 2019Deep Learning for Symbolic Mathematicscited by 266
- 2024Leak, Cheat, Repeat: Data Contamination and Evaluation Malpractices in Closed-Source LLMscited by 224
- 2023GPT detectors are biased against non-native English writerscited by 175
- 2019Combating Adversarial Misspellings with Robust Word Recognitioncited by 162
- 2023Solving Math Word Problems by Combining Language Models With Symbolic Solverscited by 124
- 2023Chain of Code: Reasoning with a Language Model-Augmented Code Emulatorcited by 120
- 2024Tokenization counts: the impact of tokenization on arithmetic in frontier LLMscited by 112
- 2023MathAttack: Attacking Large Language Models Towards Math Solving Abilitycited by 31
- 2023Can GPT models be Financial Analysts? An Evaluation of ChatGPT and GPT-4 on mock CFA Examscited by 18
- 2023Beyond Traditional Teaching: The Potential of Large Language Models and Chatbots in Graduate Engineering Educationcited by 4
Built on by
Citing papers per year: 2025: 4; 2026: 2.
6 papers.
- 2025Fostering Appropriate Reliance on Large Language Models: The Role of Explanations, Sources, and Inconsistenciescited by 39
- 2025Mathematical Reasoning in Large Language Models: Assessing Logical and Arithmetic Errors across Wide Numerical Rangescited by 24
- 2025NanoFlux: Adversarial Dual-LLM Evaluation and Distillation For Multi-Domain Reasoningcited by 1
- 2025Elementary Math Word Problem Generation using Large Language Modelscited by 0
- 2026A self-evolving multi-role collaborative framework with fine-grained difficulty guidance for innovative mathematical problem generationcited by 0
- 2026CoDiQ: Test-Time Scaling for Controllable Difficult Question Generationcited by 0
- 2026CoDiQ: Test-Time Scaling for Controllable Difficult Question Generation2 Feb 2026
- 2026A self-evolving multi-role collaborative framework with fine-grained difficulty guidance for innovative mathematical problem generation16 Jan 2026
- 2025NanoFlux: Adversarial Dual-LLM Evaluation and Distillation For Multi-Domain Reasoning27 Sep 2025
- 2025Elementary Math Word Problem Generation using Large Language Models6 Jun 2025
- 2025Mathematical Reasoning in Large Language Models: Assessing Logical and Arithmetic Errors across Wide Numerical Ranges12 Feb 2025
- 2025Fostering Appropriate Reliance on Large Language Models: The Role of Explanations, Sources, and Inconsistencies12 Feb 2025