Character-based Neural Machine Translation

Marta R. Costa-jussà, José A. R. FonollosaACL 2016

Introduction

Traditional Neural Machine Translation (NMT) systems treat words as atomic units, relying on fixed-size lookup tables. This approach introduces two significant limitations: the vocabulary bottleneck, where rare words are replaced by a generic "unknown" token (UNK), and morphological blindness, where the model fails to recognize relationships between different forms of the same root (e.g., "run" vs. "running"). This paper proposes a character-based architecture to overcome these hurdles by building word representations from their constituent characters.

Methods

The proposed model replaces the standard source-side word lookup table with a deep neural architecture designed to capture sub-word information.

Architecture of the character-based word representation model.

The architecture consists of several key components:

  1. Character Embeddings: Words are decomposed into characters, each mapped to a low-dimensional vector.
  2. 1D Convolutional Neural Network (CNN): A set of filters with varying lengths (1 to 7 characters) processes the character sequence to identify meaningful patterns like stems, prefixes, and suffixes.
  3. Max Pooling: This layer extracts the most salient features, producing a fixed-length vector for each word.
  4. Highway Layers: Two highway layers use gating mechanisms to refine the word representation, allowing complex transformations while maintaining information flow.

The final word-level vector is then passed to a standard bidirectional RNN encoder. While the internal representation is character-derived, the model still operates on word-level translation units.

Experimental Setup

The model was evaluated on the German-English WMT task using 3.5 million training sentences from EPPS, NEWS, and Commoncrawl datasets. German was selected as the primary test case due to its rich morphology, which poses a significant challenge for traditional word-based systems.

Key Results

The character-based (CHAR) model demonstrated substantial improvements over both phrase-based statistical systems and standard word-based NMT (NN) baselines.

BLEU score performance across different translation tasks and models.

As shown in the results table, the CHAR system achieved a BLEU score of 21.40 for German-to-English translation, rising to 22.10 when combined with source-side post-processing (+Src). The gains were even more significant in English-to-German translation, where the CHAR+Src model reached 20.22 BLEU, a nearly 4-point improvement over the standard NN baseline. Additionally, the number of unknown words in the final translations was significantly reduced.

Discussion and Insights

The success of the character-based approach stems from its ability to eliminate source-side UNK tokens and its inherent "affix-awareness." By recognizing sub-word structures, the model can generalize to unseen words that share common roots or affixes. Furthermore, the authors observed that character-level source information improves the overall network optimization, leading to better alignment of target-side word embeddings and more accurate semantic disambiguation.

Conclusion

This work demonstrates that character-based representations can effectively solve the vocabulary bottleneck and morphological blindness of traditional NMT. While the current model still faces a "target-side bottleneck" due to its fixed word-level decoder, it provides a strong foundation for future research into fully end-to-end, open-vocabulary translation systems.

Summary updated

BibTeX
@inproceedings{costajussa2016character,
  author = {Marta R. Costa-jussà and José A. R. Fonollosa},
  title = {{Character-based Neural Machine Translation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2016},
  doi = {10.18653/v1/p16-2058},
}
Figure