ACL Findings2021
Joint Optimization of Tokenization and Downstream Model
Tatsuya Hiraoka, Sho Takase, Kei Uchiumi, Atsushi Keyaki, Naoaki Okazaki
Abstract
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.
Ask Lune
Ask anything. The answer quotes the paper.
Lune reads all of it and the papers around it, then shows you the passages behind every answer.
Lune answers from
the full paper · 2 top-tier papers that cite it · related work
Free to start. No credit card required.
Cited by top-tier papers2
Builds on4
- Finding the Optimal Vocabulary Size for Neural Machine TranslationThamme Gowda, Jonathan MayEMNLP Findings 2020 · 44 citations
- Dynamic Programming Encoding for Subword Segmentation in Neural Machine TranslationXuanli He, Gholamreza Haffari, Mohammad NorouziACL 2020 · 33 citations
- BPE-Dropout: Simple and Effective Subword RegularizationIvan Provilkov, Dmitrii Emelianenko, Elena VoitaACL 2020 · 17 citations
- Optimizing Word Segmentation for Downstream TaskTatsuya Hiraoka, Sho Takase, Kei Uchiumi, Atsushi Keyaki et al.EMNLP Findings 2020 · 13 citations
Related papers
- End-to-End Vision Tokenizer TuningWenxuan Wang, Fan Zhang, Yufeng Cui, Haiwen Diao et al.NeurIPS 2025 · 6 citations
- Tokenization Impacts Multilingual Language Modeling: Assessing Vocabulary Allocation and Overlap Across LanguagesTomasz Limisiewicz, Jirí Balhar, David MarecekACL Findings 2023 · 8 citations
- Enhancing Large Language Models through Adaptive TokenizersMengyu Zheng, Hanting Chen, Tianyu Guo, Chong Zhu et al.NeurIPS 2024 · 11 citations
- How Good is Your Tokenizer? On the Monolingual Performance of Multilingual Language ModelsPhillip Rust, Jonas Pfeiffer, Ivan Vulic, Sebastian Ruder et al.ACL 2021
- Unpacking Tokenization: Evaluating Text Compression and its Correlation with Model PerformanceOmer Goldman, Avi Caciularu, Matan Eyal, Kris Cao et al.ACL Findings 2024 · 12 citations
