arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2010.02534cs.CL
收藏

韩国语NLP任务中Tokenization策略的实证研究

An Empirical Study of Tokenization Strategies for Various Korean NLP Tasks

Kakao Brain;Pingpong AI Research, Scatter Lab(平乓人工智能研究院,斯卡特实验室);Pohang University of Science and Technology(浦项科技大学)

Kyubyong Park, Joohong Lee, Seongbo Jang, Dawoon Jung

摘要:

通常,标记化是大多数文本处理工作的第一步。作为嵌入文本上下文信息的原子单位,标记的定义对模型的性能起着决定性的作用,尽管字节对编码(BPE)因其简单性和通用性而被认为是事实标准,但BPE是否适用于所有语言和任务仍不清楚。在本文中,我们测试了几个标记化策略,以回答我们的主要研究问题,即“什么是最好的标记化策略,韩国NLP任务?“实验结果表明,形态分割后的BPE混合方法在韩语到英语的机器翻译和自然语言理解任务(如KorNLI、KorSTS、NSMC和PAWS-X)中效果最好。作为一个例外,对于KorQuAD,SQuAD的韩国扩展,BPE分割是最有效的。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑