An Empirical Study of Tokenization Strategies for Various Korean NLP Tasks

By Kyubyong Park, Joohong Lee, Seongbo Jang, Dawoon Jung. 2020

83 citations recorded by the source corpus.

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. Our code and pre-trained models are publicly available at https://github.com/kakaobrain/kortok.

Subfields: Artificial Intelligence, Natural Language Processing, Computational Linguistics & Semantics

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Thomas Wolf
  2. Colin Raffel
  3. Jung-Woo Ha
  4. Yacine Jernite
  5. Benoît Sagot
  6. Dongju Park
  7. Dong-hyun Ham
  8. Samson Tan

In Natural Language Processing

  1. Thomas Wolf
  2. Benoît Sagot
  3. Colin Raffel
  4. Yacine Jernite
  5. Dongju Park
  6. Dong-hyun Ham
  7. Samson Tan
  8. Chenglei Si

In Computational Linguistics & Semantics

  1. Kang Min Yoo
  2. Thomas Wolf

Citations in the corpus