MorphNet: A sequence-to-sequence model that combines morphological analysis and disambiguation

Erenay Dayanik, Ekin Akyürek, Deniz Yuret · DOI

TL;DR

This paper introduces "Morse," a novel sequence-to-sequence model for morphological analysis that jointly predicts a word's lemma and its morphological features. By generating features one by one, Morse effectively handles rare or unseen tags and can represent complex, multi-part morphology, achieving state-of-the-art results across nine languages.

What Problem Does This Paper Address?

Morphological analysis, the process of breaking down words into their constituent parts (like stems and affixes) and identifying their grammatical roles, is crucial for many Natural Language Processing (NLP) tasks, especially in morphologically rich languages. Traditional approaches often involve separate, complex rule-based systems or dictionaries for lemmatization (finding the base form of a word) and tagging (assigning grammatical features). These methods can struggle with rare or unseen words and features, and handling languages with extensive morphology (where words can have many affixes) is particularly challenging. The paper aims to create a unified, data-driven model that can perform this analysis accurately and efficiently, even in low-resource scenarios.

Methods

The core of the proposed solution is "Morse," a recurrent encoder-decoder model inspired by sequence-to-sequence architectures used in machine translation.

  • Encoder: Morse uses three distinct encoders:
  • Word Encoder: Processes each word character by character using a unidirectional LSTM to create a word embedding.
  • Context Encoder: Employs a bidirectional LSTM to capture the surrounding word embeddings, providing contextual information.
  • Output Encoder: Uses morphological features from previous words (during training, gold features; during testing, predicted features) to inform the current word's analysis.
  • Decoder: A multi-layer LSTM decoder generates the output for each word sequentially. Crucially, it outputs the lemma character by character, followed by each morphological feature one at a time. This sequential, feature-by-feature generation is a key innovation.

This approach avoids the need for external rule-based analyzers or dictionaries and allows the model to learn to handle rare or unseen tags by generating them incrementally.

Datasets

The authors evaluated Morse on several datasets:

  • Universal Dependency (UD) Datasets: Used for eight languages, providing a multilingual benchmark.
  • Turkish Datasets:
    • TrMor2006: An existing dataset with semi-automatically disambiguated training data and a small, hand-tagged test set.
  • TrMor2016: Another existing dataset.
  • TrMor2018: A newly introduced, high-accuracy Turkish morphology dataset created by the authors. It contains 460,669 tokens and was annotated semi-automatically with a 96% inter-annotator agreement, aiming to provide a more reliable benchmark for Turkish morphology research.

Key Insights and Ideas

  • Sequence-based Feature Generation: Generating morphological features one by one, rather than as a single, combined tag, significantly improves the model's ability to handle rare or unseen features. This is a major advantage over traditional whole-tag approaches.
  • Handling Complex Morphology: The sequential output allows Morse to represent an arbitrary number of features, making it suitable for morphologically complex languages where words can have multiple inflectional groups.
  • Joint Lemmatization and Tagging: Performing both tasks together proved beneficial, especially in high-resource settings, suggesting that lemma and tag information are mutually informative.
  • Contextual Disambiguation: The use of a context encoder demonstrates the importance of surrounding words in correctly disambiguating morphologically ambiguous words.

Key Results

  • State-of-the-Art Performance: Morse achieved state-of-the-art results on nine languages across low-resource, high-resource, and transfer learning settings.
  • Improved Accuracy: The sequence decoder approach outperformed whole-tag classifiers, especially for unseen or rare tags.
  • Turkish Dataset Performance: On the new TrMor2018 dataset, MorseDisamb (a variant that chooses among rule-based analyses) achieved the best results, with Morse itself also performing strongly.
  • Ablation Studies: Each component of the Morse model (word encoder, context encoder, output encoder) contributed positively to the overall performance.

Limitations and Future Work

  • Low-Resource vs. High-Resource: While Morse performs well in low-resource settings, the performance gap between joint lemma-tag prediction and tag-only prediction decreases with more training data.
  • Ambiguous Tokens: For highly ambiguous tokens, MorseDisamb (which leverages rule-based analyses) outperformed Morse when it generated analyses from scratch. This suggests that while Morse is powerful, combining it with existing linguistic knowledge can yield even better results.
  • Future Work: The authors suggest exploring variants like MorseTag (tag-only) and MorseDisamb (disambiguation using external analyses) for more direct comparisons and to address specific aspects of the task. The release of the Morse implementation and the TrMor2018 dataset is intended to support future research in this area.

Summary updated

BibTeX
@article{dayanik2019morphnet,
  author = {Erenay Dayanik and Ekin Akyürek and Deniz Yuret},
  title = {{MorphNet: A sequence-to-sequence model that combines morphological analysis and disambiguation}},
  journal = {Trans. Assoc. Comput. Linguistics},
  year = {2019},
  url = {https://openreview.net/forum?id=G4UXeE8SC5f},
}
Figure