mlsanityData to 7 Oct 2026

Adversarial Math Word Problem Generation

arXiv 2402.17916 ↗First posted 27 Feb 2024cs.CL cs.AIcited by 6

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

  1. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  2. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  3. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
  4. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
  5. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
  6. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  7. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,565
  8. 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,116
  9. 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 950
  10. 2016Universal adversarial perturbationscited by 774
  11. 2023DetectGPT: Zero-Shot Machine-Generated Text Detection using Probability Curvaturecited by 705
  12. 2020RobustBench: a standardized adversarial robustness benchmarkcited by 659
14 more
  1. 2017Adversarial Examples for Evaluating Reading Comprehension Systemscited by 568
  2. 2016Solving General Arithmetic Word Problemscited by 353
  3. 2019Analysing Mathematical Reasoning Abilities of Neural Modelscited by 331
  4. 2023Are aligned neural networks adversarially aligned?cited by 305
  5. 2019Deep Learning for Symbolic Mathematicscited by 266
  6. 2024Leak, Cheat, Repeat: Data Contamination and Evaluation Malpractices in Closed-Source LLMscited by 224
  7. 2023GPT detectors are biased against non-native English writerscited by 175
  8. 2019Combating Adversarial Misspellings with Robust Word Recognitioncited by 162
  9. 2023Solving Math Word Problems by Combining Language Models With Symbolic Solverscited by 124
  10. 2023Chain of Code: Reasoning with a Language Model-Augmented Code Emulatorcited by 120
  11. 2024Tokenization counts: the impact of tokenization on arithmetic in frontier LLMscited by 112
  12. 2023MathAttack: Attacking Large Language Models Towards Math Solving Abilitycited by 31
  13. 2023Can GPT models be Financial Analysts? An Evaluation of ChatGPT and GPT-4 on mock CFA Examscited by 18
  14. 2023Beyond Traditional Teaching: The Potential of Large Language Models and Chatbots in Graduate Engineering Educationcited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 4; 2026: 2.

6 papers.