Understanding Subword Compositionality of Large Language Models
Qiwei Peng, Yekun Chai, Anders Søgaard
Abstract
Large language models (LLMs) take sequences of subwords as input, requiring them to effective compose subword representations into meaningful word-level representations. In this paper, we present a comprehensive set of experiments to probe how LLMs compose subword information, focusing on three key aspects: structural similarity, semantic decomposability, and form retention. Our analysis of the experiments suggests that these five LLM families can be classified into three distinct groups, likely reflecting difference in their underlying composition strategies. Specifically, we observe (i) three distinct patterns in the evolution of structural similarity between subword compositions and whole-word representations across layers; (ii) great performance when probing layer by layer their sensitivity to semantic decompositionality; and (iii) three distinct patterns when probing sensitivity to formal features, e.g., character sequence length. These findings provide valuable insights into the compositional dynamics of LLMs and highlight different compositional pattens in how LLMs encode and integrate subword information.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers1
Builds on12
- Faith and Fate: Limits of Transformers on CompositionalityNouha Dziri, Ximing Lu, Melanie Sclar, Xiang Lorraine Li et al.NeurIPS 2023 · 728 citations
- Neural Machine Translation with Byte-Level SubwordsChanghan Wang, Kyunghyun Cho, Jiatao GuAAAI 2020 · 213 citations
- Language Modelling with PixelsPhillip Rust, Jonas F. Lotz, Emanuele Bugliarello, Elizabeth Salesky et al.ICLR 2023 · 17 citations
- Tokenization Falling Short: On Subword Robustness in Large Language ModelsYekun Chai, Yewei Fang, Qiwei Peng, Xuhong LiEMNLP Findings 2024 · 7 citations
- Understanding and Patching Compositional Reasoning in LLMsZhaoyi Li, Gangwei Jiang, Hong Xie, Linqi Song et al.ACL Findings 2024 · 4 citations
Related papers
- Are representations built from the ground up? An empirical examination of local composition in language modelsEmmy Liu, Graham NeubigEMNLP 2022 · 5 citations
- From Tokens to Words: On the Inner Lexicon of LLMsGuy Kaplan, Matanel Oren, Yuval Reif, Roy SchwartzICLR 2025
- Spelling-out is not Straightforward: LLMs' Capability of Tokenization from Token to CharactersTatsuya Hiraoka, Kentaro InuiEMNLP Findings 2025 · 1 citation
- Probing LLMs for Joint Encoding of Linguistic CategoriesGiulio Starace, Konstantinos Papakostas, Rochelle Choenni, Apostolos Panagiotopoulos et al.EMNLP Findings 2023 · 4 citations
- Differential syntactic and semantic encoding in LLMsSantiago Acevedo, Alessandro Laio, Marco BaroniICML 2026 · 7 citations
