Abstract
While Byte-Pair Encoding (BPE) is the industry standard for multilingual models, it creates a significant bottleneck for Named Entity Recognition (NER) in low-resource Indic languages. This study reveals that BPE often over-fragments the complex morphology of these languages, leading to a total collapse in zero-shot cross-lingual transfer. By switching to SentencePiece tokenization, researchers achieved massive performance gains, moving from 0% F1 scores to over 80% in languages like Assamese and Oriya.
Introduction
Named Entity Recognition (NER)—the task of identifying names, places, and organizations—is a cornerstone of information extraction. However, for the hundreds of millions of people speaking Indic languages like Bengali, Marathi, or Santali, NER performance remains poor. The primary culprit is often overlooked: tokenization.
Standard models use Byte-Pair Encoding (BPE), which breaks words into subword units based on frequency. While efficient for English, BPE "over-fragments" the complex morphology of Indic languages. When a model trained on Hindi attempts to recognize entities in a "zero-shot" setting (a language it wasn't trained on, like Assamese), these mangled subwords become unrecognizable, causing the model to fail entirely.
Methodology
The researchers conducted a systematic comparison of three tokenization strategies using the IndicBERT architecture: Byte-Pair Encoding (BPE), SentencePiece, and Character-Level tokenization.
The study utilized several key benchmarks, including FLORES-200++ for intrinsic linguistic analysis and Naamapadam for large-scale NER training. Additionally, the authors introduced a high-quality, manually annotated test set for three extremely low-resource languages: Sindhi, Santali, and Manipuri. The evaluation focused on how well these tokenizers preserve morphemes—the smallest meaningful units of a language—and their impact on downstream NER accuracy.
Key Insights
- The "O" Label Trap: In zero-shot settings, BPE-based models suffer from a "collapse" where they aggressively label almost everything as "O" (Outside/Non-entity). Because BPE fragments unseen entities into unrecognizable subwords, the model loses the signal that a word is a proper noun.
- Morphological Preservation: SentencePiece strikes a "Goldilocks" balance. It provides better compression than character-level tokenization but is less aggressive than BPE, allowing it to keep meaningful word parts together. This is crucial for agglutinative languages where words are built by combining many small parts.
- Script Resilience: SentencePiece handled script variations significantly better than BPE, particularly in languages like Sindhi which use the Arabic script.
Results and Analysis
The most striking results appeared in the zero-shot transfer experiments, where models were trained on Bengali and tested on other Indic languages.
As shown in the cross-lingual analysis, BPE models frequently failed to identify any entities (scoring 0.00% F1) in languages like Assamese and Oriya. In contrast, SentencePiece enabled successful transfer, achieving an 88.38% F1 score in Assamese and 81.08% in Oriya. For extremely low-resource languages like Santali and Manipuri, SentencePiece outperformed BPE by margins of 33% to 42% in F1 score. Interestingly, the "Tokenization Gap" is primarily a phenomenon of cross-lingual transfer; for in-language tasks, the two methods performed similarly.
Conclusion
Tokenization is a critical, yet often ignored, factor in the performance of multilingual models for morphologically rich languages. While SentencePiece provides a substantial leap forward for zero-shot NER, challenges remain for languages with very limited data like Sindhi. Future work should explore hybrid tokenization and tokenization-aware pre-training to ensure that low-resource languages are not left behind by modern NLP architectures.
Summary updated