Counting the Bugs in ChatGPT's Wugs: A Multilingual Investigation into the Morphological Capabilities of a Large Language Model

Leonie Weissweiler, Valentin Hofmann, Anjali Kantharuban, Anna Cai, Ritam Dutt, Amey Hengle, Anubha Kabra, Atharva Kulkarni, Abhishek Vijayakumar, Haofei Yu, Hinrich Schütze, Kemal Oflazer, David R. Mortensen

Abstract

Large language models (LLMs) have recently reached an impressive level of linguistic capability, prompting comparisons with human language skills. However, there have been relatively few systematic inquiries into the linguistic capabilities of the latest generation of LLMs, and those studies that do exist (i) ignore the remarkable ability of humans to generalize, (ii) focus only on English, and (iii) investigate syntax or semantics and overlook other capabilities that lie at the heart of human language, like morphology. Here, we close these gaps by conducting the first rigorous analysis of the morphological capabilities of ChatGPT in four typologically varied languages (specifically, English, German, Tamil, and Turkish). We apply a version of Berko's (1958) wug test to ChatGPT, using novel, uncontaminated datasets for the four examined languages. We find that ChatGPT massively underperforms purpose-built systems, particularly in English. Overall, our results -- through the lens of morphology -- cast a new light on the linguistic capabilities of ChatGPT, suggesting that claims of human-like language skills are premature and misleading.

Introduction

While Large Language Models (LLMs) like ChatGPT exhibit remarkable fluency, a fundamental question remains: do these models truly internalize the underlying rules of language, or are they simply sophisticated mimics? Most linguistic evaluations of LLMs focus on syntax (sentence structure) or semantics (meaning), often exclusively in English. This study shifts the focus to morphology—the system of rules used to form and inflect words.

To evaluate morphological productivity, we utilize the "Wug Test." Developed by Jean Berko in 1958, this test presents a subject with a "nonce word" (a made-up word like wug) and asks them to apply a grammatical rule (e.g., "There are two ____"). Successful inflection (wugs) demonstrates that the subject has acquired a generative rule rather than simply memorizing a dictionary. We apply this framework to ChatGPT across four typologically diverse languages to assess its ability to generalize beyond its training data.

Methodology

We evaluated ChatGPT (gpt-3.5-turbo-0613) against several specialized, supervised morphological baselines:

  • Feature Invariant Transformer (FIT): A character-level model.
  • Affix Rule Learner (ARL): A system designed to discover prefix and suffix rules.
  • Minimal Generalization Learner (MinGen): A model that learns rules based on phonological features.

Experimental Design

The study utilized three prompting strategies: zero-shot (no examples), one-shot (one example), and few-shot (five examples). We also compared "long" prompts (providing natural sentence context) against "short" prompts (using direct analogies, e.g., "wug : wugged :: dedo : ?"). Accuracy was measured using acc@k, comparing ChatGPT’s outputs against the top k responses provided by human native speakers.

Multilingual Scope

To ensure the findings were not English-centric, we tested four languages with distinct morphological structures:

  1. English: (Isolating/Fusional) Focus on past tense inflection.
  2. German: (Fusional) Focus on noun pluralization.
  3. Tamil: (Agglutinative/Fusional) A lower-resource Dravidian language.
  4. Turkish: (Agglutinative) Known for highly regular but complex suffix stacking.

Crucially, we developed novel, uncontaminated nonce-word datasets for each language to ensure the model could not rely on memorized strings from its training corpus.

Key Insights: The "Real Word Bias"

The most significant finding was ChatGPT's persistent "Real Word Bias." When presented with a nonce word like dedo, the model frequently ignored the morphological task and instead output a phonologically similar real word, such as did. This suggests that ChatGPT often "decodes" prompts into a semantic space and gravitates toward known neighbors rather than treating the nonce word as an abstract string to be manipulated according to grammatical rules.

Results and Analysis

Performance Gaps

ChatGPT consistently underperformed compared to specialized supervised models. In English, ChatGPT’s zero-shot accuracy fell below 60%, while the FIT model achieved over 90%. In Tamil, performance was particularly poor, often reaching 0% in zero-shot scenarios, highlighting a severe "low-resource" penalty where the model lacks the data density required for morphological generalization.

Productivity and Regularization

In German, ChatGPT exhibited an aggressive over-application of the most productive rules (such as adding -en or -s), even more so than human subjects. While the model identifies which rules are statistically dominant, it lacks the nuance to recognize when rarer patterns should be applied.

Prompting and Tokenization

Interestingly, ChatGPT performed better with "short" analogy-based prompts than with "long" contextual prompts. Furthermore, the study investigated whether Byte-Pair Encoding (BPE) tokenization was the cause of these failures. We found no strong correlation between the number of tokens a word was split into and the model's failure rate, suggesting the issue is rooted in the model's architecture or training objectives rather than just sub-word processing.

Conclusion

Our investigation reveals that ChatGPT’s grasp of morphology is fragile and significantly lags behind purpose-built systems. The model's tendency to hallucinate real words when faced with novel inputs suggests it relies more on statistical proximity to known data than on the abstract application of linguistic rules. These results indicate that while LLMs are proficient at mimicking surface-level fluency, claims that they possess human-like morphological capabilities are premature. Future work should focus on de-biasing models to treat nonce words as abstract strings and exploring whether multimodal grounding can improve morphological reasoning.

Summary updated

Abstract

Large language models (LLMs) have recently reached an impressive level of linguistic capability, prompting comparisons with human language skills. However, there have been relatively few systematic inquiries into the linguistic capabilities of the latest generation of LLMs, and those studies that do exist (i) ignore the remarkable ability of humans to generalize, (ii) focus only on English, and (iii) investigate syntax or semantics and overlook other capabilities that lie at the heart of human language, like morphology. Here, we close these gaps by conducting the first rigorous analysis of the morphological capabilities of ChatGPT in four typologically varied languages (specifically, English, German, Tamil, and Turkish). We apply a version of Berko's (1958) wug test to ChatGPT, using novel, uncontaminated datasets for the four examined languages. We find that ChatGPT massively underperforms purpose-built systems, particularly in English. Overall, our results -- through the lens of morphology -- cast a new light on the linguistic capabilities of ChatGPT, suggesting that claims of human-like language skills are premature and misleading.
BibTeX
@inproceedings{weissweiler2023counting,
  author = {Leonie Weissweiler and Valentin Hofmann and Anjali Kantharuban and Anna Cai and Ritam Dutt and Amey Hengle and Anubha Kabra and Atharva Kulkarni and Abhishek Vijayakumar and Haofei Yu and Hinrich Schütze and Kemal Oflazer and David R. Mortensen},
  title = {{Counting the Bugs in ChatGPT's Wugs: A Multilingual Investigation into the Morphological Capabilities of a Large Language Model}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  url = {https://openreview.net/forum?id=bkGVmCE3UJ},
}
Figure