Abstract
Traditional Neural Machine Translation (NMT) systems rely on explicit segmentation into words or subword units, which often fails to capture complex morphology or handle out-of-vocabulary (OOV) terms. This paper introduces a "char2char" NMT model that maps source character sequences directly to target character sequences without any intermediate segmentation. By utilizing a convolutional-pooling architecture to compress character sequences, the model achieves state-of-the-art results on several language pairs. Furthermore, the study demonstrates that a single character-level encoder can be shared across multiple languages, leading to significant performance gains through multilingual training.
Introduction
For years, NMT research has focused on word-level or subword-level (e.g., Byte Pair Encoding) tokens. However, these approaches face several challenges:
- Out-of-Vocabulary (OOV) Words: Rare names or typos often break models with fixed vocabularies.
- Morphological Complexity: Languages like Finnish or Czech exhibit vast variations for single roots, making word-level modeling data-inefficient.
- Segmentation Bias: Fixed heuristics like BPE may not provide the optimal segmentation for the translation task.
While character-level models address these issues, they typically suffer from high latency due to sequence lengths being 6 to 8 times longer than word sequences. This paper proposes an architecture designed to overcome these efficiency hurdles.
Model Architecture
The core of the proposed system is a "bottleneck" encoder that aggressively reduces character sequence length.
- Convolutional Layer: Raw character embeddings pass through 1D temporal convolutions of varying widths (1 to 8 characters) to capture n-gram features like prefixes or roots.
- Max-Pooling with Stride: A max-pooling layer with a stride of 5 shrinks the sequence length by 80%, creating a compressed representation.
- Highway Network & Bi-GRU: This representation is processed by four highway layers and a bidirectional Gated Recurrent Unit (GRU) to capture context.
- Character-Level Decoder: The decoder generates the target language character-by-character, enabling the production of any possible string.
Experimental Setup
The model was evaluated on four language pairs from the WMT’15 dataset, translating into English: German (DE-EN), Czech (CS-EN), Finnish (FI-EN), and Russian (RU-EN). To facilitate multilingual learning, Cyrillic characters in Russian were transliterated into Latin script using the ISO-9 standard.
Results
The char2char model demonstrated superior performance over subword-level (BPE) baselines:
- Bilingual Performance: The model achieved gains of +0.56 BLEU on German-English and +1.14 BLEU on Czech-English.
- Multilingual Gains: The character-level encoder excelled in the multilingual setting. For Finnish, the multilingual character model outperformed its bilingual counterpart by 2.64 BLEU points.
- Efficiency: Despite the character-level granularity, the architecture was only approximately 35% slower to train than subword models, a significant improvement over previous character-level attempts.
Discussion
Dynamic Segmentation and Robustness
Unlike fixed BPE units, the max-pooling layer allows the model to discover its own internal linguistic units dynamically. This makes the system significantly more robust to spelling errors and "nonce" words compared to lookup-table-based models.
The Multilingual Advantage
Character-level models are uniquely suited for multilingual tasks because many languages share roots or grammatical structures at the character level. Transliterating Russian to ISO-9 allowed the model to share "morpheme" knowledge across different languages.
Training on four languages simultaneously acted as a regularizer, preventing overfitting on smaller datasets like Finnish and improving overall fluency, as confirmed by human evaluation.
Conclusion
This work demonstrates that fully character-level NMT is not only feasible but also highly effective. While the model occasionally struggles with very long-distance dependencies in complex sentences, its robustness to noise and ability to leverage multilingual data mark a significant step toward more flexible translation systems. Future research will explore many-to-many translation settings and deeper architectures to further improve long-range context handling.
Summary updated