From Smor-re-brod to Subwords: Training LLMs on Danish, One Morpheme at a Time
Not on the map. Why?
Abstract (arXiv)
The best performing transformer-based language models use subword tokenization techniques, such as Byte-Pair-Encoding (BPE). However, these approaches often overlook linguistic principles, such as morphological segmentation, which we believe is fundamental for understanding language-specific word structure. In this study, we leverage an annotated Danish morphological dataset to train a semisupervised model for morphological segmentation, enabling the development of tokenizers optimized for Danish morphology. We evaluate four distinct tokenizers, including two custom morphological tokenizers, by analyzing their performance in morphologically segmenting Danish words. Additionally, we train two generative transformer models, textitCerebrasGPT-111M and textitLLaMA-3.2 1B, using these tokenizers and evaluate their downstream performance. Our findings reveal that our custom-developed tokenizers substantially enhance morphological segmentation, achieving an F1 score of 58.84, compared to 39.28 achieved by a Danish BPE tokenizer. In downstream tasks, models trained with our morphological tokenizers outperform those using BPE tokenizers across different evaluation metrics. These results highlight that incorporating Danish morphological segmentation strategies into tokenizers leads to improved performance in generative transformer models on Danish language
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 13 of its 38 references that are in the map. First posted on arXiv 2 Apr 2025.
Builds on
13 of 38 references.
References · 13
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
- 2018Subword Regularization: Improving Neural Network Translation Models with Multiple Subword Candidatescited by 639
- 2019CCNet: Extracting High Quality Monolingual Datasets from Web Crawl Datacited by 548
- 2020Byte Pair Encoding is Suboptimal for Language Model Pretrainingcited by 192
- 2023CulturaX: A Cleaned, Enormous, and Multilingual Dataset for Large Language Models in 167 Languagescited by 174
- 2023Cerebras-GPT: Open Compute-Optimal Language Models Trained on the Cerebras Wafer-Scale Clustercited by 109
- 2020ConvoKit: A Toolkit for the Analysis of Conversationscited by 72
- 2022Impact of Tokenization on Language Models: An Analysis for Turkishcited by 62
- 2024MYTE: Morphology-Driven Byte Encoding for Better and Fairer Multilingual Language Modelingcited by 40
- 2018Morphological and Language-Agnostic Word Segmentation for NMTcited by 16
- 2020Morphological Word Segmentation on Agglutinative Languages for Neural Machine Translationcited by 11
- 2020FT Speech: Danish Parliament Speech Corpuscited by 8
Built on by
Not cited yet.