Publication:

Subword tokenization for low resource, morphologically rich languages: A morphologically constrained tokenizer for Lithuanian

Loading...
Thumbnail Image

Date

2026-06-24

Published Version

Published Version

Journal Title

Journal ISSN

Volume Title

Publisher

The Harvard community has made this article openly available. Please share how this access benefits you.

Research Projects

Organizational Units

Journal Issue

Citation

Melnychuck, Sofia. 2026. Subword tokenization for low resource, morphologically rich languages: A morphologically constrained tokenizer for Lithuanian. Bachelors Thesis, Harvard University Engineering and Applied Sciences.

Abstract

Many Slavic and Baltic languages remain underrepresented in training data, resulting in disparities in language model performance and natural language processing (NLP) resources. I address these low-resource conditions by adapting subword tokenizer architecture to leverage the morphologically rich structure of Lithuanian, a particularly low-resource Baltic language. Language models learn the relative meaning of tokens formed by merging characters or subwords based on the frequency with which they appear adjacent in training data. I present the MorphRich tokenizer, which is constrained by Lithuanian morphology to produce tokens that preserve the boundaries of morphemes that densely encode grammatical information. By training a small decoder model, I compare MorphRich-equipped model performance against a baseline model with a frequency-only BPE tokenizer. Although the MorphRich tokenizer produces more tokens-per-sequence, morphologically constrained tokens improve the model’s bits-per-character performance and the model learns more language information per token. The MorphRich tokenizer produces an embedding matrix in which vectors more densely encode grammatical and semantic information. To examine the downstream impact of this, I demonstrate that the model more effectively learns case agreement from surrounding morphological context rather than relying on word position, which is particularly significant for Lithuanian as a free word order language. In building the MorphRich tokenizer, I also contribute NLP resources currently underdeveloped for Lithuanian, including a morphological analyzer, parts-of-speech tagger, and morpheme boundary detector. This thesis suggests that language-specific tokenizers may improve model performance for low-resource, morphologically rich languages.

Description

Other Available Sources

Research Data

Keywords

computational linguistics, corpus linguistics, large language models, Lithuanian, low resource language, subword tokenization, Applied mathematics, Linguistics, Computer science

Terms of Use

This article is made available under the terms and conditions applicable to Other Posted Material (LAA), as set forth at Terms of Service

Endorsement

Review

Supplemented By

Related Stories