SOTAVerified

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

2025-01-14Code Available0· sign in to hype

Zain Ul Abedin, Shahzeb Qamar, Lucie Flek, Akbar Karimi

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

While Large Language Models (LLMs) have shown impressive capabilities in math problem-solving tasks, their robustness to noisy inputs is not well-studied. In this work, 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 seven LLMs, including LLama3, Mistral, and Mathstral, 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.

Tasks

Reproductions