Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Morpheus: A Morphology-Aware Neural Tokenizer and Word Embedder for Turkish

About

Turkish is agglutinative: meaning is carried by morphemes, yet the subword tokenizers that drive modern language models split words by corpus statistics, fragmenting semantically loaded suffixes and -- in the case of WordPiece and rule-based analyzers -- failing to decode their output back to the original text. This paper presents \textbf{Morpheus}, a neural morpheme-boundary model for Turkish that is at once a lossless, morphology-aware tokenizer and a word-embedding producer. A differentiable Poisson-binomial dynamic program turns per-character boundary probabilities into soft morpheme memberships during training and exact segments at inference, with no string normalization, so $\mathrm{decode}(\mathrm{encode}(w)) = w$ holds by construction. Because the model is neural, the same forward pass that tokenizes also emits a structured word embedding. Among reversible tokenizers -- the only ones valid for generation -- Morpheus attains the lowest bits-per-character ($1.425$), roughly doubles the gold morphological alignment of the subword family (MorphScore macro-F1 $0.61$ vs.\ ${\sim}0.32$), and uses ${\sim}19\%$ less GPU memory than 64K-vocabulary subword tokenizers. As an embedder, frozen Morpheus vectors lead on lexical retrieval (root-family MAP $0.85$) and same-root verification (ROC-AUC $1.00$), surpassing the multilingual retriever BGE-M3 and BERTurk; on context- and inflection-dependent tasks (NER, case/number probing) the heavier contextual encoders remain ahead -- a trade-off we attribute to Morpheus's root-centric geometry. Code: https://github.com/lonewolf-rd/TurkishMorpheus; model: https://huggingface.co/lonewolflab/Morpheus-TR-50K; interactive demo: https://huggingface.co/spaces/lonewolflab/morpheus-tr-demo.

Tolga \c{S}akar• 2026

Related benchmarks

TaskDatasetResultRank
Token Purity AnalysisTR-MMLU
Token Purity83.5
7
Language ModelingTurkish Language Modeling (val)
BPC1.425
7
Morphological AlignmentUD Turkish-Kenet
MorphScore macro-F161
6
Morphological AlignmentSIGMORPHON
Lemma-Prefix Rate76
6
ReversibilityUD Turkish-Kenet (test)
Roundtrip Accuracy100
4
Lexical RetrievalTurkish Lexical Retrieval Dataset
Retrieval MAP85
3
Root VerificationTurkish Root Identity Dataset
Dedup ROC-AUC1
3
Morphological ProbingTurkish Morphological Probing Dataset
Number Probe Accuracy59
3
Named Entity RecognitionTurkish NER Dataset
Macro F1 (NER)48
3
Showing 9 of 9 rows

Other info

GitHub

Follow for update