Character-Based PSMT for Closely Related Languages

Jörg Tiedemann

Abstract

Standard Statistical Machine Translation (SMT) systems often struggle with Out-of-Vocabulary (OOV) words, typically resorting to copying unknown source words directly into the output. This paper explores a character-based Phrase-Based SMT (PSMT) approach specifically designed for closely related languages like Norwegian and Swedish. By treating individual characters as tokens, the model can learn morphological transformations and spelling variations. Results indicate that a cascaded system—using character-based models to translate OOV words before applying a word-based model—yields statistically significant improvements in translation quality and string similarity.

Introduction

In machine translation, the OOV problem is particularly frustrating when dealing with closely related languages. Often, a word unknown to the training set is merely a cognate with a different suffix or a slight spelling variation. For example, the Norwegian word "jente" (girl) and the Swedish "flicka" are non-cognates, but many other words share predictable structural similarities. This research investigates whether applying SMT techniques at the character level can effectively "translate" these unknown words rather than simply passing them through unchanged.

Methodology

The author adapts the standard PSMT pipeline, replacing word-level tokens with character-level tokens. This process involves several key steps:

Character Segmentation

Sentences are broken down into character sequences. To preserve word boundaries, whitespaces are replaced with a special underscore character (_). This allows the model to treat the space as just another character to be aligned and translated.

Example of character-level segmentation for Swedish and Norwegian.

The Alignment Challenge

A technical hurdle arises because standard alignment tools like GIZA++ often limit sentence length to 40 tokens. While 40 words is standard, 40 characters represent only a fraction of a sentence. To circumvent this, the author implemented a "two-step" approach: first aligning at the word level, and then extracting character-level "phrases" from those pre-aligned word pairs.

Integration Strategies

The paper explores two primary ways to combine word and character models:

  1. Merging: Combining both types of data into a single training set, which proved ineffective due to high ambiguity.
  2. Cascaded Translation: This winning strategy uses the character model specifically to translate OOV words first. These translations are then "protected" using XML markup in the Moses decoder, allowing the word-based model to handle the rest of the sentence.

Key Insights

  • Morphological Learning: The model naturally identifies regular suffix changes (e.g., Norwegian -ene to Swedish -arna) without explicit linguistic rules.
  • Beyond Transliteration: Surprisingly, the character model can learn to translate non-cognates if the character sequences appear frequently enough in the training data.
  • String Similarity: Character-based models excel at producing outputs with high Longest Common Subsequence Ratio (LCSR), reflecting their ability to capture the "look and feel" of the target language even when exact word matches fail.

Results

The experiments utilized the OpenSubtitles corpus for Norwegian-Swedish translation. The cascaded approach, which prioritizes character-level translation for OOV words, produced the highest scores across all metrics.

Comparison of combined character and word models, showing the highest BLEU and NIST scores for the 'big' model configuration.

For the "big" model configuration, BLEU scores improved from 0.5298 to 0.5364, and NIST scores rose from 7.4650 to 7.5116. These improvements were found to be statistically significant ($p < 0.05$), representing a tangible reduction in untranslated "garbage" in the final output.

Limitations and Future Work

While effective, character-based models can occasionally generate "nonsense" words—sequences that look like the target language but do not exist in its lexicon. Furthermore, this approach is highly dependent on the linguistic proximity of the source and target languages. Future research may focus on more sophisticated methods for identifying which specific words are suitable candidates for character-level translation, such as names or loanwords, in more distant language pairs.

Summary updated

BibTeX
@inproceedings{tiedemann2009character,
  author = {Jörg Tiedemann},
  title = {{Character-Based PSMT for Closely Related Languages}},
  booktitle = {Eamt},
  year = {2009},
}
Figure