NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Hybrid Tokenization for Morphological and Multilingual Robustness

18 concepts13 papers1 proposal

Standard subword tokenization algorithms, such as Byte Pair Encoding (BPE), have become the default for large language models because they solve the "out-of-vocabulary" problem by breaking rare words into smaller, frequent chunks. However, these purely statistical methods often ignore the underlying structure of language. They may split a word in the middle of a meaningful root or fail to capture the semantic density of logographic scripts like Chinese.

To address this, researchers have developed hybrid tokenization strategies. These methods combine the flexibility of statistical subword units with the structural integrity of linguistic rules, morphological segmentation, or multi-grained vocabularies.

The Morphological Gap in Statistical Splitting

Purely frequency-based algorithms like BPE often struggle with morphologically rich or agglutinative languages. In these languages, words are formed by stringing together many morphemes (units of meaning). If a statistical tokenizer splits these morphemes inconsistently, the model loses the ability to generalize across different forms of the same root.

Park et al. demonstrate that BPE fails to level the playing field for morphologically complex languages. They argue that incorporating linguistic knowledge—such as using finite-state transducers to perform initial morphological segmentation—ensures that tokens align with meaningful units while still allowing statistical methods to handle remaining rare terms. Similarly, for agglutinative languages like Uyghur, Li et al. found that a hybrid vocabulary selecting the optimal split from both rule-based and data-driven candidates significantly improves speech recognition performance.

Pre-Segmentation as a Scaffold

A common hybrid pattern is to use a "segment-then-split" workflow. Instead of running BPE on raw text, the text is first passed through a linguistically informed tokenizer that identifies word or morpheme boundaries. BPE is then applied only within those boundaries.

  • Vietnamese: Because Vietnamese uses whitespace to separate syllables rather than words, Nguyen and Nguyen applied BPE to pre-segmented word tokens in PhoBERT. This preserves the integrity of multi-syllabic words while maintaining the flexibility to handle unseen terms.
  • French: Le et al. and the authors of FlauBERT combined rule-based tokenizers with BPE to capture language-specific nuances that purely statistical models might miss.
  • Spanish: Táboas García et al. showed that training a standard BPE tokenizer on linguistically segmented data offers a "principled alternative" that balances morphological informativeness with computational efficiency.

This approach essentially uses linguistic rules as a scaffold, constraining the statistical algorithm to produce more semantically coherent units.

Bridging Logographic and Alphabetic Scripts

In multilingual settings, a single tokenization strategy rarely fits all. Logographic scripts (like Chinese) have high semantic density per character, while alphabetic scripts (like English) require multiple characters to form a single unit of meaning.

For code-switched Mandarin-English speech recognition, Ma et al. proposed a hybrid output space that uses high-frequency characters for Mandarin and BPE subwords for English. This prevents the model from being forced into a "one-size-fits-all" granularity. In massive multilingual models covering dozens of languages, Singhal et al. found that using character-level units for large-script languages and subwords for others balances vocabulary size with representational power.

To prevent the "vocabulary explosion" that occurs when thousands of unique characters are added to a model, Li et al. introduced a hybrid representation that uses byte-level encoding for logographic scripts and subwords for alphabetic ones. This allows a single, small output layer to serve many diverse languages efficiently.

Multi-Grained Chinese Encoding

In Chinese NLP, the tension between character-level and word-level information is particularly acute. Characters are flexible, but words carry the primary semantic weight.

The authors of the CPM model, Han et al., utilized a hybrid vocabulary containing both individual characters and common multi-character words. This ensures the model captures higher-level semantic relationships without losing the ability to process rare character combinations. Zhu and Zhu extended this with MVP-BERT, which uses an auxiliary loss to predict multiple levels of vocabulary simultaneously. This multi-grained approach makes the model more robust to adversarial attacks and faster than models using only fine-grained characters.

Beyond Natural Language: The Case of Code

The benefits of hybrid tokenization extend to programming languages. Code contains identifiers (like calculateTotalAmount) that follow specific naming conventions like camelCase or snake_case.

Shi et al. demonstrated that while BPE is useful for code, it often breaks identifiers into semantically meaningless chunks. By combining BPE with heuristic identifier splitting, they allowed models to maintain common identifiers as single units while falling back to meaningful sub-units for rare ones. This hybrid strategy improved identifier prediction accuracy by over 6%, proving that even in synthetic languages, structural heuristics provide a vital complement to statistical frequency.

Key Foundational Work

University of Rochester WMT 2017 NMT System Submission (2017) — contributed 2 concept elements to this direction.
Discriminative Approach to Build Hybrid Vocabulary for Conversational Telephone Speech Recognition of Agglutinative Languages (2013) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_hybrid_sub_word_tokenization_61201da3,
  title = {hybrid sub-word tokenization},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/hybrid-sub-word-tokenization/rdr_61201da33ea44768a13dbfcd94842c06},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-28},
}

This exact version (version 1, frozen text):

@misc{lacuna_hybrid_sub_word_tokenization_61201da3_v1,
  title = {hybrid sub-word tokenization},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/hybrid-sub-word-tokenization/rdr_61201da33ea44768a13dbfcd94842c06/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-28},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake