Knowledge-Rich Morphological Priors for Bayesian Language Models

Victor Chahuneau, Noah A. Smith, Chris DyerNAACL 2013

TL;DR

This paper introduces a Bayesian language model that leverages knowledge-rich finite-state transducers (FSTs) to capture morphological word formation processes. By doing so, it overcomes data sparsity issues in morphologically rich languages and improves performance across various NLP tasks like language modeling and word alignment.

What Problem Does This Paper Address?

Many Natural Language Processing (NLP) systems treat words as atomic units, ignoring their internal structure. This "word independence assumption" leads to significant data sparsity problems, especially for morphologically rich languages where a single root word can have many inflected forms. Traditional approaches to address this either require extensive manual annotation or treat morphological analysis as a separate preprocessing step, which has its own drawbacks. This paper aims to integrate morphological knowledge directly into language models in a principled, data-driven way, without requiring token-level annotation.

Methods

The core of this work is a morphology-aware nonparametric Bayesian language model. Instead of using simple multinomial distributions over words, the model uses hierarchical Pitman-Yor Processes (PYPs). These PYPs are parameterized to generate distributions over stems and inflectional patterns. Crucially, the paper integrates manually constructed finite-state transducers (FSTs), which encode linguistic knowledge about word formation, as the mechanism to generate inflected word forms from stem-pattern pairs.

The model's generative process can be summarized as:

  1. Sample a stem from a distribution over stems ($G_s$).
  2. Sample an inflectional pattern from a distribution over patterns ($G_p$).
  3. Generate the inflected word form using a deterministic mapping (GENERATE) from the stem and pattern.

The distributions $G_s$ and $G_p$ are themselves generated from PYPs, allowing for sharing of statistical strength across different inflections of the same stem. This hierarchical structure allows frequent words to be modeled opaquely, while less frequent, regular patterns benefit from deeper morphological analysis. The FSTs' invertibility is key, enabling the model to work with both generation and analysis.

Datasets

The paper uses several datasets for evaluation:

  • Russian TED talks corpus (1.7M words): Used for training the unigram model and for language modeling experiments.
  • DIALOG 2010 conference dataset: A test set of 1,500 gold-standard analyses for morphological disambiguation.
  • Turkish TED talks corpus (1.6M words): Used for language modeling and predictive text input experiments.
  • English-Turkish corpus (2.8M words): Used for word alignment experiments.
  • English-Czech corpus (1.3M words): Used for word alignment experiments.
  • Turkish tweets: Mentioned for preliminary experiments in predictive text input.

The paper does not introduce new datasets but leverages existing corpora and evaluation benchmarks.

Key Insights and Ideas

  • Morphology as a Prior: The paper demonstrates that linguistic knowledge encoded in FSTs can be effectively used as a "knowledge-rich prior" within a Bayesian framework, significantly improving language models.
  • Sharing Statistical Strength: By modeling stems and patterns separately and allowing them to share information through PYPs, the model can generalize better to unseen words and handle data sparsity more gracefully.
  • Unsupervised Morphological Disambiguation: The model can perform unsupervised disambiguation of morphological analyses generated by rule-based analyzers, which is a significant step towards practical applications without manual annotation.
  • Flexibility of PYPs: The use of Pitman-Yor Processes provides a flexible and principled way to model distributions over potentially infinite sets of stems and patterns, naturally capturing power-law distributions observed in language.
  • Bridging Low-Resource and High-Resource: The approach is particularly promising for low-resource languages where annotated data is scarce, as it leverages existing morphological knowledge (FSTs) and can learn from limited data.

Key Results

  • State-of-the-art results: The paper reports state-of-the-art results in language modeling, word alignment, and unsupervised morphological disambiguation for morphologically rich languages.
  • Language Modeling: Achieved significant perplexity reductions on Russian and Turkish corpora compared to baseline character-based language models, especially in open-vocabulary scenarios. For Turkish, the model reduced perplexity from 1,640 to 1,292.
  • Morphological Disambiguation: Showed substantial improvements in lemma, part-of-speech, and morphology F-measures compared to random or frequency-based baselines on Russian data.
  • Word Alignment: Demonstrated significant reductions in alignment error rate (AER) for English-Turkish and English-Czech pairs, outperforming traditional IBM Model 4 and baseline PY models. For English-Turkish, AER was reduced from 39.2% to 33.8% with the PY-U(S) model.
  • Predictive Text Input: Achieved large improvements in word and character error rates, indicating better handling of unseen words.

Limitations and Future Work

  • Linguistic Assumption: The authors acknowledge a linguistically naive assumption that morphology applies within the lexicon but has no effect on the process of combining inflected lexemes into sentences. This is identified as an important open question for future work.
  • FST Availability: The effectiveness of the model relies on the availability of good quality, manually constructed FSTs. Developing these for new languages can be time-consuming.
  • Future Work: The authors plan to apply these techniques to low-resource, morphologically rich languages like Kinyarwanda. They also suggest exploring how to relax the assumption about morphology's role in sentence formation.

Summary updated

BibTeX
@inproceedings{chahuneau2013knowledge,
  author = {Victor Chahuneau and Noah A. Smith and Chris Dyer},
  title = {{Knowledge-Rich Morphological Priors for Bayesian Language Models}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2013},
  url = {https://openreview.net/forum?id=Hk4cPQbuZS},
}
Figure