Morphology-Aware Tokenizer for Preserving Morpheme Boundaries

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing tokenization methods, particularly Byte Pair Encoding (BPE), struggle to effectively handle non-concatenative morphological systems such as Arabic and Hebrew, and agglutinative languages like Turkish and Korean, failing to preserve meaningful morpheme boundaries and leading to semantic ambiguity and inefficiencies in Large Language Models (LLMs).

Innovation Solution

A morphologically aware tokenizer, MorphBPE, which integrates linguistic principles into the byte-pair encoding algorithm to prevent merges from crossing morpheme boundaries, using Morphology-Aware LLM Tokenizer and evaluation metrics like Morph.-Edit Distance Score and Morph.-Consistency F1-Score to ensure accurate morphological alignment.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If Byte Pair Encoding (BPE) is used for tokenization, then tokenization efficiency and vocabulary management are improved, but morphological boundaries are not preserved and semantic coherence deteriorates

Engineering Contradiction:
Improvetokenization efficiencyVSAvoidmorphological information
Core Design Contradiction:
ProductivityVSLoss of information

Solution Approach 1:

The patent applies segmentation by dividing words into morphemes based on linguistic knowledge before tokenization. The morphological analyzer segments input words into their constituent morphemes (roots, prefixes, suffixes), and this segmentation is used to guide the BPE process. This ensures that tokenization respects morphological boundaries while maintaining the efficiency of BPE for vocabulary management.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements preliminary action by pre-segmenting words into morphemes before the tokenization process. The morphological analyzer performs this segmentation in advance, creating a structured representation that informs subsequent tokenization decisions. This preliminary morphological analysis enables the tokenizer to make informed decisions about where to split tokens while maintaining efficiency.

Inventive Principle:
Principle #10Preliminary action

2Device complexity

If standard BPE merging strategy is applied, then vocabulary size is reduced and processing speed is improved, but morpheme boundary alignment deteriorates and linguistic meaning is lost

Engineering Contradiction:
Improvevocabulary sizeVSAvoidmorpheme boundary alignment
Core Design Contradiction:
Device complexityVSManufacturing precision

Solution Approach 1:

The patent applies local quality by making the tokenization process language-specific and morphology-aware. Instead of using a uniform BPE approach across all languages, the system adapts the tokenization strategy to respect the morphological structure of each language. The morphological analyzer provides language-specific segmentation rules that guide local tokenization decisions, ensuring that morpheme boundaries are preserved while maintaining vocabulary efficiency.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent implements parameter changes by modifying the BPE algorithm to incorporate morphological constraints. The system changes the merging parameters of BPE to prevent merges that would cross morpheme boundaries. This is achieved by using the morphological segmentation to define valid merge operations, thereby maintaining both vocabulary compactness and morphological integrity.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If morphology-based segmentation is used, then morphological integrity is improved, but alignment with corpus-based learning patterns deteriorates and statistical efficiency is reduced

Engineering Contradiction:
Improvemorphological integrityVSAvoidstatistical efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent merges two approaches: morphology-based segmentation and corpus-based statistical learning. The system combines the morphological analyzer (which ensures morphological integrity) with the BPE algorithm (which captures statistical patterns from corpora). This hybrid approach allows the tokenizer to respect morphological boundaries while also learning from corpus statistics to optimize vocabulary formation and tokenization efficiency.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent creates a composite tokenization system that combines morphological analysis with statistical BPE. The morphological component provides structurally sound segmentation, while the BPE component optimizes for frequency and efficiency based on corpus data. This composite approach integrates the strengths of both methodologies, achieving both morphological integrity and statistical efficiency.

Inventive Principle:
Principle #40Composite materials

Data Source

PatentUS20260037813A1Morphologically aware tokenizer
Publication Date: 2026.02.05 HAMAD BIN KHALIFA UNIVERSITY
  • US20260037813A1 patent drawing
  • US20260037813A1 patent drawing
  • US20260037813A1 patent drawing

AI summary

The present disclosure provides for a morphologically aware tokenizer. According to one aspect of the present disclosure a morphologically aware tokenizer. According to a second aspect of the present disclosure a method of using a f morphologically aware tokenizer.