Reasoning Robustness of LLMs to Adversarial Typographical Errors
Esther Gan, Yiran Zhao, Liying Cheng, Yancan Mao, Anirudh Goyal, Kenji Kawaguchi, Min-Yen Kan, Michael Shieh
摘要
Large Language Models (LLMs) have demonstrated impressive capabilities in reasoning using Chain-of-Thought (CoT) prompting. However, CoT can be biased by users' instruction. In this work, we study the reasoning robustness of LLMs to typographical errors, which can naturally occur in users' queries. We design an Adversarial Typo Attack (ATA) algorithm that iteratively samples typos for words that are important to the query and selects the edit that is most likely to succeed in attacking. It shows that LLMs are sensitive to minimal adversarial typographical changes. Notably, with 1 character edit, Mistral-7B-Instruct's accuracy drops from 43.7% to 38.6% on GSM8K, while with 8 character edits the performance further drops to 19.2%. To extend our evaluation to larger and closed-source LLMs, we develop the R 2 ATA benchmark, which assesses models' Reasoning Robustness to ATA. It includes adversarial typographical questions derived from three widely-used reasoning datasets-GSM8K, BBH, and MMLU-by applying ATA to open-source LLMs. R 2 ATA demonstrates remarkable transferability and causes notable performance drops across multiple super large and closed-source LLMs. 1
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Bounds of Chain-of-Thought Robustness: Reasoning Steps, Embed Norms, and Beyond 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Large Language Models Can Be Easily Distracted by Irrelevant Context 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- BadThink: Triggered Overthinking Attacks on Chain-of-Thought Reasoning in Large Language Models 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Mastering Board Games by External and Internal Planning with Language Models 引用了 Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Prompting
- Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Prompting 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Evaluating Robustness of Large Language Models Against Multilingual Typographical Errors 引用了 Large Language Models Can Be Easily Distracted by Irrelevant Context
- Evaluating Robustness of Large Language Models Against Multilingual Typographical Errors 引用了 Measuring Massive Multitask Language Understanding
- Evaluating Robustness of Large Language Models Against Multilingual Typographical Errors 引用了 Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailment
引用它的顶会 Paper10
- One Token Embedding Is Enough to Deadlock Your Large Reasoning ModelMohan Zhang, Yihua Zhang, Jinghan Jia, Zhangyang (Atlas) Wang 等NeurIPS 2025 · 7 次引用
- Evaluating Robustness of Large Language Models Against Multilingual Typographical ErrorsRaoyuan Zhao, Yihong Liu, Lena Altinger, Hinrich Schütze 等ACL 2026 · 6 次引用
- Bounds of Chain-of-Thought Robustness: Reasoning Steps, Embed Norms, and BeyondDingzirui Wang, Xuanliang Zhang, Keyan Xu, Qingfu Zhu 等ICLR 2026 · 3 次引用
- BadThink: Triggered Overthinking Attacks on Chain-of-Thought Reasoning in Large Language ModelsShuaitong Liu, Renjue Li, Lijia Yu, Lijun Zhang 等AAAI 2026
- Mastering Board Games by External and Internal Planning with Language ModelsJohn Schultz, Jakub Adámek, Matej Jusup, Marc Lanctot 等ICML 2025
它引用的 Paper8
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma 等NeurIPS 2022 · 22,562 次引用
- Measuring Massive Multitask Language UnderstandingDan Hendrycks, Collin Burns, Steven Basart, Andy Zou 等ICLR 2021 · 7,905 次引用
- Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought PromptingMiles Turpin, Julian Michael, Ethan Perez, Samuel R. BowmanNeurIPS 2023 · 1,792 次引用
- Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and EntailmentDi Jin, Zhijing Jin, Joey Tianyi Zhou, Peter SzolovitsAAAI 2020 · 1,333 次引用
- Large Language Models Can Be Easily Distracted by Irrelevant ContextFreda Shi, Xinyun Chen, Kanishka Misra, Nathan Scales 等ICML 2023 · 970 次引用
相关 Paper
- Preemptive Answer "Attacks" on Chain-of-Thought ReasoningRongwu Xu, Zehan Qi, Wei XuACL Findings 2024 · 2 次引用
- GSM-Plus: A Comprehensive Benchmark for Evaluating the Robustness of LLMs as Mathematical Problem SolversQintong Li, Leyang Cui, Xueliang Zhao, Lingpeng Kong 等ACL 2024 · 9 次引用
- Revisiting Query Variation Robustness of Transformer ModelsTim Hagen, Harrisen Scells, Martin PotthastEMNLP Findings 2024 · 1 次引用
- MathAttack: Attacking Large Language Models towards Math Solving AbilityZihao Zhou, Qiufeng Wang, Mingyu Jin, Jie Yao 等AAAI 2024 · 38 次引用
- Can LLMs Learn from Previous Mistakes? Investigating LLMs' Errors to Boost for ReasoningYongqi Tong, Dawei Li, Sizhe Wang, Yujia Wang 等ACL 2024
