Character-Aware Decoder for Translation into Morphologically Rich Languages

Adithya Renduchintala, Pamela Shapiro, Kevin Duh, Philipp Koehn

Abstract: Adithya Renduchintala, Pamela Shapiro, Kevin Duh, Philipp Koehn. Proceedings of Machine Translation Summit XVII: Research Track.

2019.

Introduction

Neural Machine Translation (NMT) typically relies on subword units, such as Byte-Pair Encoding (BPE), to manage vocabulary size. However, BPE treats subwords as opaque symbols, ignoring the internal linguistic structure of words. This is particularly problematic for morphologically rich languages (MRLs) like Turkish, Czech, or Arabic, where words undergo extensive inflections to denote tense, case, or gender. In low-resource settings, these specific inflected forms appear infrequently, leading to sparse embeddings that hinder model performance.

While character-awareness has been successfully integrated into NMT encoders, applying it to the decoder side has historically been challenging. This paper introduces a character-aware decoder designed to capture morphological patterns through a gated Convolutional Neural Network (CNN) architecture, specifically optimized for low-resource MRL translation.

Methodology: The Character-Aware Extension

The proposed architecture provides a "middle-ground" between word-level and character-level modeling. The core innovation is a Character-Aware Extension applied to both the target embedding and softmax layers.

Architecture of the character-aware extension showing CNN composition and gating.

For every word in the vocabulary, the model generates a "composed" embedding by passing its character sequence through a character-embedding layer followed by four parallel CNNs (kernel sizes 3–6). The outputs are max-pooled and concatenated to capture morphological patterns.

A critical component is the type-specific gating mechanism. Instead of relying solely on the CNN-composed embedding, the model learns a gate that decides, for each word, how much to rely on the standard word embedding versus the composed character-based embedding. This allows the model to use standard embeddings for high-frequency, non-compositional words while utilizing character-based generalizations for rare, morphologically complex words.

Experimental Results

The model was evaluated on the TED multi-target dataset, translating from English into 14 typologically diverse languages in a low-resource regime (74k to 181k sentence pairs). The character-aware gated model (CG) consistently outperformed standard baselines across all 14 languages.

BLEU score gains (CG - Std.) across various BPE merge operations for 14 languages.

As shown in the results, the highest gains were observed in languages with high morphological complexity, such as Czech (+3.05), Ukrainian (+2.36), and Hungarian (+2.34). While BPE is the industry standard, the character-aware model provided the most significant gains at the full word level but remained robust even when used alongside BPE subword units.

Discussion and Key Insights

Ablation studies confirmed that the gating mechanism is non-negotiable. Naively replacing word embeddings with CNN-composed ones without gating caused a catastrophic drop in BLEU scores (e.g., from 26.84 to 12.22 in German). The gate balances the model's ability to generalize via spelling with its ability to memorize unique word meanings.

Qualitative analysis further showed that the model is significantly better at transliterating names and correctly predicting the endings of rare words where BPE splits might be linguistically nonsensical. There is also a strong correlation between performance gains and the morphological complexity of the target language.

Conclusion

This character-aware decoder offers a robust solution for NMT in low-resource, morphologically rich contexts. By successfully integrating character-level information into the decoder via a gated mechanism, the model achieves consistent performance gains and better handles the sparsity inherent in complex languages. Future work may explore the potential of this architecture in multilingual NMT to share morphological knowledge across related language families.

Summary updated

BibTeX
@inproceedings{renduchintala2019character,
  author = {Adithya Renduchintala and Pamela Shapiro and Kevin Duh and Philipp Koehn},
  title = {{Character-Aware Decoder for Translation into Morphologically Rich Languages}},
  booktitle = {MTSummit},
  year = {2019},
  url = {https://openreview.net/forum?id=YtyAuzxPOg},
}
Figure