BPE vs. Morphological Segmentation: A Case Study on Machine Translation of Four Polysynthetic Languages

Manuel Mager, Arturo Oncevay, Elisabeth Mager, Katharina Kann, Ngoc Thang VuACL 2022

Abstract

This study challenges the standard reliance on Byte-Pair Encoding (BPE) for subword segmentation in Natural Language Processing, specifically within the context of polysynthetic languages. By evaluating machine translation (MT) performance across four indigenous languages of the Americas—Nahuatl, Wixarika, Raramuri, and Shipibo-Konibo—we compare unsupervised and supervised morphological segmentation against BPE. Our results reveal a "supervised paradox": while supervised models achieve superior segmentation accuracy, they perform poorly in downstream MT tasks due to overfitting and the generation of unseen subwords. In contrast, unsupervised linguistically-aware methods consistently outperform BPE, offering a more robust solution for extremely low-resource, morphologically complex scenarios.

Introduction

In modern NLP, Byte-Pair Encoding (BPE) is the standard for subword segmentation due to its simplicity and ability to handle out-of-vocabulary terms. However, BPE is a purely statistical method that ignores the internal structure of words. This is particularly problematic for polysynthetic languages, where a single word can contain the semantic complexity of an entire sentence through the combination of multiple morphemes. This structural complexity leads to extreme data sparsity, as many unique word forms appear only once in a corpus.

This paper investigates whether linguistically-aware segmentation can overcome the limitations of BPE in extremely low-resource (ELR) scenarios. We contribute new datasets for Raramuri and Shipibo-Konibo and benchmark various segmentation paradigms in a Transformer-based MT system.

Methods and Datasets

We evaluated three segmentation paradigms:

  1. Unsupervised Morphological Segmentation: Methods such as Morfessor, FlatCat, and LMVR that identify morpheme boundaries based on statistical patterns without gold-standard labels.
  2. Supervised Morphological Segmentation: Models trained on annotated data, including CRFs, Sequence-to-Sequence (Seq2seq), and Pointer-Generator Networks (PtrSeg).
  3. Baseline: Standard statistical BPE.

The study utilized four indigenous languages: Nahuatl (nah), Wixarika (hch), Raramuri (tar), and Shipibo-Konibo (shp). Notably, this work introduces a new Raramuri–Spanish parallel corpus and new morphological datasets for Raramuri and Shipibo-Konibo.

Key Results and the "Supervised Paradox"

Our experiments demonstrate that unsupervised methods provide the optimal balance between linguistic awareness and translation robustness. As shown in Figure 1, unsupervised methods like FlatCat and LMVR outperformed BPE in 5 out of 8 translation directions. For instance, in Raramuri-to-Spanish (tar-spa) translation, FlatCat achieved a 35.09 chrF score, significantly exceeding BPE's 32.64.

Figure 1: Translation performance (chrF) relative to BPE baseline. Unsupervised methods (blue bars) frequently outperform BPE (green line), while supervised methods (red bars) consistently lag behind across most language pairs.

Conversely, we observed a "supervised paradox." Supervised models were highly accurate at the segmentation task itself—PtrSeg reached 90.13 F1 for Raramuri segmentation compared to BPE's 62.54—yet they were the worst performers in actual translation. This discrepancy suggests that high segmentation accuracy on "clean" gold data does not necessarily translate to better downstream performance.

Analysis: The UNK Problem

The failure of supervised models is largely attributed to the "Unknown" (UNK) token problem. Because supervised models are highly generative, they often "hallucinate" or innovate new subword combinations when processing real-world MT data. These novel subwords, while potentially linguistically plausible, were never seen by the MT model during training, resulting in a high volume of UNK tokens.

Figure 6: Distribution of Unknown (UNK) tokens for the Spanish-Nahuatl task. Supervised models (green) produce a significantly higher frequency of UNK tokens compared to BPE (blue) and unsupervised LMVR (orange).

As illustrated in Figure 6, supervised models produce significantly more UNK tokens than both BPE and unsupervised methods. This "noise" confuses the translation model, leading to a breakdown in quality despite the underlying segmentation's linguistic accuracy.

Conclusion

For polysynthetic languages in low-resource settings, linguistically-informed unsupervised segmentation is currently superior to both standard BPE and supervised morphological models. While supervised models are better at identifying morphemes, their tendency to overfit and generate out-of-distribution subwords makes them a liability for MT. Future research should focus on making supervised models more conservative or exploring adaptor-grammars to bridge the gap between linguistic precision and translation robustness.

Summary updated

BibTeX
@inproceedings{mager2022bpe,
  author = {Manuel Mager and Arturo Oncevay and Elisabeth Mager and Katharina Kann and Ngoc Thang Vu},
  title = {{BPE vs. Morphological Segmentation: A Case Study on Machine Translation of Four Polysynthetic Languages}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.findings-acl.78},
}
Figure