Lexical Perturbations Disrupt LLM Reasoning: An Empirical Study of Attention Diversion

📅 2026-08-22
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
研究探讨了词汇扰动对大语言模型推理的影响,通过实验发现字符级扰动显著降低准确性,并提出注意力分散是主要原因。
📝 Abstract
Large Language Models (LLMs) achieve strong reasoning performance, but their robustness to realistic lexical corruption remains poorly understood. We evaluate four open-weight instruction-tuned models and frontier models across four reasoning benchmarks under keyboard noise, character swaps, and filler insertion. Character-level perturbations substantially degrade accuracy, especially on multi-step reasoning tasks, while filler insertion has little effect. We trace this asymmetry to Attention Diversion: lexical corruption fragments subword tokenization, and the resulting fragments attract disproportionate attention mass, concentrated in middle and final transformer layers. Length-matched controls confirm that fragmentation, not prompt length, drives the loss. A factorial intervention then shows why the damage is hard to undo: fragmentation corrupts token content and attention allocation together, and the two are coupled. Restoring clean attention while the content remains corrupted is actively harmful, restoring content alone is insufficient, and only restoring both recovers a substantial share of the gap. This coupling explains why inference-time strategies, including chain-of-thought prompting, spell-checking, self-repair, and stronger repair models, fail to consistently recover performance: each addresses one channel at a time. Code and data are available at https://github.com/Jiaqian-Janelle/Attention-Diversion
Problem

Research questions and friction points this paper is trying to address.

Lexical Perturbations
Attention Diversion
Reasoning Performance
Robustness
Subword Tokenization
Innovation

Methods, ideas, or system contributions that make the work stand out.

Attention Diversion
lexical perturbations
subword tokenization
reasoning performance
coupling
J
Jiaqian Zhu
Missouri University of Science and Technology, Rolla, MO, USA
Y
Yang Zhang
University of North Texas, Denton, TX, USA
J
Junhua Ding
University of North Texas, Denton, TX, USA
Xiaowei Yu
Xiaowei Yu
Assistant Professor, Missouri University of Science and Technology
brain-inspired AIartificial general intelligencemedical AIsignal processing