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

Tokenization与下游模型的联合优化

Joint Optimization of Tokenization and Downstream Model

Tokyo Institute of Technology(东京工业大学);Denso IT Laboratory, Inc.(电装IT实验室株式会社)

Tatsuya Hiraoka, Sho Takase, Kei Uchiumi, Atsushi Keyaki, Naoaki Okazaki

摘要:

由于传统的标记器与下游任务和模型隔离,因此它们无法根据任务和模型输出适当的标记,尽管最近的研究表明适当的标记可以提高性能。在本文中,我们提出了一种新的方法来找到一个适当的标记到一个给定的下游模型,通过联合优化的标记器和模型。所提出的方法没有限制,除了使用损失值计算的下游模型训练的令牌化,因此,我们可以应用所提出的方法到任何NLP任务。此外,所提出的方法可用于探索已训练模型的适当标记作为后处理。因此,所提出的方法适用于各种情况。我们评估了我们的方法是否有助于提高三种语言的文本分类和八种语言对的机器翻译的性能。实验结果表明,我们提出的方法提高了性能,通过确定适当的标记。

英文摘要:

Since traditional tokenizers are isolated from a downstream task and model, they cannot output an appropriate tokenization depending on the task and model, although recent studies imply that the appropriate tokenization improves the performance. In this paper, we propose a novel method to find an appropriate tokenization to a given downstream model by jointly optimizing a tokenizer and the model. The proposed method has no restriction except for using loss values computed by the downstream model to train the tokenizer, and thus, we can apply the proposed method to any NLP task. Moreover, the proposed method can be used to explore the appropriate tokenization for an already trained model as post-processing. Therefore, the proposed method is applicable to various situations. We evaluated whether our method contributes to improving performance on text classification in three languages and machine translation in eight language pairs. Experimental results show that our proposed method improves the performance by determining appropriate tokenizations.

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

↑