[Paper Review] BPE and CharCNNs for Translation of Morphology: A Cross-Lingual Comparison and Analysis
This paper investigates the complementary role of Byte-Pair Encoding (BPE) and character-level CNNs (charCNNs) in neural machine translation for low-resource, morphologically rich languages. It finds that combining BPE with charCNNs consistently improves translation performance across eight languages, with charCNNs alone outperforming BPE in Hebrew due to its impure abjad script and templatic morphology.
Neural Machine Translation (NMT) in low-resource settings and of morphologically rich languages is made difficult in part by data sparsity of vocabulary words. Several methods have been used to help reduce this sparsity, notably Byte-Pair Encoding (BPE) and a character-based CNN layer (charCNN). However, the charCNN has largely been neglected, possibly because it has only been compared to BPE rather than combined with it. We argue for a reconsideration of the charCNN, based on cross-lingual improvements on low-resource data. We translate from 8 languages into English, using a multi-way parallel collection of TED transcripts. We find that in most cases, using both BPE and a charCNN performs best, while in Hebrew, using a charCNN over words is best.
Motivation & Objective
- To evaluate the effectiveness of BPE and charCNNs in handling morphological complexity in low-resource neural machine translation.
- To determine whether BPE and charCNNs are complementary or redundant in modeling subword morphology.
- To investigate language-specific performance differences, particularly in Semitic languages with impure abjad scripts.
- To provide empirical evidence for using charCNNs as a stronger baseline for source-side morphology in low-resource settings.
- To release an open-source implementation of charCNN in OpenNMT-py for reproducibility and extension.
Proposed method
- Applied BPE to subword segmentation on source-side training data, using iterative merging of frequent character pairs.
- Integrated a character-level CNN (charCNN) into the encoder to learn word representations from character-level embeddings.
- Combined BPE and charCNN in a single model architecture, allowing attention to attend to both subword units and character-level patterns.
- Used a multi-way parallel dataset of TED Talks across eight languages (Arabic, French, German, Hebrew, Hungarian, Portuguese, Romanian, Russian) with English as the target.
- Trained and evaluated models using BLEU scores on dev and test sets, comparing configurations: word+tok, word+char, bpe+tok, bpe+char, stem+tok, stem+char.
- Conducted qualitative analysis on translation outputs to understand failure modes and morphological modeling behavior.
Experimental results
Research questions
- RQ1How do BPE and charCNNs compare in improving translation performance for morphologically rich, low-resource languages?
- RQ2Are BPE and charCNNs complementary in modeling subword morphology, or do they offer redundant improvements?
- RQ3Why does BPE perform poorly or harmfully in Hebrew and Arabic, and how does this relate to their orthographic and morphological systems?
- RQ4In what linguistic or typological contexts does a charCNN alone outperform BPE-based models?
- RQ5How do BPE and charCNNs interact in handling complex compound words, and what role does character-level modeling play in resolving subword segmentation errors?
Key findings
- The combination of BPE and charCNN consistently achieved the highest BLEU scores across seven of eight languages, with the highest score of 41.67 on Portuguese-English.
- In Hebrew, the word+char configuration achieved 35.53 BLEU, outperforming even the bpe+char system (30.81), indicating that BPE harms performance in this language.
- BPE caused detrimental segmentation in Hebrew (e.g., breaking "mk@@ ndh" for "from Canada") and Arabic (e.g., "alkn@@ dywn" for "the Canadians"), likely due to lack of vowel marking and templatic morphology.
- In German, the bpe+char model outperformed others on compound words (e.g., "self-portraits"), where BPE split "selbstportraits" into "selbst@@ portr@@ aits", and charCNN helped reconstruct the correct meaning.
- The charCNN was less effective on stemmed text (e.g., ISRI stemmer for Arabic), with BLEU improvements dropping from 3.41 to 0.06, suggesting that morphological normalization reduces charCNN utility.
- The charCNN’s ability to model character-level patterns was especially beneficial for transliterations (e.g., "milli-" in Hebrew), where BPE’s subword units disrupted recognition.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.