Introduction
Tokenization is a fundamental step in Natural Language Processing (NLP), yet its impact on morphologically complex, low-resource languages like Georgian remains under-explored. Georgian, a Kartvelian language with a unique script and highly agglutinative structure, presents significant challenges for standard tokenization methods. This paper evaluates various subword tokenization strategies to determine the optimal approach for Georgian NLP tasks.
The Challenge of Georgian Morphology
Georgian is characterized by complex verbal morphology where a single word can incorporate multiple prefixes and suffixes to convey information that would require a full sentence in English. This "vocabulary explosion" makes word-level tokenization impractical. While subword tokenization is the standard solution, the choice of algorithm and vocabulary size is critical for capturing the language's unique structural nuances.
Experimental Setup
The researchers compared three classes of tokenizers: subword tokenizers (WordPiece, BPE, and SentencePiece/Unigram), a token-free byte-level approach (ByT5), and a multilingual baseline (mBERT). Models were trained using a scaled-down BERT architecture (42M parameters) on a 1-million-word Georgian corpus. Downstream evaluation was performed on four tasks: Named Entity Recognition (NER), Part-of-Speech (POS) tagging, Toxicity Detection, and Sentiment Analysis.
Results and the "Toxicity Paradox"
The evaluation revealed a striking divergence in performance trends across tasks. For NER, POS tagging, and Sentiment Analysis, performance generally improved as vocabulary size increased (represented by vocabulary parameters in the figures). In contrast, Toxicity Detection exhibited a "Toxicity Paradox," where smaller vocabularies yielded better results.
The authors hypothesize that toxic language often employs rare or modified word forms. Finer granularity (smaller vocabularies) allows the model to identify the underlying toxic morphemes that might otherwise be subsumed into larger, less frequent subword units in a larger vocabulary. This approach set a new state-of-the-art for Georgian toxicity detection, achieving an accuracy of 0.959.
Key Findings
- Native Pre-training Beats Multilingualism: Tokenizers trained specifically on Georgian text consistently outperformed the general-purpose mBERT tokenizer on almost every task, even with a relatively small pre-training corpus.
- ByT5's Georgian Struggle: The byte-level ByT5 model performed significantly worse than subword methods. In UTF-8 encoding, each Georgian character requires 3 bytes, making input sequences three times longer and likely overwhelming the model's attention mechanism.
- Top Performers: SentencePiece (Unigram) with a 64k vocabulary achieved the highest accuracy in Sentiment Analysis, while WordPiece and BPE led in POS tagging and NER, respectively.
Conclusion
For most Georgian NLP tasks, subword tokenizers with larger vocabularies are recommended. However, tasks sensitive to rare or modified morphemes, such as toxicity detection, benefit from higher granularity. Future research will extend this research to other Kartvelian languages like Mingrelian, Svan, and Laz.
Summary updated