Introduction
Modern NLP models predominantly rely on subword tokenization methods like Byte-Pair Encoding (BPE) or Unigram models. While effective, these methods are "meaning-blind," splitting words based solely on character sequence frequency. This often results in linguistically nonsensical splits—for instance, splitting "unhappy" into "unh" and "appy"—which can hinder generalization, particularly in morphologically rich or low-resource languages. This paper introduces a novel approach that "grounds" subword splits in lexical meaning, combining unsupervised morphological analysis with semantic alignment.
Methodology: A Three-Stage Pipeline
The authors propose a refined tokenization pipeline designed to prioritize morphological and semantic integrity:
- Morphology-Aware Pre-tokenization: Instead of standard whitespace splitting, the process begins with Morfessor, an unsupervised tool that identifies likely morpheme boundaries. This provides a linguistically informed foundation for vocabulary construction.
- Lexically Grounded Segmentation: To ensure subwords are semantically relevant, the authors project subwords into the same vector space as pre-trained word embeddings. A segmentation algorithm then selects splits where the combined "meaning" of the subwords most closely aligns with the original word's embedding.
- Bigram Model Distillation: Recognizing that embedding-based lookups are computationally expensive, the authors "distill" this complex behavior into a fast subword bigram model. This model retains the morphological benefits of grounded segmentation while remaining practical for real-world inference.
Evaluation and Key Results
The method was evaluated across intrinsic morphological tasks (SIGMORPHON 2018), Part-of-Speech (POS) tagging (Universal Dependencies), and Machine Translation (IWSLT 2017).
Morphological Precision
The proposed model consistently outperformed standard BPE and Unigram baselines. As shown in the boundary metrics, the combination of Morfessor pre-tokenization and the distilled bigram model achieves significantly higher precision and F-1 scores across various vocabulary sizes.
For example, in Czech, boundary precision increased from approximately 76% with standard BPE to nearly 90% using the Morfessor + Unigram + Distillation approach.
Downstream Impact
The benefits were most pronounced in tasks requiring structural understanding. In POS tagging, the grounded approach achieved a normalized accuracy of 0.745, vastly outperforming BPE (0.340) and Unigram (0.187). While Machine Translation scores (BLEU/chrF) showed less dramatic shifts—likely due to the robustness of MT models to sub-optimal splits—the improvements in Rényi efficiency suggest a more effective use of the vocabulary budget.
Conclusion and Future Directions
By integrating lexical meaning into the tokenization process, this work demonstrates that subword units can be both statistically efficient and linguistically meaningful. While the method currently depends on pre-trained word embeddings, future research could explore integrating these grounded subwords directly into the training objectives of Large Language Models (LLMs) to enhance cross-lingual transfer and reasoning capabilities.
Summary updated