Word Form Matters: LLMs' Semantic Reconstruction under Typoglycemia
Chenxi Wang, Tianle Gu, Zhongyu Wei, Lang Gao, Zirui Song, Xiuying Chen
TL;DR
This study investigates how large language models reconstruct word meaning under Typoglycemia-style scrambling, asking whether word form or context primarily drives semantic recovery. It introduces SemRecScore, defined as the cosine similarity between the original word representation $x^{(L)}_o$ and the last scrambled subword representation $x^{(L)}_s$ at layer $L$, via $SemRecScore^{(L)}=\frac{x^{(L)}_o\cdot x^{(L)}_s}{\|x^{(L)}_o\|\|x^{(L)}_s\|}$, and validates it against NegCorrRate to link semantic reconstruction with completion-consistency across Scramble Ratios and Context Integrities on LLaMA-3.2/3.3-Instruct. The results show word form is the dominant factor for reconstruction, with context contributing minimally, and reveal a structured, form-focused attention mechanism featuring specialized form-sensitive heads that intensify as scrambling increases. These findings highlight a fundamental difference between human adaptive strategies and fixed attention patterns in LLMs, offering implications for augmenting LLM robustness by incorporating human-like, context-aware processing. The work provides a principled framework for probing internal representations under perturbations and informs future directions across architectures, perturbations, and languages to enhance semantic adaptability.
Abstract
Human readers can efficiently comprehend scrambled words, a phenomenon known as Typoglycemia, primarily by relying on word form; if word form alone is insufficient, they further utilize contextual cues for interpretation. While advanced large language models (LLMs) exhibit similar abilities, the underlying mechanisms remain unclear. To investigate this, we conduct controlled experiments to analyze the roles of word form and contextual information in semantic reconstruction and examine LLM attention patterns. Specifically, we first propose SemRecScore, a reliable metric to quantify the degree of semantic reconstruction, and validate its effectiveness. Using this metric, we study how word form and contextual information influence LLMs' semantic reconstruction ability, identifying word form as the core factor in this process. Furthermore, we analyze how LLMs utilize word form and find that they rely on specialized attention heads to extract and process word form information, with this mechanism remaining stable across varying levels of word scrambling. This distinction between LLMs' fixed attention patterns primarily focused on word form and human readers' adaptive strategy in balancing word form and contextual information provides insights into enhancing LLM performance by incorporating human-like, context-aware mechanisms.
