Producing Unseen Morphological Variants in Statistical Machine Translation

Matthias Huck, Ales Tamchyna, Ondrej Bojar, Alexander M. FraserEACL 2017 · DOI

TL;DR

This paper tackles the challenge of translating into morphologically rich languages, where standard SMT systems struggle to produce unseen word forms. They propose an integrated approach that synthesizes potential morphological variants and scores them using a discriminative classifier, leading to significant improvements in translation quality, especially in low-resource scenarios.

What Problem Does This Paper Address?

Statistical Machine Translation (SMT) systems, particularly phrase-based approaches, learn by observing parallel corpora. This means they can only output word forms that have been seen in the training data. For morphologically rich languages (like Czech, where a single lemma can have many inflected forms for different grammatical cases, genders, etc.), this is a major limitation. Even with large datasets, many linguistically valid word forms remain unseen, leading to translation errors. For example, a Czech lemma like "čéška" (kneecap) has seven valid cases, but a small corpus might only contain one or two. The paper aims to enable SMT systems to generate these unseen, but grammatically correct, morphological variants.

Methods

The core of the proposed method is an integrated approach that combines morphological generation with the SMT decoding process. Instead of a separate "two-step" process (predict morphology, then choose words), this work integrates it directly into the SMT decoder.

Here's a breakdown of their approach:

  • Synthesizing Morphological Variants: They use a morphological generation tool (MorphoDiTa for Czech) to create all valid inflected forms for known lemmas. These synthesized forms are then added as new translation options to the phrase table.
  • Phrase Table Augmentation: The phrase table is augmented with these synthesized variants. For example, if the baseline phrase table has an entry "apple" -> "jablko", they might add entries like "apple" -> "jablka", "apple" -> "jablku", etc., if these forms are linguistically valid for the lemma "jablko".
  • Integrated Scoring: A key challenge is scoring these new, unseen variants. They propose using a discriminative classifier (specifically, a "morph-vw" classifier using Vowpal Wabbit) that considers context from both the source and target sides. This classifier is trained to distinguish between correct and incorrect morphological variants.
  • Feature Engineering for the Classifier: The discriminative classifier uses various features, including:
  • Source/Target Indicators: Whether the word is a lemma ('t') or a specific morphological form ('1').
  • Internal Features: Information about the word itself (lemma, morphosyntactic tag).
  • Context Features: Words surrounding the phrase on the source side and words to the left of the current phrase on the target side.
  • Syntactic Role and Parent Lemma: Information from dependency parses.
  • Handling Generation Constraints: To avoid generating forms that don't match the intended meaning (e.g., wrong tense, number), they define a "tag template" that restricts generation to specific grammatical categories, while allowing flexibility in others like gender and case.

Datasets

  • Training Data: The experiments use English-Czech parallel corpora of varying sizes: 50K, 500K, 5M, and 50M sentence pairs. They specifically mention using corpora provided for the English-Czech News translation shared task at WMT16, including the CzEng parallel corpus.
  • Evaluation Data: The systems are evaluated on test sets named newstest2014, newstest2015, and newstest2016.
  • Monolingual Data: They assume that target language monolingual data is generally available and can be used for language modeling, even in low-resource parallel settings.

Key Insights and Ideas

  • Integration is Key: The paper strongly advocates for integrating morphological generation directly into the SMT decoding process, rather than treating it as a separate pre- or post-processing step. This allows for dynamic context-aware selection of the best morphological variant.
  • Lemmas as a Bridge: Using lemmas and morphosyntactic tags as factors in the SMT system, in addition to surface forms, is crucial. This helps counter sparsity issues and allows for scoring unseen forms based on reliable probability estimates derived from lemmas.
  • Discriminative Scoring for Unseen Forms: A discriminative classifier, leveraging rich contextual features from both source and target sides, is effective in scoring and selecting the correct unseen morphological variants. This is a significant improvement over simpler scoring mechanisms.
  • Low-Resource Gains: The most substantial improvements are observed in low- and medium-resource settings, highlighting the approach's practical applicability for languages with limited parallel data.

Key Results

  • BLEU Score Improvements: The proposed method consistently improves BLEU scores across different training data sizes.
  • At 50K training pairs, the technique reduces the target-side Out-Of-Vocabulary (OOV) rate from nearly 17% to less than 10%.
  • The improvements are most pronounced in the 50K and 500K settings, with gains of several BLEU points. For example, in the 50K setting, the + synthetic (mtu) + morph-vw system achieves 13.1 BLEU, compared to 11.8 for the baseline. In the 500K setting, it reaches 17.3 BLEU, compared to 16.1 for the baseline.
  • Gains are smaller but still present in the 5M and 50M scenarios.
  • Qualitative Improvements: Figure 2 shows an example where the baseline system produces an ungrammatical translation due to incorrect case usage. The proposed method correctly generates the inflected forms, leading to a more grammatical output.

Limitations and Future Work

  • Limitations:
    • The paper notes that improvements diminish as training data size increases, suggesting that standard SMT systems become more capable of learning variants with more data.
  • While the approach improves grammatical correctness, it doesn't guarantee perfect translation of prepositions or other complex grammatical phenomena (as seen in Figure 2's example).
  • The discriminative classifier requires lemmatization, tagging, and dependency parsing on both sides, which adds computational overhead.
  • Future Work:
    • The authors suggest that their approach is widely applicable to other morphologically rich languages.
  • Further exploration of feature engineering for the discriminative classifier could lead to even better performance.
  • Investigating more sophisticated ways to integrate morphological generation and SMT decoding might yield further gains.

Summary updated

BibTeX
@inproceedings{huck2017producing,
  author = {Matthias Huck and Ales Tamchyna and Ondrej Bojar and Alexander M. Fraser},
  title = {{Producing Unseen Morphological Variants in Statistical Machine Translation}},
  booktitle = {EACL},
  year = {2017},
  doi = {10.18653/v1/e17-2059},
}
Figure