Skip to main navigation Skip to search Skip to main content

MorphBPE: Morphology-Aware Tokenization for Efficient LLM Training

  • Ehsaneddin Asgari*
  • , Yassine El Kheir
  • , Mohammad Ali Sadraei Javaheri
  • , Ali Nazari
  • *Corresponding author for this work
  • Hamad bin Khalifa University
  • Technical University of Berlin

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

Abstract

Tokenization fundamentally shapes NLP performance, affecting both efficiency and linguistic fidelity. While Byte Pair Encoding (BPE) underpins most Large Language Models (LLMs), its frequency-driven merges often disregard morpheme boundaries, yielding inconsistent and semantically opaque segmentations in morphologically rich languages. We introduce MorphBPE, a simple extension of BPE that constrains merge operations during tokenizer training to respect morpheme boundaries, while leaving inference unchanged and fully compatible with existing LLM pipelines. We evaluate tokenization quality using two intrinsic metrics: Morphological Consistency F1, which measures whether shared morphemes are assigned consistent token representations, and Morphological Edit Distance, which quantifies alignment with morpheme boundaries. We then train 300M and 1B parameter decoder-only LMs from scratch across four typologically diverse languages: English, Russian, Hungarian, and Arabic, under identical vocabulary sizes and training settings. Across all languages, MorphBPE consistently improves intrinsic morphological coherence and reduces language model cross-entropy; moreover, token length statistics indicate that these gains are not attributable to materially shorter tokens. Finally, on the Belebele multilingual reading comprehension benchmark, MorphBPE yields significant improvements in morphologically rich languages such as Russian and Arabic.

Original languageEnglish
Title of host publication64th Annual Meeting of the Association for Computational Linguistics, Findings of the Association for Computational Linguistics
Subtitle of host publicationACL 2026
EditorsMaria Liakata, Viviane P. Moreira, Jiajun Zhang, David Jurgens
PublisherAssociation for Computational Linguistics (ACL)
Pages41610-41621
Number of pages12
ISBN (Electronic)9798891763951
Publication statusPublished - 2026
Event64th Annual Meeting of the Association for Computational Linguistics, ACL 2026 - San Diego, United States
Duration: 2 Jul 2026 → 7 Jul 2026

Publication series

NameProceedings of the Annual Meeting of the Association for Computational Linguistics
ISSN (Print)0736-587X

Conference

Conference64th Annual Meeting of the Association for Computational Linguistics, ACL 2026
Country/TerritoryUnited States
CitySan Diego
Period2/07/26 → 7/07/26

Fingerprint

Dive into the research topics of 'MorphBPE: Morphology-Aware Tokenization for Efficient LLM Training'. Together they form a unique fingerprint.

Cite this