Neural Polysynthetic Language Modelling

Lane Schwartz, Francis Tyers, Lori S. Levin, Christo Kirov, Patrick Littell, Chi-kiu Lo, Emily Prud'hommeaux, Hyunji Hayley Park, Kenneth Steimel, Rebecca Knowles, Jeffrey Micher, Lonny Strunk, Han Liu, Coleman Haley, Katherine J. Zhang, Robbie Jimerson, Vasilisa Andriyanets, Aldrian Obaja Muis, Naoki Otani, Jong Hyuk Park, Zhisong ZhangarXiv 2020

Abstract

Research in natural language processing commonly assumes that approaches that work well for English and other widely-used languages are "language agnostic". In high-resource languages, especially those that are analytic, a common approach is to treat morphologically-distinct variants of a common root as completely independent word types. This assumes that there are limited morphological inflections per root, and that the majority will appear in a large enough corpus, so that the model can adequately learn statistics about each form. Approaches like stemming, lemmatization, or subword segmentation are often used when either of those assumptions do not hold, particularly in the case of synthetic languages like Spanish or Russian that have more inflection than English. In the literature, languages like Finnish or Turkish are held up as extreme examples of complexity that challenge common modelling assumptions. Yet, when considering all of the world's languages, Finnish and Turkish are closer to the average case. When we consider polysynthetic languages (those at the extreme of morphological complexity), approaches like stemming, lemmatization, or subword modelling may not suffice. These languages have very high numbers of hapax legomena, showing the need for appropriate morphological handling of words, without which it is not possible for a model to capture enough word statistics. We examine the current state-of-the-art in language modelling, machine translation, and text prediction for four polysynthetic languages: Guaraní, St. Lawrence Island Yupik, Central Alaskan Yupik, and Inuktitut. We then propose a novel framework for language modelling that combines knowledge representations from finite-state morphological analyzers with Tensor Product Representations in order to enable neural language models capable of handling the full range of typologically variant languages.

Introduction

Most modern NLP architectures are built on the implicit assumption that languages behave like English or Spanish—where words serve as the primary units of meaning and morphological variation is relatively constrained. However, polysynthetic languages such as Inuktitut, Yupik, and Guaraní challenge these assumptions. These languages build complex words from numerous morphemes, often expressing entire sentences within a single word. For instance, the St. Lawrence Island Yupik word mangteghaghrugllangllaghyunghitunga translates to "I didn’t want to make a huge house."

This structural density creates an astronomical number of possible word forms, leading to extreme data sparsity. In such languages, a significant portion of the vocabulary in any given text consists of hapax legomena—words that appear only once. Consequently, standard word-level models and even unsupervised subword approaches like Byte-Pair Encoding (BPE) struggle to capture the underlying linguistic structure, particularly given the small datasets available for these often-endangered languages.

Methodology

This research explores the integration of linguistically informed Finite-State Transducers (FSTs) with modern neural architectures to improve performance on polysynthetic tasks.

Tokenization and Language Modeling

The study compared several tokenization strategies for training RNN-LSTM language models: word-level, character-level, unsupervised subwords (BPE, Morfessor), and linguistically-motivated segmentation using FSTs. The goal was to determine which method best captures the morphophonological rules of the target languages.

Machine Translation (MT)

Transformer-based Neural Machine Translation (NMT) models were evaluated on Inuktitut-English and Yupik-English pairs. The researchers experimented with morphological segmentation versus BPE and explored multilingual training. Specifically, they investigated whether Inuktitut, a relatively higher-resource polysynthetic language, could improve translation for the lower-resource Yupik through transfer learning.

Tensor Product Representations (TPRs)

To bridge the gap between symbolic linguistic data and neural networks, the authors proposed a novel framework using Tensor Product Representations. By training an autoencoder with a custom "unbinding loss," they compressed high-dimensional morphological trees generated by FSTs into dense vectors suitable for neural processing.

Data Sources

The experiments utilized several key datasets:

  • Nunavut Hansard (v3.0 beta): An Inuktitut-English parallel corpus (~17.3M English / 8.1M Inuktitut tokens).
  • Bible Corpora: Parallel and monolingual texts for Central Alaskan Yup’ik, St. Lawrence Island Yupik, Guaraní, English, and Spanish.
  • Audio/Transcripts: Small datasets for Chukchi and Crow used for preliminary Automatic Speech Recognition (ASR) testing.

Results and Discussion

The Superiority of Linguistic Segmentation

In language modeling tasks, FST-based segmentation significantly outperformed statistical methods. For St. Lawrence Island Yupik, FST segmentation achieved a character-level perplexity of 2.25, compared to 2.77 for Morfessor and 3.14 for BPE. This suggests that for polysynthetic languages, respecting linguistic boundaries is more effective than purely statistical subword discovery.

The Robustness of BPE in Translation

Interestingly, while FSTs won in language modeling, standard BPE remained more effective for Machine Translation. The Inuktitut-to-English Transformer using 5k BPE achieved a BLEU score of 29.5, while the FST-segmented version reached only 23.3. This discrepancy likely stems from BPE's ability to segment every string into manageable chunks, whereas FSTs often leave unanalyzable out-of-vocabulary (OOV) words as massive, unbreakable tokens.

Multilingual Transfer

Multilingual training showed clear benefits for low-resource languages. Training a model on both Inuktitut and Yupik, followed by fine-tuning on Yupik, improved the St. Lawrence Island Yupik-to-English BLEU score from 4.4 to 6.5. This improvement occurred despite the two languages sharing less than 1% of their training vocabulary, indicating that the model learned shared structural or typological features.

Practical Applications: Predictive Keyboards

The research culminated in the deployment of the first open-source, predictive on-device keyboards for Guaraní and St. Lawrence Island Yupik. Because polysynthetic words are too long for standard prediction bars, the models were adapted to predict morphemes, providing a more natural user experience for native speakers.

Conclusion and Future Work

While FSTs provide a powerful tool for handling morphological complexity, their reliance on hand-crafted rules limits their coverage. Future work will focus on fully integrating the TPR framework into end-to-end models to handle OOV words more gracefully. Additionally, the team aims to address the high error rates observed in low-resource ASR and continue refining mobile tools in collaboration with native speaker communities through projects like Divvun.

Summary updated

BibTeX
@misc{schwartz2020neural,
  author = {Lane Schwartz and Francis Tyers and Lori S. Levin and Christo Kirov and Patrick Littell and Chi-kiu Lo and Emily Prud'hommeaux and Hyunji Hayley Park and Kenneth Steimel and Rebecca Knowles and Jeffrey Micher and Lonny Strunk and Han Liu and Coleman Haley and Katherine J. Zhang and Robbie Jimerson and Vasilisa Andriyanets and Aldrian Obaja Muis and Naoki Otani and Jong Hyuk Park and Zhisong Zhang},
  title = {{Neural Polysynthetic Language Modelling}},
  year = {2020},
  eprint = {2005.05477},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2005.05477},
}
Figure