Skip to main content
QUICK REVIEW

[Paper Review] An Empirical Study of Tokenization Strategies for Various Korean NLP Tasks

Kyubyong Park, Joohong Lee|arXiv (Cornell University)|Oct 6, 2020
Natural Language Processing TechniquesComputer Science27 references19 citations
TL;DR

This paper evaluates multiple tokenization strategies for Korean NLP, finding that a hybrid approach—morphological segmentation followed by Byte Pair Encoding (BPE)—yields the best performance across most tasks, including machine translation and natural language understanding. However, for question-answering (KorQuAD), pure BPE with a 64K vocabulary outperforms all others, highlighting task-specific optimal strategies.

ABSTRACT

Typically, tokenization is the very first step in most text processing works. As a token serves as an atomic unit that embeds the contextual information of text, how to define a token plays a decisive role in the performance of a model.Even though Byte Pair Encoding (BPE) has been considered the de facto standard tokenization method due to its simplicity and universality, it still remains unclear whether BPE works best across all languages and tasks. In this paper, we test several tokenization strategies in order to answer our primary research question, that is, "What is the best tokenization strategy for Korean NLP tasks?" Experimental results demonstrate that a hybrid approach of morphological segmentation followed by BPE works best in Korean to/from English machine translation and natural language understanding tasks such as KorNLI, KorSTS, NSMC, and PAWS-X. As an exception, for KorQuAD, the Korean extension of SQuAD, BPE segmentation turns out to be the most effective.

Motivation & Objective

  • To identify the optimal tokenization strategy for Korean NLP across diverse tasks, including machine translation and natural language understanding.
  • To investigate whether linguistically informed segmentation (morphological) combined with data-driven subword methods (BPE) improves performance over BPE alone.
  • To evaluate the impact of token length, linguistic awareness, and out-of-vocabulary (OOV) rates on model performance in Korean NLP.
  • To compare the effectiveness of various tokenization units—Jamo, syllable, morpheme, subword, and word-level segmentation—across multiple benchmark tasks.
  • To provide publicly available code and pre-trained models for reproducibility and future research in Korean NLP.

Proposed method

  • Applied five tokenization strategies: Consonant-Vowel (CV), syllable, morpheme, subword (BPE), and morpheme-aware subword (BPE applied after morphological segmentation).
  • Used MeCab-ko for accurate morphological segmentation of Korean text, leveraging the Sejong Corpus for training.
  • Trained BERT-style models using a 1M-step pre-training schedule on a 1.5TB Korean text corpus with TPU v3-8, using standard BERT hyperparameters.
  • Fine-tuned the pre-trained models on five downstream NLU tasks (KorNLI, KorSTS, NSMC, PAWS-X, KorQuAD) using HuggingFace Transformers.
  • Evaluated performance across varying vocabulary sizes (8K, 16K, 32K, 64K) to assess scalability and generalization.
  • Analyzed token length, OOV rates, and linguistic awareness via BLEU scores and under-trained token frequency to isolate key performance factors.

Experimental results

Research questions

  • RQ1What is the optimal tokenization strategy for Korean-to-English and English-to-Korean neural machine translation?
  • RQ2How does combining morphological segmentation with BPE compare to using BPE alone across multiple Korean NLP tasks?
  • RQ3Does linguistic awareness in subword tokenization improve performance in Korean NLP, especially in low-resource or morphologically rich settings?
  • RQ4How do token length and out-of-vocabulary (OOV) rates affect model performance in Korean NLP tasks?
  • RQ5Is there a single best tokenization strategy across all Korean NLP tasks, or does performance vary by task type?

Key findings

  • For machine translation (Ko-En and En-Ko), the morpheme-aware subword strategy with a 64K vocabulary achieved the highest BLEU scores, outperforming pure BPE and morphological segmentation.
  • In natural language understanding tasks (KorNLI, KorSTS, NSMC, PAWS-X), morpheme-aware subword models with 64K vocabulary achieved the best performance, showing consistent gains across all four tasks.
  • For the KorQuAD question-answering task, pure subword tokenization with a 64K vocabulary achieved the highest Exact Match (EM) and F1 scores, outperforming all other strategies including morpheme-aware subword.
  • Performance across all tokenization types increased monotonically with vocabulary size, suggesting that larger vocabularies better capture morphological and subword variations in Korean.
  • Morpheme models suffered from high OOV and under-trained token rates, especially at smaller vocabularies (e.g., 32K), indicating poor generalization on rare morphological units.
  • Linguistic awareness significantly improved performance: morpheme-aware subword models outperformed standard subword models even at identical average token lengths, confirming the value of morphological structure in Korean NLP.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.