ArithmAttack: Evaluating Robustness of LLMs to Noisy Context in Math Problem Solving

Zain Ul Abedin, Shahzeb Qamar, Lucie Flek, Akbar Karimi
1/14/2025
cs.CL

No official code found. Best implementation: caisa-lab/ArithmAttack (1 star, last commit 2025-06-15).

Abstract

While Large Language Models (LLMs) have shown impressive capabilities in math problem-solving tasks, their robustness to noisy inputs is not well-studied. We propose ArithmAttack to examine how robust the LLMs are when they encounter noisy prompts that contain extra noise in the form of punctuation marks. While being easy to implement, ArithmAttack does not cause any information loss since words are not added or deleted from the context. We evaluate the robustness of eight LLMs, including LLama3, Mistral, Mathstral, and DeepSeek on noisy GSM8K and MultiArith datasets. Our experiments suggest that all the studied models show vulnerability to such noise, with more noise leading to poorer performances.

View on arXivView PDF

Code Implementations(1)

10Shell, PythonMay 12, 20241 years ago

Similar Papers

Cite this paper

@article{abedin2025arithmattack,
  title  = {ArithmAttack: Evaluating Robustness of LLMs to Noisy Context in Math Problem Solving},
  author = {Zain Ul Abedin and Shahzeb Qamar and Lucie Flek and Akbar Karimi},
  year   = {2025},
  eprint = {2501.08203},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.08203v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.08203.svg)](https://codeofpaper.com/paper/2501.08203)

Discussion