Morphology Matters: A Multilingual Language Modeling Analysis

Hyunji Hayley Park, Katherine J. Zhang, Coleman Haley, Kenneth Steimel, Han Liu, Lane Schwartz · DOI

Abstract

Prior studies in multilingual language modeling (e.g., Cotterell et al., 2018; Mielke et al., 2019) disagree on whether or not inflectional morphology makes languages harder to model. We attempt to resolve the disagreement and extend those studies. We compile a larger corpus of 145 Bible translations in 92 languages and a larger number of typological features. We fill in missing typological data for several languages and consider corpus-based measures of morphological complexity in addition to expert-produced typological features. We find that several morphological measures are significantly associated with higher surprisal when LSTM models are trained with BPE-segmented data. We also investigate linguistically-motivated subword segmentation strategies like Morfessor and Finite-State Transducers (FSTs) and find that these segmentation strategies yield better performance and reduce the impact of a language's morphology on language modeling.

Introduction

The rapid advancement of Natural Language Processing (NLP) has largely been driven by research on morphologically "poor" languages like English and Chinese. In these languages, word forms remain relatively stable regardless of grammatical context. However, the vast majority of the world's languages are morphologically rich, utilizing intricate systems of prefixes, suffixes, and internal stem changes to encode complex grammatical relationships. A single word in Turkish or Finnish can often convey the same information as an entire English sentence.

This structural diversity raises a fundamental question: are some languages inherently harder for artificial intelligence to learn? Previous research has yielded conflicting results. Some suggest that morphological complexity imposes a "tax" on modeling performance, while others argue that perceived difficulty is merely a byproduct of surface-level text statistics, such as vocabulary size. This study aims to resolve this debate by analyzing a massive multilingual dataset and evaluating how different text segmentation strategies influence a model's ability to handle morphological richness.

Methodology

The researchers trained Long Short-Term Memory (LSTM) language models across 92 languages. Performance was quantified using surprisal (negative log-likelihood), a metric that measures how "unexpected" a sequence of tokens is to the model. A higher surprisal indicates that the language is more difficult for the model to predict.

A critical component of the study was the comparison of five distinct segmentation strategies, which determine how raw text is broken down into tokens:

  1. Character-level: Treating individual characters as tokens.
  2. Byte-Pair Encoding (BPE): A statistical method that iteratively merges frequent character sequences. It is the current industry standard for Large Language Models (LLMs).
  3. Morfessor: An unsupervised, linguistically-motivated method designed to identify morphemes—the smallest units of meaning.
  4. FST+BPE / FST+Morfessor: These hybrid approaches utilize Finite-State Transducers (FSTs)—expert-crafted, rule-based systems—to perform initial morphological analysis. Statistical methods are only employed as a fallback for words the FST cannot process.
Comparison of segmentation strategies on a sample Turkish sentence.

Data and Typological Features

The study utilized a corpus of 145 Bible translations covering 92 languages and 22 language families. The Bible serves as an ideal parallel corpus for multilingual research due to its verse-aligned structure, allowing for direct comparisons across diverse linguistic typologies.

To measure morphological complexity, the authors employed two types of metrics:

  • Expert-Generated Features: 12 morphological features derived from the World Atlas of Language Structures (WALS), such as "Locus of Marking" and "Case Syncretism." The researchers manually filled in missing WALS data for several languages to ensure a robust analysis.
  • Corpus-Based Measures: Four statistical proxies for complexity, including the Type-Token Ratio (TTR) and Mean Length of Word (MLW).

Results: The Morphology Tax

The analysis reveals that morphological complexity is indeed a significant predictor of modeling difficulty, particularly when using standard segmentation methods.

The Failure of BPE

While BPE is widely used, the results indicate it is ineffective at mitigating the impact of morphology. BPE surprisal correlated strongly with 6 out of 12 WALS morphological features. Furthermore, BPE showed a remarkably high correlation (Spearman’s $\rho = 0.80$) with the number of unique word types in a corpus. This suggests that BPE often creates subword units that are statistically frequent but linguistically incoherent, hindering the model's ability to generalize across different inflected forms of the same root.

Spearman’s $\rho$ correlation between surprisal and corpus-based measures across different segmentation strategies.

Linguistically-Informed Success

In contrast, methods that respect linguistic structure significantly improved performance. Morfessor outperformed BPE in 66 out of 92 languages. The most impressive results came from FST-augmented models. In the seven languages where FSTs were available (including Turkish, Finnish, and German), these models achieved the lowest surprisal. This demonstrates that incorporating expert linguistic knowledge into the segmentation process can effectively "level the playing field" for morphologically rich languages.

Discussion and Conclusion

A key takeaway from this research is that text statistics and linguistic grammar are inextricably linked. Previous arguments that statistics explain modeling difficulty better than morphology overlook the fact that these statistics are the mathematical manifestation of a language's morphological system.

The study concludes that "morphology matters." Standard statistical segmentation is not a silver bullet for multilingual NLP. While FSTs provide a gold standard, their requirement for expert human labor limits their scalability to the world's thousands of low-resource languages. Future work should focus on developing more sophisticated unsupervised segmentation methods that can capture the benefits of FSTs without the need for manual rule-building, and exploring how these findings apply to modern Transformer-based architectures.

Summary updated

BibTeX
@article{park2021morphology,
  author = {Hyunji Hayley Park and Katherine J. Zhang and Coleman Haley and Kenneth Steimel and Han Liu and Lane Schwartz},
  title = {{Morphology Matters: A Multilingual Language Modeling Analysis}},
  journal = {Trans. Assoc. Comput. Linguistics},
  year = {2021},
  url = {https://openreview.net/forum?id=qYeSHrk3tHn},
}
Figure