Abstract
Traditional neural machine translation (NMT) systems rely on explicit segmentation of text into words or subword units. This paper challenges this paradigm by introducing a character-level decoder that generates raw character sequences directly. By utilizing a Bi-scale Recurrent Neural Network (RNN) to capture language dynamics at multiple timescales, the proposed model learns morphology implicitly and avoids the pitfalls of data sparsity and unknown tokens. Evaluation on morphologically rich languages like Finnish and Czech demonstrates that character-level decoders achieve state-of-the-art results and significantly improve the translation of rare words.
Introduction
Most NMT systems process text by breaking sentences into words or subword units (e.g., Byte-Pair Encoding). While effective, this "explicit segmentation" introduces several issues:
- Data Sparsity: In morphologically complex languages, a single root can have hundreds of forms, leading to a fragmented vocabulary.
- Segmentation Errors: Imperfect segmentation propagates errors through the translation pipeline.
- Unknown Words: Word-level models often fail on rare or out-of-vocabulary terms, resulting in
<UNK>tokens.
This research investigates whether a model can skip segmentation entirely and generate translations character by character.
The Bi-scale RNN Architecture
The core innovation is the Bi-scale Recurrent Neural Network (RNN). Language naturally operates on different timescales: individual characters change rapidly, while word-level semantic context evolves more slowly. The Bi-scale RNN mirrors this structure with two layers:
- The Faster Layer: Responsible for processing and generating individual characters.
- The Slower Layer: Updates only when the faster layer completes a "chunk" (roughly a word), maintaining long-term coherence.
- Gating Units: These units act as traffic controllers, determining when the slower layer should influence the faster layer and when to reset the faster layer's state.
While the encoder in this study still utilized subword units (BPE), the decoder was replaced with this character-level engine to test its generative capabilities.
Experimental Setup
The models were trained and evaluated using the WMT’15 parallel corpora for four morphologically rich language pairs: English to Czech (En-Cs), German (En-De), Russian (En-Ru), and Finnish (En-Fi). These languages provide a rigorous test for character-level modeling due to their complex internal word structures.
Results and Discussion
The character-level decoder demonstrated several key advantages over traditional subword-level (BPE) models.
Implicit Morphology and Rare Words
The model learns the internal structure of words (morphology) implicitly through character prediction. This eliminates the need for predefined linguistic rules. Crucially, because the vocabulary consists of a small set of characters (~300-1000), the model can construct any word, effectively solving the "unknown word" problem.
Performance and Coherence
Contrary to concerns that character-level models might lose coherence over long sequences, the results showed high stability. On all four language pairs, character-level decoders outperformed BPE-based models.
As shown in the figures, the character-level models (both base and bi-scale) maintain competitive BLEU scores across various sentence lengths and show a marked improvement in translating rare words (low word frequency) compared to the BPE baseline.
Conclusion
This work proves that character-level decoding is not only feasible but superior for morphologically rich languages. While character generation is slightly slower than subword generation, the gains in translation quality and the simplification of the preprocessing pipeline make it a worthy trade-off. Future work will focus on developing fully end-to-end character-to-character models, removing the need for subword segmentation on the encoder side as well.
Summary updated